coreos / fedora-coreos-pipeline

Build pipeline for Fedora CoreOS

Home Page:https://jenkins-fedora-coreos.apps.ocp.ci.centos.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

readlink after `cosa build` inexplicably failed

jlebon opened this issue · comments

Just saw this failure go by:

[fedora-coreos-fedora-coreos-pipeline] Running shell script
+ set -euo pipefail
+ readlink builds/latest
...
[Pipeline] echo
:fcos: :trashfire: [testing-devel] <https://jenkins-fedora-coreos.apps.ci.centos.org/job/fedora-coreos/job/fedora-coreos-fedora-coreos-pipeline/11318/|11318> - FAILURE

This is after doing a no-op cosa build. Seems like the readlink failed? But we know that builds/latest must've existed because we also readlink before doing cosa build and that didn't fail:

[Pipeline] // stage
[Pipeline] sh
[fedora-coreos-fedora-coreos-pipeline] Running shell script
+ set -euo pipefail
+ test -e builds/latest
[Pipeline] sh
[fedora-coreos-fedora-coreos-pipeline] Running shell script
+ set -euo pipefail
+ readlink builds/latest
[Pipeline] stage
[Pipeline] { (Build)

Hmm, so somehow cosa build wiped the builds/latest symlink?

Still seeing this failure pop up once in a while.

Haven't seen this in a long time so closing.. Re-open if still an issue.