Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/harbor-core.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1610219727.614455/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgxf_hi8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgxf_hi8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ce6e10994fa8402e96382414dd9c1925', '-D', '/var/lib/mock/epel-7-x86_64-1610219727.614455/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgxf_hi8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/harbor-core.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/harbor-core-2.1.3_rc2-1.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/harbor-core.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1610219727.614455/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgxf_hi8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgxf_hi8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dfb8a13c38834ff1888c68545367c432', '-D', '/var/lib/mock/epel-7-x86_64-1610219727.614455/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgxf_hi8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/harbor-core.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AkhMmJ + umask 022 + cd /builddir/build/BUILD + tar zxf /builddir/build/SOURCES/db-v2.1.3-rc2.tar.gz + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oW0QVk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64/opt/harbor/core/views + mkdir -p /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64/opt/harbor/setup + mkdir -p /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64/etc/harbor/db + mkdir -p /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64/var/lib/harbor/data + mkdir -p /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64/etc/harbor/core + mkdir -p /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64/etc/harbor/core/token + mkdir -p /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64/etc/harbor/core/certificates + mkdir -p /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64/etc/harbor/secret/core + mkdir -p /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64/var/log/harbor + mv db-v2.1.3-rc2/db/ /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64/etc/harbor/db/initial + mv db-v2.1.3-rc2/migrations/postgresql /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64/etc/harbor/db/migrations + cd /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64//opt/harbor/setup/ + tar zxf /builddir/build/SOURCES/prepareapp-v2.1.3-rc2.tar.gz + echo 2.1.3_rc2 + install -m 755 /builddir/build/SOURCES/harbor_core-v2.1.3-rc2 /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64//opt/harbor/core/harbor_core + install -m 755 /builddir/build/SOURCES/harbor-core.service /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64//usr/lib/systemd/system/harbor-core.service + install -m 755 /builddir/build/SOURCES/app.conf /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64//etc/harbor/core/app.conf + install -m 755 /builddir/build/SOURCES/env /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64//etc/harbor/core/env + install -m 755 /builddir/build/SOURCES/reset-password-mail.tpl /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64//opt/harbor/core/views/reset-password-mail.tpl + install -m 755 /builddir/build/SOURCES/404.tpl /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64//opt/harbor/core/views/404.tpl + install -m 755 /builddir/build/SOURCES/harbor.yml /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64//opt/harbor/setup/harbor.yml + /usr/lib/rpm/check-buildroot Processing files: harbor-core-2.1.3_rc2-1.el7.x86_64 warning: File listed twice: /opt/harbor/core/harbor_core warning: File listed twice: /opt/harbor/setup warning: File listed twice: /opt/harbor/setup/app warning: File listed twice: /opt/harbor/setup/app/Dockerfile warning: File listed twice: /opt/harbor/setup/app/Dockerfile.base warning: File listed twice: /opt/harbor/setup/app/Pipfile warning: File listed twice: /opt/harbor/setup/app/Pipfile.lock warning: File listed twice: /opt/harbor/setup/app/commands warning: File listed twice: /opt/harbor/setup/app/commands/gencerts.py warning: File listed twice: /opt/harbor/setup/app/commands/migrate.py warning: File listed twice: /opt/harbor/setup/app/commands/prepare.py warning: File listed twice: /opt/harbor/setup/app/config-rpm.py warning: File listed twice: /opt/harbor/setup/app/g.py warning: File listed twice: /opt/harbor/setup/app/main.py warning: File listed twice: /opt/harbor/setup/app/migrations warning: File listed twice: /opt/harbor/setup/app/migrations/__init__.py warning: File listed twice: /opt/harbor/setup/app/migrations/version_1_10_0 warning: File listed twice: /opt/harbor/setup/app/migrations/version_1_10_0/__init__.py warning: File listed twice: /opt/harbor/setup/app/migrations/version_1_10_0/harbor.yml.jinja warning: File listed twice: /opt/harbor/setup/app/migrations/version_1_9_0 warning: File listed twice: /opt/harbor/setup/app/migrations/version_1_9_0/__init__.py warning: File listed twice: /opt/harbor/setup/app/migrations/version_1_9_0/harbor.yml.jinja warning: File listed twice: /opt/harbor/setup/app/migrations/version_2_0_0 warning: File listed twice: /opt/harbor/setup/app/migrations/version_2_0_0/__init__.py warning: File listed twice: /opt/harbor/setup/app/migrations/version_2_0_0/harbor.yml.jinja warning: File listed twice: /opt/harbor/setup/app/migrations/version_2_1_0 warning: File listed twice: /opt/harbor/setup/app/migrations/version_2_1_0/__init__.py warning: File listed twice: /opt/harbor/setup/app/migrations/version_2_1_0/harbor.yml.jinja warning: File listed twice: /opt/harbor/setup/app/models.py warning: File listed twice: /opt/harbor/setup/app/scripts warning: File listed twice: /opt/harbor/setup/app/scripts/gencert.sh warning: File listed twice: /opt/harbor/setup/app/templates warning: File listed twice: /opt/harbor/setup/app/templates/chartserver warning: File listed twice: /opt/harbor/setup/app/templates/chartserver/env.jinja warning: File listed twice: /opt/harbor/setup/app/templates/core warning: File listed twice: /opt/harbor/setup/app/templates/core/app.conf.jinja warning: File listed twice: /opt/harbor/setup/app/templates/core/env.jinja warning: File listed twice: /opt/harbor/setup/app/templates/db warning: File listed twice: /opt/harbor/setup/app/templates/db/env.jinja warning: File listed twice: /opt/harbor/setup/app/templates/docker_compose warning: File listed twice: /opt/harbor/setup/app/templates/docker_compose/docker-compose.yml.jinja warning: File listed twice: /opt/harbor/setup/app/templates/exporter warning: File listed twice: /opt/harbor/setup/app/templates/exporter/env.jinja warning: File listed twice: /opt/harbor/setup/app/templates/jobservice warning: File listed twice: /opt/harbor/setup/app/templates/jobservice/config.yml.jinja Provides: harbor-core = 2.1.3_rc2-1.el7 harbor-core(x86-64) = 2.1.3_rc2-1.el7 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(pre): /bin/sh Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/harbor-core-2.1.3_rc2-1.el7.x86_64 warning: File listed twice: /opt/harbor/setup/app/templates/jobservice/env.jinja warning: File listed twice: /opt/harbor/setup/app/templates/log warning: File listed twice: /opt/harbor/setup/app/templates/log/logrotate.conf.jinja warning: File listed twice: /opt/harbor/setup/app/templates/log/rsyslog_docker.conf.jinja warning: File listed twice: /opt/harbor/setup/app/templates/nginx warning: File listed twice: /opt/harbor/setup/app/templates/nginx/nginx.http.conf.jinja warning: File listed twice: /opt/harbor/setup/app/templates/nginx/nginx.https.conf.jinja warning: File listed twice: /opt/harbor/setup/app/templates/nginx/notary.server.conf.jinja warning: File listed twice: /opt/harbor/setup/app/templates/nginx/notary.upstream.conf.jinja warning: File listed twice: /opt/harbor/setup/app/templates/notary warning: File listed twice: /opt/harbor/setup/app/templates/notary/server-config.postgres.json.jinja warning: File listed twice: /opt/harbor/setup/app/templates/notary/server_env.jinja warning: File listed twice: /opt/harbor/setup/app/templates/notary/signer-config.postgres.json.jinja warning: File listed twice: /opt/harbor/setup/app/templates/notary/signer_env.jinja warning: File listed twice: /opt/harbor/setup/app/templates/portal warning: File listed twice: /opt/harbor/setup/app/templates/portal/nginx.conf.jinja warning: File listed twice: /opt/harbor/setup/app/templates/registry warning: File listed twice: /opt/harbor/setup/app/templates/registry/config.yml.jinja warning: File listed twice: /opt/harbor/setup/app/templates/registryctl warning: File listed twice: /opt/harbor/setup/app/templates/registryctl/config.yml.jinja warning: File listed twice: /opt/harbor/setup/app/templates/registryctl/env.jinja warning: File listed twice: /opt/harbor/setup/app/templates/trivy-adapter warning: File listed twice: /opt/harbor/setup/app/templates/trivy-adapter/env.jinja warning: File listed twice: /opt/harbor/setup/app/tests warning: File listed twice: /opt/harbor/setup/app/tests/migrations warning: File listed twice: /opt/harbor/setup/app/tests/migrations/utils_test.py warning: File listed twice: /opt/harbor/setup/app/utils warning: File listed twice: /opt/harbor/setup/app/utils/__init__.py warning: File listed twice: /opt/harbor/setup/app/utils/cert.py warning: File listed twice: /opt/harbor/setup/app/utils/chart.py warning: File listed twice: /opt/harbor/setup/app/utils/configs.py warning: File listed twice: /opt/harbor/setup/app/utils/core.py warning: File listed twice: /opt/harbor/setup/app/utils/db.py warning: File listed twice: /opt/harbor/setup/app/utils/docker_compose.py warning: File listed twice: /opt/harbor/setup/app/utils/exporter.py warning: File listed twice: /opt/harbor/setup/app/utils/internal_tls.py warning: File listed twice: /opt/harbor/setup/app/utils/jinja.py warning: File listed twice: /opt/harbor/setup/app/utils/jobservice.py warning: File listed twice: /opt/harbor/setup/app/utils/log.py warning: File listed twice: /opt/harbor/setup/app/utils/migration.py warning: File listed twice: /opt/harbor/setup/app/utils/misc.py warning: File listed twice: /opt/harbor/setup/app/utils/nginx.py warning: File listed twice: /opt/harbor/setup/app/utils/notary.py warning: File listed twice: /opt/harbor/setup/app/utils/portal.py warning: File listed twice: /opt/harbor/setup/app/utils/proxy.py warning: File listed twice: /opt/harbor/setup/app/utils/redis.py warning: File listed twice: /opt/harbor/setup/app/utils/registry.py warning: File listed twice: /opt/harbor/setup/app/utils/registry_ctl.py warning: File listed twice: /opt/harbor/setup/app/utils/trivy_adapter.py warning: File listed twice: /opt/harbor/setup/app/versions warning: File listed twice: /opt/harbor/setup/harbor.yml Wrote: /builddir/build/RPMS/harbor-core-2.1.3_rc2-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.W0dZfP + umask 022 + cd /builddir/build/BUILD + exit 0 Child return code was: 0