Test `DeterministicEventBasedMixinTestCase.test_deterministic_job_completes` causes CI build to hang
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When running this test in isolation (from the Jenkins workspace dir), celeryd spits out this:
http://
Here is the code of the test:
http://
This test isn't really providing much value. Nothing is actually being tested; we're just running it to see if the calculator runs to completion without blowing up.
Additionally, the test job being run is using a copy of some old 'smoketest' sample files, which were recently determined obsolete and were deleted. The copy of the job data is here: https:/
My suggestion is that we skip or delete this test (since it isn't really providing any value) and replace with a proper QA in the near future. (Note: The QA tests that we have implemented so far are running stably and are providing good value.)
Changed in openquake: | |
status: | New → Invalid |
Okay, so apparently these results are a bit misleading. I was running celeryd from the wrong dir (but I was still able to pick up the /usr/openquake/ celeryconfig. py, which should be deleted).
My point about removing/ skipping/ revising these tests still stands; we're running with obsolete data so it should all be replaced with new input and proper QA tests.