ACRG-Bristol / acrg

Repository containing ACRG analysis code
MIT License
8 stars 0 forks source link

Hbmcmc tests intermittent failure #111

Open rt17603 opened 3 years ago

rt17603 commented 3 years ago

Original report by Rachel Tunnicliffe (Bitbucket: rt17603, GitHub: rt17603).


When running the tests, some tests from test_hbmcmc sometimes fail based on the existence of some files:

FAILED tests/test_hbmcmc.py::test_hbmcmc_inputs - FileNotFoundError: [Errno 2] No such file or directory: '/home/rt17603/acrg/tests/files/output/CH4_EUROPE_pytest-deleteifpresent_2014-02-01.nc'
FAILED tests/test_hbmcmc.py::test_hbmcmc_inputs_command_line - FileNotFoundError: [Errno 2] No such file or directory: '/home/rt17603/acrg/tests/files/output/CH4_EUROPE_pytest-deleteifpresent_2014-02-01.nc'
FAILED tests/test_hbmcmc.py::test_hbmcmc_output_exists - AssertionError: assert False
FAILED tests/test_hbmcmc.py::test_hbmcmc_rerunoutput - FileNotFoundError: [Errno 2] No such file or directory: b'/home/rt17603/acrg/tests/files/output/CH4_EUROPE_pytest-deleteifpresent_2014-02-01.nc'

This does not seem to occur every time the tests are run, but have occurred multiple times for me.