coreos / coreos/coreos-assembler

Test `rhcos.upgrade.from-ocp-rhcos` fails with downgraded version of skopeo

Open
#3,842 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
393
Forks
193
Avg merge
17h 6m
Merged PRs (30d)
5

Description

[4.15-9.2][x86_64] builds fail with outdated version of skopeo.

[2024-08-07T10:21:59.903Z] --- FAIL: rhcos.upgrade.from-ocp-rhcos (100.59s)
[2024-08-07T10:21:59.903Z]     --- PASS: rhcos.upgrade.from-ocp-rhcos/setup (40.09s)
[2024-08-07T10:21:59.903Z]     --- PASS: rhcos.upgrade.from-ocp-rhcos/upgrade (20.99s)
[2024-08-07T10:21:59.903Z]     --- PASS: rhcos.upgrade.from-ocp-rhcos/verify-upgrade (0.17s)
[2024-08-07T10:21:59.903Z]     --- FAIL: rhcos.upgrade.from-ocp-rhcos/verify-no-pkg-downgrades (0.12s)
[2024-08-07T10:21:59.903Z]             upgrade.go:259: Downgraded packages found:
[2024-08-07T10:21:59.903Z]     ostree diff commit from: rollback deployment (161ea926f3e762863717dee33c209afc6415232fa3e15e3e2061fdab3e720308)
[2024-08-07T10:21:59.903Z]     ostree diff commit to:   booted deployment (44c4c1619ca19007c8788ae902b1dd0fb2d82f8e550ddd9034563b6076339b80)
[2024-08-07T10:21:59.903Z]     Upgraded:
[2024-08-07T10:21:59.903Z]       NetworkManager 1:1.42.2-21.el9_2 -> 1:1.42.2-24.el9_2
[2024-08-07T10:21:59.903Z]       NetworkManager-cloud-setup 1:1.42.2-21.el9_2 -> 1:1.42.2-24.el9_2
[2024-08-07T10:21:59.903Z]       NetworkManager-libnm 1:1.42.2-21.el9_2 -> 1:1.42.2-24.el9_2
[2024-08-07T10:21:59.903Z]       NetworkManager-ovs 1:1.42.2-21.el9_2 -> 1:1.42.2-24.el9_2
[2024-08-07T10:21:59.903Z]       NetworkManager-team 1:1.42.2-21.el9_2 -> 1:1.42.2-24.el9_2
[2024-08-07T10:21:59.903Z]       NetworkManager-tui 1:1.42.2-21.el9_2 -> 1:1.42.2-24.el9_2
[2024-08-07T10:21:59.903Z]       conmon 3:2.1.7-11.2.rhaos4.15.el9 -> 3:2.1.7-13.rhaos4.15.el9
[2024-08-07T10:21:59.903Z]       cri-o 1.28.8-2.rhaos4.15.gitfcaab07.el9 -> 1.28.9-4.rhaos4.15.git674ed4c.el9
[2024-08-07T10:21:59.903Z]       cri-tools 1.28.0-3.2.el9 -> 1.28.0-5.el9
[2024-08-07T10:21:59.903Z]       ignition 2.16.2-2.2.rhaos4.15.el9 -> 2.16.2-4.rhaos4.15.el9
[2024-08-07T10:21:59.903Z]       kernel 5.14.0-284.75.1.el9_2 -> 5.14.0-284.77.1.el9_2
[2024-08-07T10:21:59.903Z]       kernel-core 5.14.0-284.75.1.el9_2 -> 5.14.0-284.77.1.el9_2
[2024-08-07T10:21:59.903Z]       kernel-modules 5.14.0-284.75.1.el9_2 -> 5.14.0-284.77.1.el9_2
[2024-08-07T10:21:59.903Z]       kernel-modules-core 5.14.0-284.75.1.el9_2 -> 5.14.0-284.77.1.el9_2
[2024-08-07T10:21:59.903Z]       kernel-modules-extra 5.14.0-284.75.1.el9_2 -> 5.14.0-284.77.1.el9_2
[2024-08-07T10:21:59.903Z]       openshift-clients 4.15.0-202407120337.p0.g1e41aa3.assembly.stream.el9 -> 4.15.0-202408062218.p0.g1e41aa3.assembly.stream.el9
[2024-08-07T10:21:59.903Z]       openshift-hyperkube 4.15.0-202407030938.p0.gadd48d0.assembly.stream.el9 -> 4.15.0-202408070540.p0.g396c881.assembly.stream.el9
[2024-08-07T10:21:59.904Z]       openvswitch3.1 3.1.0-104.el9fdp -> 3.1.0-118.el9fdp
[2024-08-07T10:21:59.904Z]       ose-aws-ecr-image-credential-provider 4.15.0-202406110206.p0.g1e5e25d.assembly.stream.el9 -> 4.15.0-202408062218.p0.g1e5e25d.assembly.stream.el9
[2024-08-07T10:21:59.904Z]       podman 3:4.4.1-26.2.rhaos4.15.el9 -> 3:4.4.1-28.rhaos4.15.el9
[2024-08-07T10:21:59.904Z]       runc 4:1.1.12-1.2.rhaos4.15.el9 -> 4:1.1.13-3.rhaos4.15.el9
[2024-08-07T10:21:59.904Z]     Downgraded:
[2024-08-07T10:21:59.904Z]       skopeo 2:1.11.3-0.1.rhaos4.15.el9 -> 2:1.11.2-0.1.el9

The latest available version of skopeo-1.11.3-2.rhaos4.15.el9__x86_64__fd431d51/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the rhcos.upgrade.from-ocp-rhcos test and upgrade.go, focusing on the verify-no-pkg-downgrades failure. Review the reported skopeo versions and the referenced artifact URL, then rerun the test after identifying the outdated package source. Done means the upgrade test no longer reports a skopeo downgrade.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.