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

Rebase fails due to a missing file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.14
    • openshift-4.14
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • uShift Sprint 233

      Description of problem:

      Failing rebase in 4.14

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

      4.14

      How reproducible:

      100%

      Steps to Reproduce:

      Automatic MicroShift rebase in the main branch

      Actual results:

      2023-03-13 05:30:50,706     DEBUG      Copying assets/components/lvms/topolvm-controller_rbac.authorization.k8s.io_v1_role.yaml <- _output/staging/lvms/amd64/topolvm-controller_rbac.authorization.k8s.io_v1_role.yamlTraceback (most recent call last):  File "/go/src/github.com/openshift/microshift/scripts/auto-rebase/handle-assets.py", line 131, in <module>    main()  File "/go/src/github.com/openshift/microshift/scripts/auto-rebase/handle-assets.py", line 124, in main    handle_dir(asset)  File "/go/src/github.com/openshift/microshift/scripts/auto-rebase/handle-assets.py", line 105, in handle_dir    handle_file(f, dst, new_src_prefix)  File "/go/src/github.com/openshift/microshift/scripts/auto-rebase/handle-assets.py", line 89, in handle_file    copy(src, dst)  File "/go/src/github.com/openshift/microshift/scripts/auto-rebase/handle-assets.py", line 52, in copy    shutil.copyfile(src, dst)  File "/usr/lib64/python3.6/shutil.py", line 120, in copyfile    with open(src, 'rb') as fsrc:FileNotFoundError: [Errno 2] No such file or directory: '_output/staging/lvms/amd64/topolvm-controller_rbac.authorization.k8s.io_v1_role.yaml'Script exited with error.

      Expected results:

      Rebase to pass

      Additional info:

      See
      - https://github.com/openshift/microshift/pull/1493
      - https://github.com/openshift/microshift/blob/8858094c05a416f175e29bfc10573d7fe7860c39/rebase_sh.log

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

                Created:
                Updated:
                Resolved: