#2189345: run-tests.sh should exit with a failure code if any tests failed was recently committed to HEAD and that caused issues with test results. Every time any test fails, the results were not showing I believe. I'm not entirely sure that the issue is at this point but it would be good if someone could take a look.
Comments
Comment #1
benjy commentedComment #2
benjy commentedComment #3
benjy commentedHere is the last run where we compared the current behaviour to the new one after run-tests exits with the correct status. https://www.drupal.org/node/2189345#comment-10524614
Comment #4
sanduhrsBumping the priority to (hopefully) get some attention.
Comment #6
isntall commentedWe have made a branch to address this in drupalci here is the run
https://dispatcher.drupalci.org/job/staging_simpletest_job/323/console
Comment #7
sanduhrsThanks a lot!
So, the script seems to run fine, but jenkins throws an error at the end:
Can we do anything to fix this?
Also it differs from the error in the last test run from #2189345: run-tests.sh should exit with a failure code if any tests failed where it says:
Any ideas?
Comment #8
Mixologic@sanduhrs: that NPE error is a problem with jenkins emailing plugin.. its nothing we can really fix short of patching the java plugin: https://issues.jenkins-ci.org/browse/JENKINS-26740
And, yes, it differs, as the output you are seeing in the other issue is what we're fixing. Drupalci currently aborts processing when it sees an exit status of anything other than 0.
The code in #5 is not in production drupalci yet, its only available for ad hoc test runs that we run internally like #6, to establish that our changes are going to work going forward. Since they appear to be functioning correctly, marking this needs review for eventual merge into the dev branch.
Comment #9
sanduhrsThanks for clarification!
Comment #10
benjy commentedGreat to see people working on this, what are the next steps to getting this to a point where we can re-upload the patches on the other issue and show the output is the same?
Comment #11
basic commented#5 looks good, please merge.
Comment #12
isntall commentedThe patch look good to me.
Comment #13
MixologicThis is deployed to the testbots.
Comment #14
sanduhrsGreat, thanks allot!