Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1707 Regression: pkghandler.update_rhel_kernel called too early
  3. RHELC-1708

Regression: pkghandler.update_rhel_kernel called too early - Integration tests

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 2.1.0
    • None
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • 3
    • Testable

      The parent issue RHELC-1707 has the label that triggered autocreation of this subtask to track the relative story point estimation for the integration test part of the issue.

      The parent issue description at the time of creation of this issue was:
      There was a regression introduced in the Port pkghandler.preserve_only_rhel_kernel() to Action framework PR. The update of the RHEL kernel is called in a wrong place, not being able to update said package and causing an outdated kernel to be set as a default after the conversion.
      Breakdown of what's going on:

      1. installed original kernel(a) version == latest RHEL kernel(b) version
      2. RHEL kerne(b)l cannot be replaced/installed during the main transaction due to the conflicting version
      3. we try to install an older version of the kernel(c)
      4. update of the kernel(c) is attempted unsuccessfully because the latest version is already (read still) installed in the form of the original vendor kernel(a)
      5. the conflicting original kernel(a) is removed
      6. an older kernel(c) is set as a default

      In reality, steps 4 and 5 should be the other way around.

      This line is the suspected culprit.

      A log example https://artifacts.osci.redhat.com/testing-farm/a4cb22b9-1a39-4bba-8cda-9fb786dbf350/work-host-meteringirhhf1f0/plans/tier1/destructive/host-metering/execute/data/guest/default-0/tests/integration/tier1/destructive/host-metering/test_host_metering_conversion-1/output.txt

              ddiblik@redhat.com Daniel Diblik
              rhel-process-autobot RHEL Jira bot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: