-
Notifications
You must be signed in to change notification settings - Fork 20
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
Build fail on node quits badly. #763
Comments
Ok Ok, I get it now. You aren't moving the build dir to the fail dir, you're moving the build dir to the fail dir to the test directory/build. Ok, but why even move it to fail dir then? Just, if the build fails, move it to the test_dir/build. It's annoying that ccmake doesn't work because that's a convenient way to look at the config. But the raw CmakeCache.txt is just as good (I forgot they were the same thing). Still, the fact that it keeps going after the build fails is bad and doesn't provide the correct info to the user. And it's weird that it writes BUILD_CREATED to status after RESULTS_ERROR several times. Not a definite number of times but somewhere between 2 and 6. |
Wait, no. It adds a BUILD_CREATED line each time you 1712973075.890722 BUILD_CREATED Builder created.
1712973079.961097 BUILD_CREATED Builder created.
1712973083.182661 BUILD_CREATED Builder created.
1712973100.436680 BUILD_CREATED Builder created.
1712973104.653990 BUILD_CREATED Builder created.
1712973107.683803 BUILD_CREATED Builder created.
1712973110.989965 BUILD_CREATED Builder created.
1712973116.880021 BUILD_CREATED Builder created.
1712973125.673175 BUILD_CREATED Builder created.
1712973134.203118 BUILD_CREATED Builder created.
1712973137.567348 BUILD_CREATED Builder created.
1712973140.363867 BUILD_CREATED Builder created.
1712973144.783790 BUILD_CREATED Builder created.
1712973150.634879 BUILD_CREATED Builder created.
1712973155.402243 BUILD_CREATED Builder created. What? And then I wrote this and went back and catted it again and yep there was only one more despite a minute passing. |
Build on a node and the build fails but the status file looks like:
And then the build directory never gets moved to the 'failed' build directory and there's no record of the build anywhere. So if you go into test_runs/{number}/build/build you can't use ccmake to examine the artifacts. The build.log exists though.
Also, it doesn't stop the other builds. Perhaps there should be a 'fail_all` option for the build (and run) key where, if it's set, one build fail causes all runs to fail and if it isn't, they all act independently so build failures don't stop the series.
I think the solution would be to have it do what it seems it intends to and:
But the second part of that is debatable. I think it's better to have the default setting be: don't kill other jobs if one fails, but that should be an option.
Also, we can see here that the run fails (of course, there's no binary), but it still continues and only throws an error at the results stage. That's dubious.
The text was updated successfully, but these errors were encountered: