Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-3725

Bootc builds are failing due to wrong RHOCP version selection

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • uShift Sprint 256

      Description of problem:

      Bootc builds are failing due to wrong RHOCP version selection

      Version-Release number of selected component (if applicable):

      4.17

      How reproducible:

      100%

      Steps to Reproduce:

      ./test/bin/build_bootc_images.sh -l ./test/image-blueprints/layer5-bootc/ 

      Actual results:

      01:44:36.705365180 Task <Future at 0x7f388406f8e0 state=finished returned NoneType> completed
      01:44:36.705419301 Task <Future at 0x7f3884065ac0 state=finished returned NoneType> completed
      01:44:36.705427885 Task <Future at 0x7f388406fca0 state=finished returned NoneType> completed
      01:44:36.705440044 Task <Future at 0x7f388406fd90 state=finished raised CalledProcessError> completed
      01:44:36.705566406 An error occurred: Command 'sudo podman build --authfile /home/ec2-user/.pull-secret.json -t rhel94-bootc-source -f /home/ec2-user/microshift/test/image-blueprints/layer5-bootc/group1/rhel94-bootc-source.containerfile /home/ec2-user/microshift/_output/test-images' returned non-zero exit status 1.
      concurrent.futures.process._RemoteTraceback: 
      """
      Traceback (most recent call last):
        File "/usr/lib64/python3.9/concurrent/futures/process.py", line 246, in _process_worker
          r = call_item.fn(*call_item.args, **call_item.kwargs)
        File "/home/ec2-user/microshift/test/bin/pyutils/build_bootc_images.py", line 295, in process_containerfile
          common.retry_on_exception(3, common.run_command_in_shell, build_args, dry_run, logfile, logfile)
        File "/home/ec2-user/microshift/test/bin/pyutils/common.py", line 226, in retry_on_exception
          return func(*args, **kwargs)
        File "/home/ec2-user/microshift/test/bin/pyutils/common.py", line 126, in run_command_in_shell
          result = subprocess.run(
        File "/usr/lib64/python3.9/subprocess.py", line 528, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command 'sudo podman build --authfile /home/ec2-user/.pull-secret.json -t rhel94-bootc-source -f /home/ec2-user/microshift/test/image-blueprints/layer5-bootc/group1/rhel94-bootc-source.containerfile /home/ec2-user/microshift/_output/test-images' returned non-zero exit status 1.
      """

      Expected results:

      Build must succeed

      Additional info:

       

              ggiguash@redhat.com Gregory Giguashvili
              ggiguash@redhat.com Gregory Giguashvili
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: