-
Notifications
You must be signed in to change notification settings - Fork 536
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
BN test fails sporadically #1473
Comments
seems that the BN stack strings extraction is flakey. maybe there's a race or some other non-determinism. @xusheng6 thoughts? |
We have made some improvements to the stack string detection. The old code is unaware of it and fails. I will update the code and fix this |
ahh, thats right, there's been a BN release. im used to our deps being pinned, so without action, tests usually don't start failing. i will add an additional BN test that asserts the current expected version and can highlight when an update is released and may break tests. |
It should not be too hard to leverage the new stack string detection in BN and fix the test for capa. However, I have some work at hand and cannot work on it immediately. On the other hand, I know it could be quite annoying to block your automated tests. Luckily, there is a workaround for it: disable the Here is an example on how to disable (and then turn back on) a BN setting: https://github.com/mandiant/capa/blob/master/tests/fixtures.py#L169-L176. So @williballenthin if you think it is urgent to fix the failure and unblock the CI, you can add a few lines of code to disable the setting (there is even no need to turn it back on). Otherwise, if you are fine with waiting for me for a few days, I can fix the issue within the week |
no worries, we'll work on this shortly! |
I am getting back to this and will check out the current status of it |
this is still occurring, see e.g. https://github.com/mandiant/capa/actions/runs/5258849447/jobs/9503659030
|
This is weird, I will have a look at it later. |
I cannot reproduce this locally. Though I am testing on a macOS now. I will grab the headless build and try it on my Linux box |
Should we xfail/disable this binary ninja test for now? |
Sorry I have not taken the time to look at this. Been busy with other tasks. Sorry for the inconvenience. I know it does not feel good if the CI always fails. I have no objection on disabling it for now. I will set up my own CI on GitHub and see why is actually going on. |
No worries, we know you're busy. I'll disable this for now. |
temporarily skip stack string test, while we wait for #1473
temporarily skip stack string test, while we wait for #1473
@williballenthin I think this issue can be closed since we have merged #1669 |
thanks! |
see for example https://github.com/mandiant/capa/actions/runs/4883990091/jobs/8716121459
The text was updated successfully, but these errors were encountered: