Kitware / CDash

An open source, web-based software testing server
http://www.cdash.org/
Other
218 stars 76 forks source link

cdash_worker terminating after it has parsed a submission with exit status 12 #1820

Open ghost opened 1 year ago

ghost commented 1 year ago

Bug report

Expected Behavior

I expect cdash_worker to process all submissions and keep running being available as needed.

Actual Behavior

Running docker start cdash_worker starts the container, makes it re-parse the same submission over again, at the end of which it terminates with exit code 12.

CDash Version

77410d7028b982db822dfd609f35d57efbbc46bc

Additional Information

I am not sure how cdash_worker is expected to work. What does exit code 12 even mean?

UPD: I have tweaked docker-compose to restart cdash_worker on failure, and seemingly it "kind of works", but I am still not convinced that this is how it should work.

zackgalbreath commented 1 year ago

Are there any error messages emitted while parsing the (seemingly) problematic submission before the cdash_worker container dies?

ghost commented 1 year ago

Are there any error messages emitted while parsing the (seemingly) problematic submission before the cdash_worker container dies?

I am not sure that this particular submission is the reason for container termination. It seems to terminate at the end of parsing any submission. I actually worked around this by just setting restart:on-failure in docker-compose, although it is clearly a hack.

And I see no error messages in cdash_worker's logs, beyond it complaining that some files are not attributed to any subproject.