Uploaded image for project: 'CentOS Stream Pipeline'
  1. CentOS Stream Pipeline
  2. CS-2090

koji set-build-volume throws errors for some builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • Infrastructure
    • None
    • False
    • None
    • False
    • Testable

      I've been moving a bunch of builds to the second volume. But it doesn't work for some builds:

      $ koji -p stream set-build-volume -v koji02 kernel-4.18.0-483.el8
      2024-04-23 10:52:20,857 [ERROR] koji: Fault: <Fault 1: "<class 'OSError'>: [Errno 39] Directory not empty: '/mnt/kojishare/koji/packages/kernel/4.18.0/483.el8'">
      

      And running the same again after that fails with a different error:

      $ koji -p stream set-build-volume -v koji02 kernel-4.18.0-483.el8
      2024-04-23 10:52:51,693 [ERROR] koji: GenericError: Destination directory exists: /mnt/kojishare/koji/vol/koji02/packages/kernel/4.18.0/483.el8
      

      So it looks like it started the move, but failed for whatever reason.

      BTW if a build has already been moved, there's a proper message for that. So this is an actual error.

      $ koji -p stream set-build-volume -v koji02 kernel-4.18.0-383.el8
      Build kernel-4.18.0-383.el8 already on volume koji02
      

      Many other builds work, so this isn't blocking. But we might want to have a look at what's going on.

            farrotin@redhat.com Fabian Arrotin
            asamalik@redhat.com Adam Samalik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: