nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 395 forks source link

Non-zero exit code with no test failures #1067

Open alubbock opened 6 years ago

alubbock commented 6 years ago

I'm getting a non-zero exit code when all tests either pass or are skipped. Using Miniconda on Appveyor/Windows 64bit/Python 3.6/nose 1.3.7. The exact error looks like:

nosetests build/lib/pysb -a "!gpu"
.....................................S.............................................................................................................................................................................................
----------------------------------------------------------------------
Ran 227 tests in 193.447s
OK (SKIP=1)
Command exited with code -1073740791

The full context is given in the appveyor build log.

There is possibly some underlying non-nose-related issue, given the details from the Windows event log below from a second or two before nose exits (any help with that much appreciated), but nevertheless nose's exit code seems like it should reflect the test result pass.

Faulting application name: python.exe, version: 3.6.3150.1013, time stamp: 0x5a038fa5
Faulting module name: ucrtbase.DLL, version: 10.0.10240.16384, time stamp: 0x559f3851
Exception code: 0xc0000409
Fault offset: 0x0000000000064388
Faulting process id: 0x7a8
Faulting application start time: 0x01d37111c2577364
Faulting application path: C:\Miniconda36-x64\envs\test-environment\python.exe
Faulting module path: C:\Miniconda36-x64\envs\test-environment\ucrtbase.DLL
Report Id: 8914f371-dd05-11e7-81d9-00155d57f57b
Faulting package full name: 
Faulting package-relative application ID: