Uploaded image for project: 'OpenShift Jenkins'
  1. OpenShift Jenkins
  2. JKNS-420

error: cannot open Packages index using bdb_ro - Operation not permitted

XMLWordPrintable

    • False
    • None
    • False
    • Builds Sprint #5

      Description of problem:

      when using RHEL9 images for jenkins build, there is an error with rpm not able to complete the package install

       

      2024-04-22 07:48:53,424 - atomic_reactor.tasks.binary_container_build - INFO - RPM: warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
      2024-04-22 07:48:53,425 - atomic_reactor.tasks.binary_container_build - INFO - RPM: error: cannot open Packages index using bdb_ro - Operation not permitted (1)
      2024-04-22 07:48:53,427 - atomic_reactor.tasks.binary_container_build - INFO - RPM: error: cannot open Packages database in /var/lib/rpm
      2024-04-22 07:48:53,427 - atomic_reactor.tasks.binary_container_build - INFO - Error: Could not run transaction. 

       

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      PR: https://gitlab.cee.redhat.com/ocp-tools/jenkins-agent-base/-/merge_requests/222

      Jenkins log: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=60673214

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

      • there should be no error in package install using RHEL9 image

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

      I found bugzilla references to the same issue but the hack mentioned there doesn't seem to resolve the issue:

       

       *

            avinkuma@redhat.com Avinal Kumar
            avinkuma@redhat.com Avinal Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: