Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/rubygem-daemon_controller.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.ywATP3:/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', '26dea5ea591e4872b01e2c8101b33f2a', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.ywATP3:/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/rubygem-daemon_controller.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/rubygem-daemon_controller-1.1.2-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/rubygem-daemon_controller.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.ywATP3:/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', 'b609b6a00c8243a0b6e71f4f1d4b5ebc', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.ywATP3:/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/rubygem-daemon_controller.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.3iPffn + umask 022 + cd /builddir/build/BUILD + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.W109Hq + umask 022 + cd /builddir/build/BUILD + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.obw3bu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-daemon_controller-1.1.2-2.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-daemon_controller-1.1.2-2.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rubygem-daemon_controller-1.1.2-2.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-daemon_controller-1.1.2-2.el7.i386 + mkdir -p /builddir/build/BUILDROOT/rubygem-daemon_controller-1.1.2-2.el7.i386/usr/share/gems + gem install --local --install-dir /builddir/build/BUILDROOT/rubygem-daemon_controller-1.1.2-2.el7.i386/usr/share/gems --force --rdoc /builddir/build/SOURCES/daemon_controller-1.1.2.gem Successfully installed daemon_controller-1.1.2 Parsing documentation for daemon_controller-1.1.2 Installing ri documentation for daemon_controller-1.1.2 Installing darkfish documentation for daemon_controller-1.1.2 1 gem installed + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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.BBbBBB + umask 022 + cd /builddir/build/BUILD ~/build/BUILDROOT/rubygem-daemon_controller-1.1.2-2.el7.i386/usr/share/gems/gems/daemon_controller-1.1.2 ~/build/BUILD + pushd /builddir/build/BUILDROOT/rubygem-daemon_controller-1.1.2-2.el7.i386/usr/share/gems/gems/daemon_controller-1.1.2 + /usr/bin/sed -i s/localhost/127.0.0.1/g spec/daemon_controller_spec.rb + rspec -I/builddir/build/BUILDROOT/rubygem-daemon_controller-1.1.2-2.el7.i386/usr/share/gems/gems/daemon_controller-1.1.2/lib -Ispec spec/ /usr/bin/ruby BUILDSTDERR: ......F......................DEPRECATION: `expect { }.not_to raise_error(SpecificErrorClass)` is deprecated. Use `expect { }.not_to raise_error` (with no args) instead. Called from /builddir/build/BUILDROOT/rubygem-daemon_controller-1.1.2-2.el7.i386/usr/share/gems/gems/daemon_controller-1.1.2/spec/daemon_controller_spec.rb:397:in `block (2 levels) in '. ... Failures: 1) DaemonController#start kills the daemon forcefully if the daemon has forked but doesn't become pingable in time, and there's a PID file Failure/Error: eventually(1) do RuntimeError: Time limit exceeded # ./spec/test_helper.rb:89:in `eventually' # ./spec/daemon_controller_spec.rb:119:in `block (2 levels) in ' Finished in 5.62 seconds 32 examples, 1 failure Failed examples: rspec ./spec/daemon_controller_spec.rb:106 # DaemonController#start kills the daemon forcefully if the daemon has forked but doesn't become pingable in time, and there's a PID file BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.BBbBBB (%check) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.BBbBBB (%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 b609b6a00c8243a0b6e71f4f1d4b5ebc -D /var/lib/mock/centos-7-i386/root --bind=/tmp/mock-resolv.ywATP3:/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/rubygem-daemon_controller.spec