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

DEBUG: ERROR: can't access '/var/lib/mock'

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • None
    • None
    • False
    • None
    • False
    • Testable

      See https://centos.softwarefactory-project.io/zuul/t/centos/build/718a0c816cad4f9ca8a51657335d0c96

      Build is failing with mock errors:

       
       

      2024-04-04 16:40:06.745706 | cloud-host | Finish: chroot init

       

      2024-04-04 16:40:06.755572 | cloud-host | Start: buildsrpm

       

      2024-04-04 16:40:06.791912 | cloud-host | Start: rpmbuild -bs

       

      2024-04-04 16:40:06.800830 | cloud-host | INFO: ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mcelog.spec'], chrootPath='/var/lib/mock/centos-stream-9-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>
      007"', 'PS1': '<mock-chroot> \\s-\\v
      $ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f7f14af4710>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)

       

      2024-04-04 16:40:06.804212 | cloud-host | DEBUG: child environment: None

       

      2024-04-04 16:40:06.804302 | cloud-host | DEBUG: Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mcelog.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>
      007"', 'PS1': '<mock-chroot> \\s-\\v
      $ ', 'LANG': 'C.UTF-8'} and shell False

       

      2024-04-04 16:40:06.847453 | cloud-host | DEBUG: error: Bad source: /builddir/build/SOURCES/mcelog-198.tar.gz: No such file or directory

       

      2024-04-04 16:40:06.849910 | cloud-host | DEBUG: Building target platforms: x86_64

       

      2024-04-04 16:40:06.849935 | cloud-host | DEBUG: Building for target x86_64

       

      2024-04-04 16:40:06.850272 | cloud-host | DEBUG: Child return code was: 1

       

       

      2024-04-04 16:40:06.851472 | cloud-host | Traceback (most recent call last):

       

      2024-04-04 16:40:06.851476 | cloud-host | File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace

       

      2024-04-04 16:40:06.851480 | cloud-host | result = func(*args, **kw)

       

      2024-04-04 16:40:06.851488 | cloud-host | ^^^^^^^^^^^^^^^^^

       

      2024-04-04 16:40:06.851492 | cloud-host | File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status

       

      2024-04-04 16:40:06.851495 | cloud-host | raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)

       

      2024-04-04 16:40:06.851499 | cloud-host | mockbuild.exception.Error: Command failed:

       

      2024-04-04 16:40:06.851502 | cloud-host | # bash --login -c '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mcelog.spec'

       

      2024-04-04 16:40:06.851505 | cloud-host |

       

      2024-04-04 16:40:06.851614 | cloud-host | Finish: rpmbuild -bs

      2024-04-04 16:40:06.856553 | cloud-host | Finish: buildsrpm

              Unassigned Unassigned
              prarit@redhat.com Prarit Bhargava
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: