Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openqa.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-2/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.haudc87g:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f088879e3d944bf2acc08a3d7bfe42eb', '-D', '/var/lib/mock/fedora-rawhide-x86_64-2/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.haudc87g:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openqa.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/openqa-4.5-14.20180207git3977d2f.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/openqa.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-2/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.haudc87g:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3e7c0cdb8a154ade86a375d9505b799d', '-D', '/var/lib/mock/fedora-rawhide-x86_64-2/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.haudc87g:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/openqa.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dNIsGY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openQA-3977d2f5a2c1fe14e4d151135022498f0f9d90c3 + /usr/bin/gzip -dc /builddir/build/SOURCES/openQA-3977d2f5a2c1fe14e4d151135022498f0f9d90c3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd openQA-3977d2f5a2c1fe14e4d151135022498f0f9d90c3 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/assetcache-3977d2f5a2c1fe14e4d151135022498f0f9d90c3.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Duplicate-jobs-on-died-as-well-as-quit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Skip-a-sometimes-failing-test-POO-28385.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-runcmd-tests-handle-differently-cased-git-error-mess.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Emit-openqa_job_create-events-when-an-ISO-is-posted-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-Fedmsg-plugin-emit-standardized-fedmsg.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Restart-worker-on-failure.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Adapt-tests-to-logging-behavior-of-Mojolicious-8-181.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -i -e 's,apache2\.service,httpd\.service,g' systemd/openqa-gru.service systemd/openqa-resource-allocator.service systemd/openqa-scheduler.service systemd/openqa-setup-db.service systemd/openqa-slirpvde.service systemd/openqa-vde_switch.service systemd/openqa-websockets.service systemd/openqa-webui.service systemd/openqa-worker@.service + sed -i -e 's,"$(DESTDIR)"/etc/apache2/vhosts.d,"$(DESTDIR)"/etc/httpd/conf.d,g' Makefile + sed -i -e s,/etc/apache2/vhosts.d,/etc/httpd/conf.d,g etc/apache2/vhosts.d/openqa-common.inc etc/apache2/vhosts.d/openqa-ssl.conf.template etc/apache2/vhosts.d/openqa.conf.template + sed -i -e s,/etc/apache2/ssl.crt,/etc/pki/tls/certs,g etc/apache2/vhosts.d/openqa-common.inc etc/apache2/vhosts.d/openqa-ssl.conf.template etc/apache2/vhosts.d/openqa.conf.template + sed -i -e s,/etc/apache2/ssl.key,/etc/pki/tls/private,g etc/apache2/vhosts.d/openqa-common.inc etc/apache2/vhosts.d/openqa-ssl.conf.template etc/apache2/vhosts.d/openqa.conf.template + rm -f lib/OpenQA/WebAPI/Plugin/AMQP.pm + rm -f t/23-amqp.t + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pbXOpe + umask 022 + cd /builddir/build/BUILD + cd openQA-3977d2f5a2c1fe14e4d151135022498f0f9d90c3 + make -j12 make: Nothing to be done for 'all'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.veizau + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64 + cd openQA-3977d2f5a2c1fe14e4d151135022498f0f9d90c3 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64 'INSTALL=/usr/bin/install -p' ./script/generate-packed-assets The files belonging to this database system will be owned by user "mockbuild". This user must also own the server process. The database cluster will be initialized with locale "C". The default database encoding has accordingly been set to "SQL_ASCII". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /tmp/tmp.dB43HYz6c4 ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting dynamic shared memory implementation ... posix creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. Success. You can now start the database server using: pg_ctl -D /tmp/tmp.dB43HYz6c4 -l logfile start BUILDSTDERR: WARNING: enabling "trust" authentication for local connections BUILDSTDERR: You can change this by editing pg_hba.conf or using the option -A, or BUILDSTDERR: --auth-local and --auth-host, the next time you run initdb. waiting for server to start.... done server started Now export TEST_PG like: export TEST_PG='DBI:Pg:dbname=openqa_test;host=/tmp/tmp.dB43HYz6c4' and if you don't need it anymore, use pg_ctl -D /tmp/tmp.dB43HYz6c4 stop waiting for server to shut down.... done server stopped for i in lib public script templates assets; do \ mkdir -p "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/share/openqa/$i ;\ cp -a $i/* "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/share/openqa/$i ;\ done for i in tidy check_coverage generate-packed-assets generate-documentation generate-documentation-genapi.pl; do \ rm "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/share/openqa/script/$i ;\ done BUILDSTDERR: rm: cannot remove '/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/usr/share/openqa/script/check_coverage': No such file or directory for i in images testresults pool ; do \ mkdir -p "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/var/lib/openqa/$i ;\ done for i in factory tests; do \ mkdir -p "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/var/lib/openqa/share/$i ;\ ln -sfn /var/lib/openqa/share/$i "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/var/lib/openqa/$i ;\ done for i in iso hdd repo other; do \ mkdir -p "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/var/lib/openqa/share/factory/$i ;\ done for i in script; do \ ln -sfn /usr/share/openqa/$i "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/var/lib/openqa/$i ;\ done install -d -m 755 "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/etc/httpd/conf.d for i in openqa-common.inc openqa.conf.template openqa-ssl.conf.template; do \ install -m 644 etc/apache2/vhosts.d/$i "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/etc/httpd/conf.d ;\ done install -D -m 640 etc/openqa/client.conf "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/etc/openqa/client.conf install -D -m 644 etc/openqa/workers.ini "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/etc/openqa/workers.ini install -D -m 644 etc/openqa/openqa.ini "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/etc/openqa/openqa.ini install -D -m 640 etc/openqa/database.ini "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/etc/openqa/database.ini install -D -m 644 etc/logrotate.d/openqa "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/etc/logrotate.d/openqa install -d -m 755 "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system install -d -m 755 "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system-generators install -d -m 755 "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/tmpfiles.d install -m 644 systemd/openqa-worker@.service "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system sed -e 's_^\(ExecStart=/usr/share/openqa/script/worker\) \(--instance %i\)$_\1 --no-cleanup \2_' \ systemd/openqa-worker@.service \ > "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system/openqa-worker-no-cleanup@.service sed -i '/Wants/aConflicts=openqa-worker@.service' \ "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system/openqa-worker-no-cleanup@.service install -m 644 systemd/openqa-worker.target "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system install -m 644 systemd/openqa-webui.service "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system install -m 644 systemd/openqa-gru.service "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system install -m 644 systemd/openqa-vde_switch.service "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system install -m 644 systemd/openqa-slirpvde.service "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system install -m 644 systemd/openqa-websockets.service "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system install -m 644 systemd/openqa-scheduler.service "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system install -m 644 systemd/openqa-resource-allocator.service "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system install -m 644 systemd/openqa-setup-db.service "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system install -m 755 systemd/systemd-openqa-generator "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/systemd/system-generators install -m 644 systemd/tmpfiles-openqa.conf "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/lib/tmpfiles.d/openqa.conf install -D -m 644 etc/dbus-1/system.d/org.opensuse.openqa.conf "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/etc/dbus-1/system.d/org.opensuse.openqa.conf install -D -m 640 /dev/null "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/var/lib/openqa/db/db.sqlite install -d -m 755 "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/etc/apparmor.d install -m 644 profiles/apparmor.d/usr.share.openqa.script.openqa "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/etc/apparmor.d install -m 644 profiles/apparmor.d/usr.share.openqa.script.worker "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/etc/apparmor.d cp -Ra dbicdh "/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64"/usr/share/openqa/dbicdh + mkdir -p /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/usr/share/openqa/etc/openqa + ln -s /etc/openqa/openqa.ini /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/usr/share/openqa/etc/openqa/openqa.ini + ln -s /etc/openqa/database.ini /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/usr/share/openqa/etc/openqa/database.ini + mkdir -p /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/usr/bin + ln -s /usr/share/openqa/script/client /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/usr/bin/openqa-client + ln -s /usr/share/openqa/script/clone_job.pl /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/usr/bin/openqa-clone-job + ln -s /usr/share/openqa/script/dump_templates /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/usr/bin/openqa-dump-templates + ln -s /usr/share/openqa/script/load_templates /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/usr/bin/openqa-load-templates + cd /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64 + grep -rl /usr/bin/env . + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/dbicdh/_common/upgrade/56-57/001-migrate-jobs.pl + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/dbicdh/_common/upgrade/53-54/001-migrate-jobs.pl + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/dbicdh/_common/upgrade/41-42/002-change-overall-softfailed.pl + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/dbicdh/_common/upgrade/39-40/002-set-finished.pl + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/dbicdh/_common/upgrade/38-39/004-drop-settings.pl + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/dbicdh/_common/upgrade/38-39/003-migrate-important-settings.pl + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/dbicdh/_common/upgrade/37-38/002-migrate-jobs.pl + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/script/worker + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/script/upgradedb + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/script/openqa-websockets + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/script/openqa-scheduler + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/script/openqa-resource-allocator + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/script/openqa + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/script/modify_needle + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/script/load_templates + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/script/initdb + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/script/create_admin + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/script/clone_job.pl + read file + sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i ./usr/share/openqa/script/client + read file + mkdir /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/var/lib/openqa/pool/1 + mkdir /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/var/lib/openqa/cache + rm -rf /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/etc/apparmor.d + install /builddir/build/SOURCES/FedoraUpdateRestart.pm /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/usr/share/openqa/lib/OpenQA/WebAPI/Plugin/ + /usr/lib/rpm/find-debuginfo.sh -j12 --strict-build-id -m -i --build-id-seed 4.5-14.20180207git3977d2f.fc30 --unique-debug-suffix -4.5-14.20180207git3977d2f.fc30.x86_64 --unique-debug-src-base openqa-4.5-14.20180207git3977d2f.fc30.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/openQA-3977d2f5a2c1fe14e4d151135022498f0f9d90c3 BUILDSTDERR: find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/systemd/system-generators/systemd-openqa-generator from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/openqa/script/fetchneedles from /bin/bash to #!/usr/bin/bash BUILDSTDERR: *** WARNING: ./usr/share/openqa/lib/perlcritic/Perl/Critic/Policy/ConsistentQuoteLikeWords.pm is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/share/openqa/lib/OpenQA/WebAPI/Plugin/FedoraUpdateRestart.pm is executable but has empty or no shebang, removing executable bit Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.nCNkUw + umask 022 + cd /builddir/build/BUILD + cd openQA-3977d2f5a2c1fe14e4d151135022498f0f9d90c3 + rm -f t/00-tidy.t + rm -f ./t/24-worker.t ./t/api/09-comments.t ./t/ui/07-file.t ./t/ui/13-admin.t ./t/ui/15-comments.t ./t/ui/18-tests-details.t + rm -rf /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/DB + export LC_ALL=en_US.UTF-8 + LC_ALL=en_US.UTF-8 + ./t/test_postgresql /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/DB The files belonging to this database system will be owned by user "mockbuild". This user must also own the server process. The database cluster will be initialized with locale "en_US.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/DB ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting dynamic shared memory implementation ... posix creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. Success. You can now start the database server using: pg_ctl -D /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/DB -l logfile start BUILDSTDERR: WARNING: enabling "trust" authentication for local connections BUILDSTDERR: You can change this by editing pg_hba.conf or using the option -A, or BUILDSTDERR: --auth-local and --auth-host, the next time you run initdb. waiting for server to start.... done server started Now export TEST_PG like: export TEST_PG='DBI:Pg:dbname=openqa_test;host=/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/DB' and if you don't need it anymore, use pg_ctl -D /builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/DB stop + export 'TEST_PG=DBI:Pg:dbname=openqa_test;host=/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/DB' + TEST_PG='DBI:Pg:dbname=openqa_test;host=/builddir/build/BUILDROOT/openqa-4.5-14.20180207git3977d2f.fc30.x86_64/DB' + OBS_RUN=1 + prove -r ./t/02-pod.t .............................. ok ./t/04-scheduler.t ........................ ok ./t/05-scheduler-cancel.t ................. ok ./t/05-scheduler-capabilities.t ........... ok ./t/05-scheduler-dependencies.t ........... ok ./t/05-scheduler-restart-and-duplicate.t .. ok ./t/06-users.t ............................ ok ./t/07-api_jobtokens.t .................... ok ./t/07-api_keys.t ......................... ok ./t/09-job_clone.t ........................ ok ./t/10-tests_overview.t ................... ok ./t/13-joblocks.t ......................... ok ./t/15-assets.t ........................... ok ./t/16-utils-runcmd.t ..................... ok BUILDSTDERR: Subroutine JSON::PP::Boolean::(-- redefined at /usr/share/perl5/overload.pm line 48. BUILDSTDERR: Subroutine JSON::PP::Boolean::(0+ redefined at /usr/share/perl5/overload.pm line 48. BUILDSTDERR: Subroutine JSON::PP::Boolean::(++ redefined at /usr/share/perl5/overload.pm line 48. ./t/16-utils.t ............................ ok ./t/17-build_tagging.t .................... ok ./t/18-fedmsg.t ........................... ok ./t/19-tests-export.t ..................... ok ./t/20-workers-ws.t ....................... ok ./t/21-needles.t .......................... ok ./t/22-dashboard.t ........................ ok ./t/25-cache.t ............................ ok ./t/27-errorpages.t ....................... ok BUILDSTDERR: Subroutine JSON::PP::Boolean::(++ redefined at /usr/share/perl5/overload.pm line 48. BUILDSTDERR: Subroutine JSON::PP::Boolean::(-- redefined at /usr/share/perl5/overload.pm line 48. BUILDSTDERR: Subroutine JSON::PP::Boolean::(0+ redefined at /usr/share/perl5/overload.pm line 48. BUILDSTDERR: Serialization is offically supported only if object can be turned into an array with ->to_array() at lib/OpenQA/Parser.pm line 105. BUILDSTDERR: Serialization is offically supported only if object can be turned into an array with ->to_array() at lib/OpenQA/Parser.pm line 105. BUILDSTDERR: Serialization is offically supported only if object can be turned into an array with ->to_array() at lib/OpenQA/Parser.pm line 105. BUILDSTDERR: Serialization is offically supported only if object can be turned into an array with ->to_array() at lib/OpenQA/Parser.pm line 105. BUILDSTDERR: Serialization is offically supported only if object can be turned into an array with ->to_array() at lib/OpenQA/Parser.pm line 105. BUILDSTDERR: # Serialization test for OpenQA::Parser::Format::LTP and ltp_test_result_format.json with test test_ltp_file BUILDSTDERR: # JSON serialization BUILDSTDERR: # Serialization test for OpenQA::Parser::Format::LTP and new_ltp_result_array.json with test test_ltp_file_v2 BUILDSTDERR: # JSON serialization BUILDSTDERR: # Serialization test for OpenQA::Parser::Format::JUnit and slenkins_control-junit-results.xml with test test_junit_file BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: # JSON serialization BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: # Serialization test for OpenQA::Parser::Format::XUnit and xunit_format_example.xml with test test_xunit_file BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: Use of uninitialized value in pattern match (m//) at BUILDSTDERR: lib/OpenQA/Parser/Result/OpenQA.pm line 31 (#1) BUILDSTDERR: (W uninitialized) An undefined value was used as if it were already BUILDSTDERR: defined. It was interpreted as a "" or a 0, but maybe it was a mistake. BUILDSTDERR: To suppress this warning assign a defined value to your variables. BUILDSTDERR: BUILDSTDERR: To help you figure out what was undefined, perl will try to tell you BUILDSTDERR: the name of the variable (if any) that was undefined. In some cases BUILDSTDERR: it cannot do this, so it also tells you what operation you used the BUILDSTDERR: undefined value in. Note, however, that perl optimizes your program BUILDSTDERR: and the operation displayed in the warning may not necessarily appear BUILDSTDERR: literally in your program. For example, "that $foo" is usually BUILDSTDERR: optimized into "that " . $foo, and the warning will refer to the BUILDSTDERR: concatenation (.) operator, even though there is no . in BUILDSTDERR: your program. BUILDSTDERR: BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: # JSON serialization BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: Data type with format not supported for serialization at lib/OpenQA/Parser.pm line 113. BUILDSTDERR: Use of uninitialized value in pattern match (m//) at BUILDSTDERR: lib/OpenQA/Parser/Result/OpenQA.pm line 31, line 106 (#1) ./t/30-test_parser.t ...................... ok ./t/basic.t ............................... ok ./t/deploy.t .............................. ok ./t/full-stack.t .......................... skipped: set FULLSTACK=1 (be careful) ./t/rand.t ................................ ok ./t/01-compile-check-all.t ................ ok ./t/05-scheduler-full.t ................... skipped: set SCHEDULER_FULLSTACK=1 (be careful) ./t/10-jobs.t ............................. ok ./t/11-commands.t ......................... ok ./t/12-profiler.t ......................... ok ./t/14-grutasks.t ......................... ok ./t/17-labels_carry_over.t ................ ok ./t/25-bugs.t ............................. ok ./t/25-serverstartup.t .................... ok BUILDSTDERR: # No tests run! BUILDSTDERR: # Failed test 'No tests run for subtest "streamtext"' BUILDSTDERR: # at ./t/26-controllerrunning.t line 84. BUILDSTDERR: Can't call method "connection" on an undefined value at lib/OpenQA/WebAPI/Controller/Running.pm line 93. BUILDSTDERR: # Tests were run but no plan was declared and done_testing() was not seen. BUILDSTDERR: # Looks like your test exited with 255 just after 2. ./t/26-controllerrunning.t ................ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/2 subtests ./t/27-websockets.t ....................... ok ./t/28-logging.t .......................... ok ./t/29-openqa_commands.t .................. ok BUILDSTDERR: Mojo::Transaction::success is DEPRECATED in favor of Mojo::Transaction::result and Mojo::Transaction::error at ./t/api/01-workers.t line 91. BUILDSTDERR: Mojo::Transaction::success is DEPRECATED in favor of Mojo::Transaction::result and Mojo::Transaction::error at ./t/api/01-workers.t line 91. BUILDSTDERR: Mojo::Transaction::success is DEPRECATED in favor of Mojo::Transaction::result and Mojo::Transaction::error at ./t/api/01-workers.t line 105. BUILDSTDERR: Mojo::Transaction::success is DEPRECATED in favor of Mojo::Transaction::result and Mojo::Transaction::error at ./t/api/01-workers.t line 105. BUILDSTDERR: # Failed test 'no (unexpected) warnings (via done_testing)' BUILDSTDERR: # at ./t/api/01-workers.t line 144. BUILDSTDERR: # Looks like you failed 1 test of 24. ./t/api/01-workers.t ...................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/24 subtests ./t/api/02-assets.t ....................... ok ./t/api/02-iso.t .......................... ok ./t/api/03-auth.t ......................... ok ./t/api/04-jobs.t ......................... ok ./t/api/05-machines.t ..................... ok ./t/api/06-products.t ..................... ok ./t/api/07-testsuites.t ................... ok ./t/api/08-jobtemplates.t ................. ok ./t/api/10-jobgroups.t .................... ok ./t/api/11-bugs.t ......................... ok ./t/api/12-admin-workers.t ................ ok BUILDSTDERR: [2018-11-19 09:49:15.42879] [1723] [warn] No configuration file supplied, will fallback to default configuration BUILDSTDERR: [2018-11-19 09:49:15.43265] [1723] [warn] No configuration file supplied, will fallback to default configuration BUILDSTDERR: [2018-11-19 09:49:15.43563] [1723] [warn] No configuration file supplied, will fallback to default configuration BUILDSTDERR: [2018-11-19 09:49:15.43850] [1723] [warn] No configuration file supplied, will fallback to default configuration ./t/config.t .............................. ok ./t/ui/01-list.t .......................... skipped: Install Selenium::Remote::Driver and Selenium::Chrome to run these tests ./t/ui/02-csrf.t .......................... ok ./t/ui/02-list-group.t .................... skipped: Install Selenium::Remote::Driver and Selenium::Chrome to run these tests ./t/ui/03-source.t ........................ ok ./t/ui/04-api_keys.t ...................... ok ./t/ui/05-auth.t .......................... ok ./t/ui/06-operator_links.t ................ skipped: Install Selenium::Remote::Driver and Selenium::Chrome to run these tests ./t/ui/09-admin_creation.t ................ ok ./t/ui/09-users-list.t .................... ok ./t/ui/10-tests_overview.t ................ skipped: Install Selenium::Remote::Driver and Selenium::Chrome to run these tests ./t/ui/12-needle-edit.t ................... skipped: Install Selenium::Remote::Driver and Selenium::Chrome to run these tests ./t/ui/14-dashboard-parents.t ............. skipped: Install Selenium::Remote::Driver and Selenium::Chrome to run these tests ./t/ui/14-dashboard.t ..................... skipped: Install Selenium::Remote::Driver and Selenium::Chrome to run these tests ./t/ui/15-admin-workers.t ................. skipped: Install Selenium::Remote::Driver and Selenium::Chrome to run these tests ./t/ui/16-tests_previous_results.t ........ ok ./t/ui/17-product-log.t ................... skipped: Install Selenium::Remote::Driver and Selenium::Chrome to run these tests ./t/ui/19-tests-links.t ................... skipped: Install Selenium::Remote::Driver and Selenium::Chrome to run these tests ./t/ui/20-bugzilla-links.t ................ ok ./t/ui/21-admin-needles.t ................. skipped: Install Selenium::Remote::Driver and Selenium::Chrome to run these tests ./t/ui/22-job_group_order.t ............... ok ./t/ui/23-audit-log.t ..................... skipped: Install Selenium::Remote::Driver and Selenium::Chrome to run these tests ./t/ui/24-feature-tour.t .................. skipped: Install Selenium::Remote::Driver and Selenium::Chrome to run these tests Test Summary Report ------------------- ./t/26-controllerrunning.t (Wstat: 65280 Tests: 2 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: No plan found in TAP output ./t/api/01-workers.t (Wstat: 256 Tests: 24 Failed: 1) Failed test: 24 Non-zero exit status: 1 Files=76, Tests=2785, 477 wallclock secs ( 2.07 usr 0.28 sys + 393.95 cusr 27.90 csys = 424.20 CPU) Result: FAIL RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.nCNkUw (%check) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.nCNkUw (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 3e7c0cdb8a154ade86a375d9505b799d -D /var/lib/mock/fedora-rawhide-x86_64-2/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.haudc87g:/etc/resolv.conf --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/openqa.spec