-
Notifications
You must be signed in to change notification settings - Fork 410
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
Update to wasmvm beta7 #774
Conversation
Codecov Report
@@ Coverage Diff @@
## master #774 +/- ##
==========================================
- Coverage 58.61% 58.59% -0.02%
==========================================
Files 49 50 +1
Lines 5835 5838 +3
==========================================
+ Hits 3420 3421 +1
- Misses 2165 2166 +1
- Partials 250 251 +1
|
With feeccb6 I get At least this is a starting point to investigate. Note that each individual test may pass most of the time. So if you just unskip one and test it, you may need to test it a few times. However, when I remove the
Always on |
Thank you for giving it a try. I have a quick look but not idea what this issue means. |
@@ -672,6 +672,7 @@ func TestExecuteWithNonExistingAddress(t *testing.T) { | |||
} | |||
|
|||
func TestExecuteWithPanic(t *testing.T) { | |||
SkipIfM1(t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These work for me. If I turn this into a noop / remove it, tests pass now.
The error "signal 16 received but handler not on signal stack comes from a low-level (non-Go) dependency. Here's my C compiler for reference:
|
When I check out (c8a7b83) i.e. before the fix, I get the same error as Ethan.
So my target is one minor higher for some reason. In https://github.com/wasmerio/wasmer/blob/2.2.0/lib/vm/src/trap/traphandlers.rs#L45-L88 you see that Wasmer registers a bunch of signal handlers with |
Interesting check with the gcc:
Again: |
We have three choices:
I don't know how long #3 will take, but unless someone has time/energy and can finish it today or early tomorrow, I would rather not block on that. I am okay with both (1) and (2) or even (2) with 4 hours of investigation (time boxed 3) |
I'm fine with (2), especially since there are people who need Wasmer 2.2.0 fixes independent of ARM. |
Great. Can I get an approval on this? Or a concrete list of change requests. |
Just seen your updates. I'm OK with releasing with these tests skipped. This looks like some (trivial?) change that needs to be done in one of the C libraries this stuff depends on. |
Reason being, that I'm not a fan of automatic updates and didn't update my machine yet.
Signal 16 is I would just wait and test again in a couple of days / weeks, as this will probably resolve "on its own". |
I got response from a Wasmer dev who confirms this is a |
CI to test on amd64
On Mac M1,
go build ./...
andmake install
passgo test -count=1 ./x/wasm/client/...
passesgo test -count=1 ./x/wasm/keeper
fails:Narrowing it down:
Note that
go test -v -count=1 ./x/wasm/keeper -run TestExecuteWithCpu
passes about 2 of 3 runs