Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] problems with the ci #163

Open
janrtvld opened this issue Sep 7, 2022 · 1 comment
Open

[ci] problems with the ci #163

janrtvld opened this issue Sep 7, 2022 · 1 comment

Comments

@janrtvld
Copy link
Contributor

janrtvld commented Sep 7, 2022

There are some issues with the CI, mostly with the tests for the rest package.

#FailureMessage Object: 0x7fff9cf91c70 Action run here.
@blu3beri looked into this and it looks like a version issue with the ffi-napi package. For now, running the tests separately seemed to have fixed it.

PoolLedgerInvalidPoolHandle Action run here
This looks like a problem with the ledger that is set up during the tests.

@berendsliedrecht
Copy link
Contributor

A small amount of context about the first error here:

Stacktrace

#
[3550](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3551)
# Fatal error in , line 0
[3551](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3552)
# Check failed: result.second.
[3552](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3553)
#
[3553](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3554)
#
[3554](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3555)
#
[3555](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3556)
#FailureMessage Object: 0x7fff9cf91c70
[3556](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3557)
 1: 0xaa8411  [/opt/hostedtoolcache/node/14.20.0/x64/bin/node]
[3557](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3558)
 2: 0x1a47214 V8_Fatal(char const*, ...) [/opt/hostedtoolcache/node/14.20.0/x64/bin/node]
[3558](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3559)
 3: 0xe9db29 v8::internal::GlobalBackingStoreRegistry::Register(std::shared_ptr<v8::internal::BackingStore>) [/opt/hostedtoolcache/node/14.20.0/x64/bin/node]
[3559](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3560)
 4: 0xbe7778 v8::ArrayBuffer::GetBackingStore() [/opt/hostedtoolcache/node/14.20.0/x64/bin/node]
[3560](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3561)
 5: 0x9f3c80 napi_get_typedarray_info [/opt/hostedtoolcache/node/14.20.0/x64/bin/node]
[3561](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3562)
 6: 0x7ffb0bbec566  [/home/runner/work/aries-framework-javascript-ext/aries-framework-javascript-ext/packages/push-notifications/node_modules/ref-napi/prebuilds/linux-x64/node.napi.node]
[3562](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3563)
 7: 0x7ffb0bbecdad  [/home/runner/work/aries-framework-javascript-ext/aries-framework-javascript-ext/packages/push-notifications/node_modules/ref-napi/prebuilds/linux-x64/node.napi.node]
[3563](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3564)
 8: 0x7ffb300aecd7 FFI::WrapPointerImpl(Napi::Env, char*, unsigned long) [/home/runner/work/aries-framework-javascript-ext/aries-framework-javascript-ext/packages/push-notifications/node_modules/ffi-napi/build/Release/ffi_bindings.node]
[3564](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3565)
 9: 0x7ffb300b097d FFI::FFI::InitializeBindings(Napi::Env, Napi::Object) [/home/runner/work/aries-framework-javascript-ext/aries-framework-javascript-ext/packages/push-notifications/node_modules/ffi-napi/build/Release/ffi_bindings.node]
[3565](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3566)
10: 0x7ffb300b168b FFI::InitializeBindings(Napi::CallbackInfo const&) [/home/runner/work/aries-framework-javascript-ext/aries-framework-javascript-ext/packages/push-notifications/node_modules/ffi-napi/build/Release/ffi_bindings.node]
[3566](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3567)
11: 0x7ffb300b261b Napi::details::CallbackData<Napi::Value (*)(Napi::CallbackInfo const&), Napi::Value>::Wrapper(napi_env__*, napi_callback_info__*) [/home/runner/work/aries-framework-javascript-ext/aries-framework-javascript-ext/packages/push-notifications/node_modules/ffi-napi/build/Release/ffi_bindings.node]
[3567](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3568)
12: 0x9eaa8d  [/opt/hostedtoolcache/node/14.20.0/x64/bin/node]
[3568](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3569)
13: 0xc2641b  [/opt/hostedtoolcache/node/14.20.0/x64/bin/node]
[3569](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3570)
14: 0xc279c6  [/opt/hostedtoolcache/node/14.20.0/x64/bin/node]
[3570](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3571)
15: 0xc28046 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [/opt/hostedtoolcache/node/14.20.0/x64/bin/node]
[3571](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3572)
16: 0x1449039  [/opt/hostedtoolcache/node/14.20.0/x64/bin/node]
[3572](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3573)
Illegal instruction (core dumped)
[3573](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3574)
error Command failed with exit code 132.
[3574](https://github.com/hyperledger/aries-framework-javascript-ext/runs/8136568254?check_suite_focus=true#step:7:3575)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Related issue

node-ffi-napi/ref-napi#54 (comment)

(Related PR) nodejs/node#33321

Problem

Why exactly this is happening is still a bit vague, but it has "nothing" to do with the changes we are making inside the ext repository. It is likely something the size of the tests and therefore running them separately fixes the issue. However this is a lot of speculation and the issue I linked does not really seem to explain exactly what is the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants