containers / bootc

Boot and upgrade via container images
https://containers.github.io/bootc/
Apache License 2.0
789 stars 84 forks source link

test: add ostree-rs-ext version-skew test #818

Closed henrywang closed 1 month ago

henrywang commented 1 month ago

Test comes from issue https://github.com/containers/bootc/issues/800.

Both rpm-ostree and bootc bump ostree-rs-ext. This test is to avoid version-skew issue.

Test already catch this issue in our CI in rpm-ostree status test (https://artifacts.dev.testing-farm.io/00c7ce6c-d233-448f-891f-4fb484d4d710/) , but I did not failed this test. Let's enabled the error checking there.

TASK [check rpm-ostree status] *************************************************
changed: [guest] => changed=true 
  cmd:
  - rpm-ostree
  - status
  delta: '0:00:00.140106'
  end: '2024-09-19 20:38:24.470069'
  msg: ''
  rc: 0
  start: '2024-09-19 20:38:24.329963'
  stderr: ''
  stderr_lines: <omitted>
  stdout: |-
    State: idle
    Deployments:
    ● (error fetching image metadata)
                    Timestamp: 2024-09-19T20:32:03Z
  stdout_lines: <omitted>