Open msehnout opened 4 years ago
Worth mentioning: osbuild-composer "survived" the issue, the queue loaded eventually and the image has been created.
Indeed, jobStatus
can be nil
when api.workers.JobStatus
returns an error, which is ignored in the line above.
I tried reproducing this but failed. There must be some kind of race condition...
I tried to write a script to trigger it, but failed as well. Only cockpit was able to do it for me.
Reported output:
How I triggered the issue:
Affected code: https://github.com/osbuild/osbuild-composer/blob/0e7a1dd4075d311e39de77959ea57f8bc5d7ccb0/internal/weldr/api.go#L205