For some reason, we were seeing this error in the Jenkins console output:
nosetests: error: no such option: --with-xunit
Of course, the first thing to do is to google the problem. Why doesn't nose like this parameter any more? Maybe we updated versions, and now it's no longer accepted.
Well, unfortunately, that's not the case.
nosetests --help
Tells me:
--with-xunit Enable plugin Xunit: This plugin provides test results
in the standard XUnit XML format. [NOSE_WITH_XUNIT]
Doh, that's not it. However, scrolling up a few lines in the jenkins console output, I see that one of our
python setup.py develop
commands was failing miserably, but the error wasn't being caught.
I saw this in the console output:
Couldn't find index page for 'our_thing' (maybe misspelled?) No local packages or download links found for our-thing error: Could not find suitable distribution for Requirement.parse('our-thing')
Fixed that problem, and nosetest were back in business. Of course, we had lots of broken tests, because the nosetests error wasn't being caught as a failure by Jenkins. Stupidity on top of idiocy.
<sigh>