Hello. I cannot seem to build anything in Koji on rawhide:
https://koji.fedoraproject.org/koji/taskinfo?taskID=70951996 https://koji.fedoraproject.org/koji/taskinfo?taskID=70952148 https://koji.fedoraproject.org/koji/taskinfo?taskID=70952494
The rebuildSRPM (noarch) job fails with:
BuildrootError: could not init mock buildroot, mock exited with status 250; see root.log for more information
The log has:
DEBUG util.py:542: Executing command: ['/usr/sbin/userdel', '-r', '-f', 'mockbuild'] 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', 'LD_PRELOAD': '/var/tmp/tmp.mock.vf3hjs0h/$LIB/nosync.so'} and shell False DEBUG util.py:444: userdel: user 'mockbuild' does not exist DEBUG util.py:598: Child return code was: 6 DEBUG util.py:624: child environment: None DEBUG util.py:542: Executing command: ['/usr/sbin/groupdel', 'mock'] 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', 'LD_PRELOAD': '/var/tmp/tmp.mock.vf3hjs0h/$LIB/nosync.so'} and shell False DEBUG util.py:444: groupdel: group 'mock' does not exist DEBUG util.py:598: Child return code was: 6 DEBUG util.py:624: child environment: None DEBUG util.py:542: Executing command: ['/usr/sbin/groupadd', '-g', '425', 'mock'] 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', 'LD_PRELOAD': '/var/tmp/tmp.mock.vf3hjs0h/$LIB/nosync.so'} and shell False DEBUG util.py:598: Child return code was: 0 DEBUG util.py:624: child environment: None DEBUG util.py:542: Executing command: ['/usr/sbin/useradd', '-o', '-m', '-u', '1000', '-g', '425', '-d', '/builddir', '-n', 'mockbuild'] 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', 'LD_PRELOAD': '/var/tmp/tmp.mock.vf3hjs0h/$LIB/nosync.so'} and shell False DEBUG util.py:444: munmap_chunk(): invalid pointer DEBUG util.py:598: Child return code was: -6
I see that successful builds have:
DEBUG util.py:542: Executing command: ['/usr/sbin/userdel', '-r', '-f', 'mockbuild'] 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', 'LD_PRELOAD': '/var/tmp/tmp.mock.9u759_3t/$LIB/nosync.so'} and shell False DEBUG util.py:444: userdel: user 'mockbuild' does not exist DEBUG util.py:598: Child return code was: 6 DEBUG util.py:624: child environment: None DEBUG util.py:542: Executing command: ['/usr/sbin/groupdel', 'mock'] 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', 'LD_PRELOAD': '/var/tmp/tmp.mock.9u759_3t/$LIB/nosync.so'} and shell False DEBUG util.py:444: groupdel: group 'mock' does not exist DEBUG util.py:598: Child return code was: 6 DEBUG util.py:624: child environment: None DEBUG util.py:542: Executing command: ['/usr/sbin/groupadd', '-g', '425', 'mock'] 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', 'LD_PRELOAD': '/var/tmp/tmp.mock.9u759_3t/$LIB/nosync.so'} and shell False DEBUG util.py:598: Child return code was: 0 DEBUG util.py:624: child environment: None DEBUG util.py:542: Executing command: ['/usr/sbin/useradd', '-o', '-m', '-u', '1000', '-g', '425', '-d', '/builddir', '-n', 'mockbuild'] 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', 'LD_PRELOAD': '/var/tmp/tmp.mock.9u759_3t/$LIB/nosync.so'} and shell False DEBUG util.py:598: Child return code was: 0
So this is likely a problem with /usr/sbin/useradd
/usr/sbin/useradd
It looks like the cause is shadow-utils-4.8.1-13.fc35 build, which corresponds to dist-git commit c5fd8d4a0a703f07b39e23909e7e5a4b4ef30592
I've opened a bugzilla about the issue. https://bugzilla.redhat.com/show_bug.cgi?id=1976809
In the meantime, whoever has the rights to do so, please untag the shadow-utils-4.8.1-13.fc35 build.
Appears untagged, thanks.
Mon Jun 28 11:47:55 2021 shadow-utils-4.8.1-13.fc35 untagged from f35 by humaton
Lets see if that fixes the issue.
It does.
Metadata Update from @churchyard: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.