coreos-assembler: `coreos.ignition.failure` sometimes fails on RHCOS

coreos.ignition.failure on RHCOS sometimes passes (like it did originally in https://github.com/coreos/coreos-assembler/pull/3647) and sometimes fails with:

--- FAIL: coreos.ignition.failure (37.49s)
        qemufailure.go:63: pattern 'error creating /sysroot/notwritable.txt' in file '/var/tmp/mantle-qemu3926164821/console.log3861977006' not found

like in https://github.com/coreos/coreos-assembler/pull/3668.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (15 by maintainers)

Commits related to this issue

Most upvoted comments

The other thing you could do here is keep the denylist entry but warn: true. That’ll run the test but make it non-fatal so it doesn’t break the pipeline.

There are no console logs for this test in the kola output.

Yeah, that makes sense. The reason is that we’re currently keeping the console.log file as a QEMU builder tempfile. So it gets nuked when the builder gets cleaned. I think instead we can use H.TempFile(), which allocates a tempfile in the output dir of the test.

Let’s fix the console issue first before we turn it back on via warn: true.