Open faddat opened 1 month ago
As can be seen in the test results, we get a pointer error stemming from the internal api of wasmvm a significant portion of the time.
I can also say that after fixing the gas issues that using v2.1.3 poses, this problem still occurs about 5% of the time.
If I had to guess: CGO.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 48.81%. Comparing base (
028261c
) to head (3bdd56a
).
Good find! I'm also able to reproduce this locally on my M1 Macbook. That's really bad. Could it be similar to https://github.com/CosmWasm/wasmvm/issues/536? Except this one seems to happen with the default optimization level. We'll look into this.
The problem is not the continuous integration system. It is all of the binary blobs that sit in the internal folder of wasm VM, and the fact that:
And yes I agree that it is very bad. It means that when merging prs, the process has been to just click retry even though at best there are flaky tests and at worst there's a very serious logic error, but it was chronically ignored.
And the reality is that can actually be seen in the CI system.
It means that when merging prs, the process has been to just click retry even though at best there are flaky tests and at worst there's a very serious logic error, but it was chronically ignored
You are making some very strong claims here that are entirely based on the assumption that we found this bug already before your PR. To my knowledge, this is not the case. Do you have any proof that someone just reran CI to hide such a bug? Because if so, I would like to talk to them about it.
Concerning strong claims -- some of them are by necessity true.
The only one I'm not sure of concerns weather or not the issue is in the tests or
I can assure you (you can believe me or not) that cgo is basically the weak point of any app it is in.
This pull request runs the tests twenty times with a cache and twenty times without a cache on linux and mac, for a grand total of eighty runs of the test suite.
The observed error is always:
This pull request makes no changes to the code in this repository, and simply runs its tests eighty times.