Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/perl-App-Daemon.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.jI4iDO:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3f1a67b79a3f41e587a29d7c6d62c44a', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.jI4iDO:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/perl-App-Daemon.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/perl-App-Daemon-0.22-6.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/perl-App-Daemon.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.jI4iDO:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3362cedf43af461ca1b7ea5cbbcd0fa4', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.jI4iDO:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/perl-App-Daemon.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2hlYg7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf App-Daemon-0.22 + /usr/bin/gzip -dc /builddir/build/SOURCES/App-Daemon-0.22.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd App-Daemon-0.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod 644 eg/test-daemon eg/test-detach eg/test-fork-daemon + sed -i -e 's!/usr/local!/usr!' eg/test-daemon eg/test-detach eg/test-fork-daemon + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oklmdw + umask 022 + cd /builddir/build/BUILD + cd App-Daemon-0.22 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor BUILDSTDERR: Warning: prerequisite File::Pid 0 not found. Checking if your kit is complete... Looks good Writing Makefile for App::Daemon + make -j4 cp Daemon.pm blib/lib/App/Daemon.pm Manifying blib/man3/App::Daemon.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.l5BrkW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-App-Daemon-0.22-6.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-App-Daemon-0.22-6.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-App-Daemon-0.22-6.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-App-Daemon-0.22-6.el7.i386 + cd App-Daemon-0.22 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-App-Daemon-0.22-6.el7.i386 Manifying blib/man3/App::Daemon.3pm Installing /builddir/build/BUILDROOT/perl-App-Daemon-0.22-6.el7.i386/usr/share/perl5/vendor_perl/App/Daemon.pm Installing /builddir/build/BUILDROOT/perl-App-Daemon-0.22-6.el7.i386/usr/share/man/man3/App::Daemon.3pm + find /builddir/build/BUILDROOT/perl-App-Daemon-0.22-6.el7.i386 -type f -name .packlist -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-App-Daemon-0.22-6.el7.i386/usr + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/App-Daemon-0.22 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. BUILDSTDERR: find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ifxcjn + umask 022 + cd /builddir/build/BUILD + cd App-Daemon-0.22 + make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001Basic.t .... ok t/002Params.t ... ok BUILDSTDERR: # Failed test 'app stop' BUILDSTDERR: # at t/003CmdLine.t line 33. BUILDSTDERR: # got: '256' BUILDSTDERR: # expected: '0' BUILDSTDERR: # Failed test 'app stop again' BUILDSTDERR: # at t/003CmdLine.t line 37. BUILDSTDERR: # got: '1' BUILDSTDERR: # expected: '3' BUILDSTDERR: # Failed test 'status stopped' BUILDSTDERR: # at t/003CmdLine.t line 41. BUILDSTDERR: # got: '0' BUILDSTDERR: # expected: '3' BUILDSTDERR: # Looks like you failed 3 tests of 6. t/003CmdLine.t .. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/6 subtests BUILDSTDERR: t/004Pidfile.t-24> tempfile /tmp/amVsQZeppc.dat created BUILDSTDERR: t/004Pidfile.t-24> tapping '/usr/bin/perl' '-I/builddir/build/BUILD/App-Daemon-0.22/t/../blib/lib' '/builddir/build/BUILD/App-Daemon-0.22/t/../eg/test-fork-daemon' '-l' '/tmp/fJs3C2SKhj/log' '-p' '/tmp/fJs3C2SKhj/pid' '-v' 'start' 2>/tmp/amVsQZeppc.dat | BUILDSTDERR: t/004Pidfile.t-24> Slurping data from /tmp/amVsQZeppc.dat BUILDSTDERR: t/004Pidfile.t-24> Read from /tmp/amVsQZeppc.dat BUILDSTDERR: t/004Pidfile.t-24> tap '/usr/bin/perl' '-I/builddir/build/BUILD/App-Daemon-0.22/t/../blib/lib' '/builddir/build/BUILD/App-Daemon-0.22/t/../eg/test-fork-daemon' '-l' '/tmp/fJs3C2SKhj/log' '-p' '/tmp/fJs3C2SKhj/pid' '-v' 'start' 2>/tmp/amVsQZeppc.dat | results: rc=0 stderr=[] stdout=[] BUILDSTDERR: t/004Pidfile.t-29> Checking for logfile BUILDSTDERR: t/004Pidfile.t-39> Slurping data from /tmp/fJs3C2SKhj/log BUILDSTDERR: t/004Pidfile.t-39> Read (290)[2018.10.10 01.04.08 Proces[snip=238]181 but master pid is 180.] from /tmp/fJs3C2SKhj/log BUILDSTDERR: t/004Pidfile.t-40> Checking logfile for 'waitpid done': [2018/10/10 01:04:08 Process ID is 180 BUILDSTDERR: 2018/10/10 01:04:08 Written to /tmp/fJs3C2SKhj/pid BUILDSTDERR: 2018/10/10 01:04:08 Defining die handler BUILDSTDERR: 2018/10/10 01:04:08 child exits BUILDSTDERR: 2018/10/10 01:04:08 App::Daemon die handler triggered. BUILDSTDERR: 2018/10/10 01:04:08 Die handler called for pid 181 but master pid is 180 BUILDSTDERR: ] BUILDSTDERR: t/004Pidfile.t-39> Slurping data from /tmp/fJs3C2SKhj/log BUILDSTDERR: t/004Pidfile.t-39> Read (363)[2018.10.10 01.04.08 Proces[snip=311].10 01.04.08 parent sleep.] from /tmp/fJs3C2SKhj/log BUILDSTDERR: t/004Pidfile.t-40> Checking logfile for 'waitpid done': [2018/10/10 01:04:08 Process ID is 180 BUILDSTDERR: 2018/10/10 01:04:08 Written to /tmp/fJs3C2SKhj/pid BUILDSTDERR: 2018/10/10 01:04:08 Defining die handler BUILDSTDERR: 2018/10/10 01:04:08 child exits BUILDSTDERR: 2018/10/10 01:04:08 App::Daemon die handler triggered. BUILDSTDERR: 2018/10/10 01:04:08 Die handler called for pid 181 but master pid is 180 BUILDSTDERR: 2018/10/10 01:04:08 parent waitpid done BUILDSTDERR: 2018/10/10 01:04:08 parent sleep BUILDSTDERR: ] BUILDSTDERR: t/004Pidfile.t-50> tempfile /tmp/bp77hhR_MF.dat created BUILDSTDERR: t/004Pidfile.t-50> tapping '/usr/bin/perl' '-I/builddir/build/BUILD/App-Daemon-0.22/t/../blib/lib' '/builddir/build/BUILD/App-Daemon-0.22/t/../eg/test-fork-daemon' '-l' '/tmp/fJs3C2SKhj/log' '-p' '/tmp/fJs3C2SKhj/pid' '-v' 'stop' 2>/tmp/bp77hhR_MF.dat | BUILDSTDERR: t/004Pidfile.t-50> Slurping data from /tmp/bp77hhR_MF.dat BUILDSTDERR: t/004Pidfile.t-50> Read from /tmp/bp77hhR_MF.dat BUILDSTDERR: t/004Pidfile.t-50> tap '/usr/bin/perl' '-I/builddir/build/BUILD/App-Daemon-0.22/t/../blib/lib' '/builddir/build/BUILD/App-Daemon-0.22/t/../eg/test-fork-daemon' '-l' '/tmp/fJs3C2SKhj/log' '-p' '/tmp/fJs3C2SKhj/pid' '-v' 'stop' 2>/tmp/bp77hhR_MF.dat | results: rc=256 stderr=[] stdout=[] BUILDSTDERR: # Failed test 'app stop' BUILDSTDERR: # at t/004Pidfile.t line 51. BUILDSTDERR: # got: '256' BUILDSTDERR: # expected: '0' BUILDSTDERR: # Looks like you failed 1 test of 5. t/004Pidfile.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests t/005Detach.t ... ok Test Summary Report ------------------- t/003CmdLine.t (Wstat: 768 Tests: 6 Failed: 3) Failed tests: 4-6 Non-zero exit status: 3 t/004Pidfile.t (Wstat: 256 Tests: 5 Failed: 1) Failed test: 5 Non-zero exit status: 1 Files=5, Tests=19, 12 wallclock secs ( 0.04 usr 0.00 sys + 1.40 cusr 0.13 csys = 1.57 CPU) Result: FAIL BUILDSTDERR: Failed 2/5 test programs. 4/19 subtests failed. BUILDSTDERR: make: *** [test_dynamic] Error 255 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.ifxcjn (%check) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ifxcjn (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 634, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) Error: Command failed: # /usr/bin/systemd-nspawn -q -M 3362cedf43af461ca1b7ea5cbbcd0fa4 -D /var/lib/mock/centos-7-i386/root --bind=/tmp/mock-resolv.jI4iDO:/etc/resolv.conf --setenv=LANG=en_US.UTF-8 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOSTNAME=mock --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=HOME=/builddir --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PS1= \s-\v\$ -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/perl-App-Daemon.spec