Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-62829

broken-packages check broken in Konflux build of toolbox.

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • toolbox-container
    • None
    • No
    • None
    • 2
    • rhel-sst-display-productivity
    • ssg_display
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • ENGCMP, ENGCMP 3
    • None
    • None
    • None

      From the Dockerfile for toolbox on RHEL 9.5:

      # OSCI-7580 - Commenting out as I was so far unable to make this test work in Konflux
      #RUN broken_packages="$(rpm --all --query --state --queryformat "PACKAGE: %{NAME}\n" \
      #  | sed --quiet --regexp-extended '/PACKAGE: /{s/PACKAGE: // ; h ; b }; /^not installed/ { g; p }' \
      #  | uniq \
      #  | sort)"; \
      #  if [ "$broken_packages" != "" ]; then \
      #    echo "Packages with missing files:" >&2; \
      #    echo "$broken_packages" >&2; \
      #    false; \
      #  fi

      When i was onboarding the container I spent too much time trying to figure it out and we decided to comment it out for now, this ticket is to restore it.

      AC: Try opening MR with this code uncommented and if it works, merge it. If it does not, examine the failure and if you are lost, move this ticket to RHEL project, "toolbox-container" component.

              jpopelka@redhat.com Jiri Popelka
              ckelley@redhat.com Chris Kelley
              Debarshi Ray Debarshi Ray
              Petr Schindler Petr Schindler
              Gabriela Necasova Gabriela Necasova
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: