Hi Fabiano,
The build-previous-qemu job does not work when a new major version is
released:
https://gitlab.com/qemu-project/qemu/-/jobs/9788294494

The previous version computation produces "v10.0.0" when testing:

  $ export QEMU_PREV_VERSION="$(sed 's/\([0-9.]*\)\.[0-9]*/v␁.0/' VERSION)"
  $ git remote add upstream https://gitlab.com/qemu-project/qemu
  $ git fetch upstream refs/tags/$QEMU_PREV_VERSION:refs/tags/$QEMU_PREV_VERSION
  warning: redirecting to https://gitlab.com/qemu-project/qemu.git/
  fatal: couldn't find remote ref refs/tags/v10.0.0

The CI job runs before the v10.0.0 tag is pushed to the repo. (The tag
is only pushed once tests have passed.)

Even if the tag was there and git fetch succeeded, the test would test
migration between v10.0.0 and v10.0.0, which doesn't seem to be the
purpose of the test.

Please adjust the test to handle this situation. For now I will re-run
the job after pushing the final tag (since it already passed for the
release candidate tag).

Thanks!

Stefan

Attachment: signature.asc
Description: PGP signature

Reply via email to