-
Notifications
You must be signed in to change notification settings - Fork 217
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
Weeder: Command exited with code -9 #2695
Comments
On Linux, if a process exits with -9, it's because it's been killed with SIGKILL. Normally builds or processes are stopped with SIGTERM or SIGINT. So I believe this build failure is probably due to the Linux OOM killer running on the Buildkite build agent. It may have been another project's build running at the same time which used all the memory and caused our build to be zapped. This would hopefully be a pretty rare situation. @Anviking If you provide a link to the buildkite job, we examine the grafana host monitoring charts at the time of the build, and perhaps see the cause. |
@rvl FYI they are linked indirectly through github: But e.g. https://buildkite.com/input-output-hk/cardano-wallet/builds/15044 |
I wonder if it's a problem with weeder itself. Because after looking at the logs for packet-ipxe-2, the only jobs running around the same time were:
|
😮 nice finding!
✔️ 🤔 |
Happened again in https://buildkite.com/input-output-hk/cardano-wallet/builds/15563#d800ef36-7911-4a15-aced-2e28621653ce/10267-10269. The weeder step was running for 27 minutes before it was killed. |
After the weeder config fixes, I found this error on Buildkite:
That is due to loading a cached Perhaps the weeder problem is due to corrupted |
2765: Fix weeder 2.x config and remove weeds r=rvl a=rvl ### Issue Number This could fix #2695, I really hope it does. ### Overview I was looking into #2695, running `weeder` locally to see what it could be doing. But it turns out that Weeder has been doing nothing at all since upgrading `weeder` to 2.1.3, which happened when we upgraded to ghc-8.10.4. It needed to have a ghc option added to generate `.hie` files, which I didn't set before. If Weeder can't find `.hie` files, it just reports zero weeds (ocharles/weeder#19). So I have: 1. Fixed the Weeder config for Stack and Cabal. 2. Removed weeds which would have been introduced while weeder wasn't working. 3. Removed weeds found by Weeder 2.x, which were never found by Weeder 1.0.9. ### Comments ``` 49 files changed, 109 insertions(+), 1681 deletions(-) ``` Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Jonathan Knowles <[email protected]>
Context
Test Case
Weeder check
Failure / Counter-example
Resolution
QA
The text was updated successfully, but these errors were encountered: