Warning: Permanently added '172.25.85.113' (ECDSA) to the list of known hosts. Running: /usr/bin/copr-rpmbuild --verbose --drop-resultdir --build-id 1062301 --chroot epel-8-x86_64 --detached Version: 0.31 Task: {'build_id': 1062301, 'buildroot_pkgs': [], 'chroot': 'epel-8-x86_64', 'enable_net': False, 'fetch_sources_only': True, 'git_hash': '218a52f1b716e606dbff496906e16eca06fe57ed', 'git_repo': 'dchen/el-pkgs/python-google-apputils', 'memory_reqs': 2048, 'package_name': 'python-google-apputils', 'package_version': '0.4.2-18.fc30', 'project_dirname': 'el-pkgs', 'project_name': 'el-pkgs', 'project_owner': 'dchen', 'repos': [{'baseurl': 'https://copr-be.cloud.fedoraproject.org/results/dchen/el-pkgs/epel-8-x86_64/', 'id': 'copr_base', 'name': 'Copr repository'}, {'baseurl': 'http://mirror.centos.org/centos/8/PowerTools/$basearch/os/', 'id': 'http_mirror_centos_org_centos_8_PowerTools_basearch_os', 'name': 'Additional repo http_mirror_centos_org_centos_8_PowerTools_basearch_os'}], 'sandbox': 'dchen/el-pkgs--dchen', 'source_json': {'clone_url': 'https://copr-dist-git.fedorainfracloud.org/git/dchen/el-pkgs/python-google-apputils.git', 'committish': '218a52f1b716e606dbff496906e16eca06fe57ed'}, 'source_type': 8, 'submitter': 'dchen', 'task_id': '1062301-epel-8-x86_64', 'timeout': 75600, 'use_bootstrap_container': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/dchen/el-pkgs/python-google-apputils.git /tmp/tmpw_k27zef/python-google-apputils --depth 500 --no-single-branch cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/dchen/el-pkgs/python-google-apputils.git', '/tmp/tmpw_k27zef/python-google-apputils', '--depth', '500', '--no-single-branch'] cwd: . rc: 0 stdout: stderr: Cloning into '/tmp/tmpw_k27zef/python-google-apputils'... Running: git checkout 218a52f1b716e606dbff496906e16eca06fe57ed cmd: ['git', 'checkout', '218a52f1b716e606dbff496906e16eca06fe57ed'] cwd: /tmp/tmpw_k27zef/python-google-apputils rc: 0 stdout: stderr: Note: checking out '218a52f1b716e606dbff496906e16eca06fe57ed'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at 218a52f automatic import of python-google-apputils Running: cp -r . /tmp/tmpdpssw4zb cmd: ['cp', '-r', '.', '/tmp/tmpdpssw4zb'] cwd: /tmp/tmpw_k27zef/python-google-apputils rc: 0 stdout: stderr: Generated rpkg config: [rpkg] preprocess_spec = True # auto-packing is deprecated: auto_pack = True [git] lookaside = https://copr-dist-git.fedorainfracloud.org/repo/pkgs/%(ns2)s/%(ns1)s/%(name)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s anongiturl = https://copr-dist-git.fedorainfracloud.org/git/%(module)s Writing config into /tmp/tmpw_k27zef/.config/rpkg.conf Running: rpkg -C /tmp/tmpw_k27zef/.config/rpkg.conf sources --outdir /tmp/tmpdpssw4zb cmd: ['rpkg', '-C', '/tmp/tmpw_k27zef/.config/rpkg.conf', 'sources', '--outdir', '/tmp/tmpdpssw4zb'] cwd: /tmp/tmpw_k27zef/python-google-apputils rc: 0 stdout: Downloading google-apputils-0.4.2.tar.gz from lookaside cache at copr-dist-git.fedorainfracloud.org stderr: /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=75600): unbuffer mock --buildsrpm --spec /tmp/tmpdpssw4zb/python-google-apputils.spec --sources /tmp/tmpdpssw4zb --configdir /var/lib/copr-rpmbuild/results/configs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1571288288.124203 -r child WARNING: Could not find required logging config file: /var/lib/copr-rpmbuild/results/configs/logging.ini. Using default... INFO: mock.py version 1.4.20 starting (python version = 3.7.4)... Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/tmp/tmpdpssw4zb/python-google-apputils.spec) Config(1062301-epel-8-x86_64) Start: clean chroot Finish: clean chroot Start: chroot init INFO: mounting tmpfs at /var/lib/mock/1062301-epel-8-x86_64-1571288288.124203/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled dnf cache Start: cleaning dnf metadata Finish: cleaning dnf metadata INFO: enabled HW Info plugin Mock Version: 1.4.20 INFO: Mock Version: 1.4.20 Start: dnf install No matches found for the following disable plugin patterns: local, spacewalk Copr repository 405 kB/s | 68 kB 00:00 Additional repo http_mirror_centos_org_centos_8 2.4 MB/s | 1.8 MB 00:00 CentOS-8 - Base 6.5 MB/s | 7.9 MB 00:01 CentOS-8 - AppStream 1.2 MB/s | 6.0 MB 00:04 CentOS-8 - PowerTools 1.1 MB/s | 1.8 MB 00:01 CentOS-8 - Extras 5.6 kB/s | 2.1 kB 00:00 epel 6.5 MB/s | 2.3 MB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing: bash x86_64 4.4.19-8.el8_0 BaseOS 1.5 M bzip2 x86_64 1.0.6-26.el8 BaseOS 60 k centos-release x86_64 8.0-0.1905.0.9.el8 BaseOS 26 k coreutils x86_64 8.30-6.el8 BaseOS 1.2 M cpio x86_64 2.12-8.el8 BaseOS 265 k diffutils x86_64 3.6-5.el8 BaseOS 359 k findutils x86_64 1:4.6.0-20.el8 BaseOS 528 k gawk x86_64 4.2.1-1.el8 BaseOS 1.1 M grep x86_64 3.1-6.el8 BaseOS 274 k gzip x86_64 1.9-4.el8 BaseOS 166 k info x86_64 6.5-4.el8 BaseOS 198 k make x86_64 1:4.2.1-9.el8 BaseOS 498 k patch x86_64 2.7.6-9.el8_0 BaseOS 138 k sed x86_64 4.5-1.el8 BaseOS 298 k shadow-utils x86_64 2:4.6-7.el8 BaseOS 1.2 M tar x86_64 2:1.30-4.el8 BaseOS 838 k unzip x86_64 6.0-41.el8 BaseOS 193 k util-linux x86_64 2.32.1-8.el8 BaseOS 2.5 M which x86_64 2.21-10.el8 BaseOS 49 k xz x86_64 5.2.4-3.el8 BaseOS 153 k gcc x86_64 8.2.1-3.5.el8 AppStream 23 M gcc-c++ x86_64 8.2.1-3.5.el8 AppStream 12 M redhat-rpm-config noarch 116-1.el8.0.1 AppStream 82 k rpm-build x86_64 4.14.2-11.el8_0 AppStream 166 k Installing dependencies: acl x86_64 2.2.53-1.el8 BaseOS 81 k audit-libs x86_64 3.0-0.10.20180831git0047a6c.el8 BaseOS 116 k basesystem noarch 11-5.el8 BaseOS 10 k binutils x86_64 2.30-49.el8 BaseOS 5.7 M brotli x86_64 1.0.6-1.el8 BaseOS 323 k bzip2-libs x86_64 1.0.6-26.el8 BaseOS 48 k ca-certificates noarch 2018.2.24-6.el8 BaseOS 394 k chkconfig x86_64 1.11-1.el8 BaseOS 189 k coreutils-common x86_64 8.30-6.el8 BaseOS 2.0 M cracklib x86_64 2.9.6-15.el8 BaseOS 93 k crypto-policies noarch 20181217-6.git9a35207.el8 BaseOS 54 k cryptsetup-libs x86_64 2.0.6-1.el8 BaseOS 320 k curl x86_64 7.61.1-8.el8 BaseOS 352 k cyrus-sasl-lib x86_64 2.1.27-0.3rc7.el8 BaseOS 123 k dbus x86_64 1:1.12.8-7.el8 BaseOS 40 k dbus-common noarch 1:1.12.8-7.el8 BaseOS 45 k dbus-daemon x86_64 1:1.12.8-7.el8 BaseOS 240 k dbus-libs x86_64 1:1.12.8-7.el8 BaseOS 183 k dbus-tools x86_64 1:1.12.8-7.el8 BaseOS 85 k device-mapper x86_64 8:1.02.155-6.el8 BaseOS 370 k device-mapper-libs x86_64 8:1.02.155-6.el8 BaseOS 402 k dracut x86_64 049-10.git20190115.el8 BaseOS 361 k elfutils x86_64 0.174-6.el8 BaseOS 344 k elfutils-default-yama-scope noarch 0.174-6.el8 BaseOS 46 k elfutils-libelf x86_64 0.174-6.el8 BaseOS 210 k elfutils-libs x86_64 0.174-6.el8 BaseOS 316 k expat x86_64 2.2.5-3.el8 BaseOS 110 k file x86_64 5.33-8.el8 BaseOS 76 k file-libs x86_64 5.33-8.el8 BaseOS 542 k filesystem x86_64 3.8-2.el8 BaseOS 1.1 M gdbm x86_64 1:1.18-1.el8 BaseOS 130 k gdbm-libs x86_64 1:1.18-1.el8 BaseOS 60 k gettext x86_64 0.19.8.1-14.el8 BaseOS 1.1 M gettext-libs x86_64 0.19.8.1-14.el8 BaseOS 311 k glib2 x86_64 2.56.4-1.el8 BaseOS 2.5 M glibc x86_64 2.28-42.el8.1 BaseOS 3.8 M glibc-all-langpacks x86_64 2.28-42.el8.1 BaseOS 25 M glibc-common x86_64 2.28-42.el8.1 BaseOS 812 k glibc-devel x86_64 2.28-42.el8.1 BaseOS 1.0 M glibc-headers x86_64 2.28-42.el8.1 BaseOS 465 k gmp x86_64 1:6.1.2-8.el8 BaseOS 319 k gnupg2 x86_64 2.2.9-1.el8 BaseOS 2.3 M gnutls x86_64 3.6.5-2.el8 BaseOS 896 k grub2-common noarch 1:2.02-66.el8_0.1 BaseOS 880 k grub2-tools x86_64 1:2.02-66.el8_0.1 BaseOS 1.9 M grub2-tools-minimal x86_64 1:2.02-66.el8_0.1 BaseOS 196 k ima-evm-utils x86_64 1.1-4.el8 BaseOS 55 k iptables-libs x86_64 1.8.2-9.el8_0.1 BaseOS 97 k json-c x86_64 0.13.1-0.2.el8 BaseOS 40 k kbd-legacy noarch 2.0.4-8.el8 BaseOS 481 k kbd-misc noarch 2.0.4-8.el8 BaseOS 1.4 M kernel-headers x86_64 4.18.0-80.11.2.el8_0 BaseOS 1.6 M keyutils-libs x86_64 1.5.10-6.el8 BaseOS 34 k kmod x86_64 25-11.el8_0.2 BaseOS 127 k kmod-libs x86_64 25-11.el8_0.2 BaseOS 69 k krb5-libs x86_64 1.16.1-22.el8 BaseOS 840 k libacl x86_64 2.2.53-1.el8 BaseOS 35 k libarchive x86_64 3.3.2-3.el8 BaseOS 358 k libassuan x86_64 2.5.1-3.el8 BaseOS 83 k libattr x86_64 2.4.48-3.el8 BaseOS 27 k libblkid x86_64 2.32.1-8.el8 BaseOS 213 k libcap x86_64 2.25-9.el8 BaseOS 57 k libcap-ng x86_64 0.7.9-4.el8 BaseOS 33 k libcom_err x86_64 1.44.3-2.el8 BaseOS 48 k libcroco x86_64 0.6.12-4.el8 BaseOS 113 k libcurl x86_64 7.61.1-8.el8 BaseOS 294 k libdb x86_64 5.3.28-36.el8 BaseOS 750 k libdb-utils x86_64 5.3.28-36.el8 BaseOS 150 k libfdisk x86_64 2.32.1-8.el8 BaseOS 247 k libffi x86_64 3.1-18.el8 BaseOS 37 k libgcc x86_64 8.2.1-3.5.el8 BaseOS 77 k libgcrypt x86_64 1.8.3-2.el8 BaseOS 459 k libgomp x86_64 8.2.1-3.5.el8 BaseOS 189 k libgpg-error x86_64 1.31-1.el8 BaseOS 242 k libidn2 x86_64 2.0.5-1.el8 BaseOS 90 k libkcapi x86_64 1.1.1-16_1.el8 BaseOS 47 k libkcapi-hmaccalc x86_64 1.1.1-16_1.el8 BaseOS 30 k libksba x86_64 1.3.5-7.el8 BaseOS 135 k libmetalink x86_64 0.1.3-7.el8 BaseOS 32 k libmount x86_64 2.32.1-8.el8 BaseOS 229 k libnghttp2 x86_64 1.33.0-1.el8 BaseOS 77 k libnsl2 x86_64 1.2.0-2.20180605git4a062cf.el8 BaseOS 58 k libpcap x86_64 14:1.9.0-1.el8 BaseOS 160 k libpkgconf x86_64 1.4.2-1.el8 BaseOS 35 k libpsl x86_64 0.20.2-5.el8 BaseOS 61 k libpwquality x86_64 1.4.0-9.el8 BaseOS 103 k libseccomp x86_64 2.3.3-3.el8 BaseOS 64 k libsecret x86_64 0.18.6-1.el8 BaseOS 163 k libselinux x86_64 2.8-6.el8 BaseOS 178 k libsemanage x86_64 2.8-5.el8 BaseOS 162 k libsepol x86_64 2.8-2.el8 BaseOS 338 k libsigsegv x86_64 2.11-5.el8 BaseOS 30 k libsmartcols x86_64 2.32.1-8.el8 BaseOS 173 k libssh x86_64 0.8.5-2.el8 BaseOS 227 k libstdc++ x86_64 8.2.1-3.5.el8 BaseOS 448 k libtasn1 x86_64 4.13-3.el8 BaseOS 76 k libtirpc x86_64 1.1.4-3.el8 BaseOS 112 k libtool-ltdl x86_64 2.4.6-25.el8 BaseOS 58 k libunistring x86_64 0.9.9-3.el8 BaseOS 422 k libusbx x86_64 1.0.22-1.el8 BaseOS 71 k libutempter x86_64 1.1.6-14.el8 BaseOS 32 k libuuid x86_64 2.32.1-8.el8 BaseOS 93 k libverto x86_64 0.3.0-5.el8 BaseOS 24 k libxcrypt x86_64 4.1.1-4.el8 BaseOS 73 k libxcrypt-devel x86_64 4.1.1-4.el8 BaseOS 25 k libxml2 x86_64 2.9.7-5.el8 BaseOS 696 k lua-libs x86_64 5.3.4-10.el8 BaseOS 118 k lz4-libs x86_64 1.8.1.2-4.el8 BaseOS 55 k mpfr x86_64 3.1.6-1.el8 BaseOS 221 k ncurses x86_64 6.1-7.20180224.el8 BaseOS 387 k ncurses-base noarch 6.1-7.20180224.el8 BaseOS 81 k ncurses-libs x86_64 6.1-7.20180224.el8 BaseOS 335 k nettle x86_64 3.4.1-1.el8 BaseOS 302 k npth x86_64 1.5-4.el8 BaseOS 26 k openldap x86_64 2.4.46-9.el8 BaseOS 352 k openssl x86_64 1:1.1.1-8.el8 BaseOS 664 k openssl-libs x86_64 1:1.1.1-8.el8 BaseOS 1.4 M os-prober x86_64 1.74-6.el8 BaseOS 51 k p11-kit x86_64 0.23.14-5.el8_0 BaseOS 272 k p11-kit-trust x86_64 0.23.14-5.el8_0 BaseOS 139 k pam x86_64 1.3.1-4.el8 BaseOS 734 k pcre x86_64 8.42-4.el8 BaseOS 208 k pcre2 x86_64 10.32-1.el8 BaseOS 244 k pkgconf x86_64 1.4.2-1.el8 BaseOS 38 k pkgconf-m4 noarch 1.4.2-1.el8 BaseOS 17 k pkgconf-pkg-config x86_64 1.4.2-1.el8 BaseOS 15 k platform-python x86_64 3.6.8-4.el8_0 BaseOS 79 k platform-python-pip noarch 9.0.3-13.el8 BaseOS 1.8 M platform-python-setuptools noarch 39.2.0-4.el8 BaseOS 632 k popt x86_64 1.16-14.el8 BaseOS 61 k procps-ng x86_64 3.3.15-1.el8 BaseOS 329 k publicsuffix-list-dafsa noarch 20180723-1.el8 BaseOS 56 k python3-libs x86_64 3.6.8-4.el8_0 BaseOS 7.9 M readline x86_64 7.0-10.el8 BaseOS 199 k rpm x86_64 4.14.2-11.el8_0 BaseOS 537 k rpm-build-libs x86_64 4.14.2-11.el8_0 BaseOS 150 k rpm-libs x86_64 4.14.2-11.el8_0 BaseOS 333 k setup noarch 2.12.2-2.el8 BaseOS 180 k sqlite-libs x86_64 3.26.0-3.el8 BaseOS 579 k systemd-libs x86_64 239-13.el8_0.5 BaseOS 551 k systemd-pam x86_64 239-13.el8_0.5 BaseOS 222 k systemd-udev x86_64 239-13.el8_0.5 BaseOS 1.3 M trousers-lib x86_64 0.3.14-2.el8 BaseOS 168 k tzdata noarch 2019a-1.el8 BaseOS 465 k xz-libs x86_64 5.2.4-3.el8 BaseOS 94 k zip x86_64 3.0-23.el8 BaseOS 270 k zlib x86_64 1.2.11-10.el8 BaseOS 101 k annobin x86_64 8.64-1.el8 AppStream 187 k cpp x86_64 8.2.1-3.5.el8 AppStream 10 M dwz x86_64 0.12-9.el8 AppStream 109 k efi-srpm-macros noarch 3-2.el8 AppStream 22 k gc x86_64 7.6.4-3.el8 AppStream 109 k gdb-headless x86_64 8.2-6.el8_0 AppStream 3.7 M ghc-srpm-macros noarch 1.4.2-7.el8 AppStream 9.3 k go-srpm-macros noarch 2-16.el8 AppStream 14 k guile x86_64 5:2.0.14-7.el8 AppStream 3.5 M isl x86_64 0.16.1-6.el8 AppStream 841 k libatomic_ops x86_64 7.6.2-3.el8 AppStream 38 k libbabeltrace x86_64 1.5.4-2.el8 AppStream 201 k libipt x86_64 1.6.1-8.el8 AppStream 50 k libmpc x86_64 1.0.2-9.el8 AppStream 59 k libstdc++-devel x86_64 8.2.1-3.5.el8 AppStream 2.0 M ocaml-srpm-macros noarch 5-4.el8 AppStream 9.4 k openblas-srpm-macros noarch 2-2.el8 AppStream 7.9 k perl-srpm-macros noarch 1-25.el8 AppStream 11 k python-srpm-macros noarch 3-37.el8 AppStream 14 k python3-rpm-macros noarch 3-37.el8 AppStream 13 k qt5-srpm-macros noarch 5.11.1-2.el8 AppStream 11 k rust-srpm-macros noarch 5-2.el8 AppStream 9.2 k xkeyboard-config noarch 2.24-3.el8 AppStream 828 k Installing weak dependencies: cracklib-dicts x86_64 2.9.6-15.el8 BaseOS 4.0 M gnupg2-smime x86_64 2.2.9-1.el8 BaseOS 279 k grubby x86_64 8.40-34.el8 BaseOS 49 k hardlink x86_64 1:1.3-6.el8 BaseOS 29 k kbd x86_64 2.0.4-8.el8 BaseOS 392 k kpartx x86_64 0.7.8-7.el8_0.2 BaseOS 100 k openssl-pkcs11 x86_64 0.4.8-2.el8 BaseOS 64 k pigz x86_64 2.4-2.el8 BaseOS 79 k shared-mime-info x86_64 1.9-3.el8 BaseOS 329 k systemd x86_64 239-13.el8_0.5 BaseOS 3.4 M trousers x86_64 0.3.14-2.el8 BaseOS 153 k libxkbcommon x86_64 0.8.2-1.el8 AppStream 116 k pinentry x86_64 1.1.0-2.el8 AppStream 100 k Transaction Summary ================================================================================ Install 207 Packages Total download size: 168 M Installed size: 674 M Downloading Packages: (1/207): basesystem-11-5.el8.noarch.rpm 94 kB/s | 10 kB 00:00 (2/207): acl-2.2.53-1.el8.x86_64.rpm 454 kB/s | 81 kB 00:00 (3/207): audit-libs-3.0-0.10.20180831git0047a6c 553 kB/s | 116 kB 00:00 (4/207): brotli-1.0.6-1.el8.x86_64.rpm 3.9 MB/s | 323 kB 00:00 (5/207): bzip2-1.0.6-26.el8.x86_64.rpm 1.7 MB/s | 60 kB 00:00 (6/207): bash-4.4.19-8.el8_0.x86_64.rpm 6.6 MB/s | 1.5 MB 00:00 (7/207): bzip2-libs-1.0.6-26.el8.x86_64.rpm 1.4 MB/s | 48 kB 00:00 (8/207): ca-certificates-2018.2.24-6.el8.noarch 9.6 MB/s | 394 kB 00:00 (9/207): centos-release-8.0-0.1905.0.9.el8.x86_ 799 kB/s | 26 kB 00:00 (10/207): chkconfig-1.11-1.el8.x86_64.rpm 4.8 MB/s | 189 kB 00:00 (11/207): coreutils-common-8.30-6.el8.x86_64.rp 16 MB/s | 2.0 MB 00:00 (12/207): cpio-2.12-8.el8.x86_64.rpm 6.5 MB/s | 265 kB 00:00 (13/207): cracklib-2.9.6-15.el8.x86_64.rpm 2.4 MB/s | 93 kB 00:00 (14/207): coreutils-8.30-6.el8.x86_64.rpm 3.1 MB/s | 1.2 MB 00:00 (15/207): crypto-policies-20181217-6.git9a35207 1.1 MB/s | 54 kB 00:00 (16/207): cracklib-dicts-2.9.6-15.el8.x86_64.rp 16 MB/s | 4.0 MB 00:00 (17/207): curl-7.61.1-8.el8.x86_64.rpm 8.5 MB/s | 352 kB 00:00 (18/207): cryptsetup-libs-2.0.6-1.el8.x86_64.rp 3.0 MB/s | 320 kB 00:00 (19/207): cyrus-sasl-lib-2.1.27-0.3rc7.el8.x86_ 3.5 MB/s | 123 kB 00:00 (20/207): dbus-1.12.8-7.el8.x86_64.rpm 1.1 MB/s | 40 kB 00:00 (21/207): binutils-2.30-49.el8.x86_64.rpm 6.7 MB/s | 5.7 MB 00:00 (22/207): dbus-common-1.12.8-7.el8.noarch.rpm 695 kB/s | 45 kB 00:00 (23/207): dbus-daemon-1.12.8-7.el8.x86_64.rpm 3.2 MB/s | 240 kB 00:00 (24/207): dbus-tools-1.12.8-7.el8.x86_64.rpm 2.1 MB/s | 85 kB 00:00 (25/207): dbus-libs-1.12.8-7.el8.x86_64.rpm 4.2 MB/s | 183 kB 00:00 (26/207): device-mapper-libs-1.02.155-6.el8.x86 9.9 MB/s | 402 kB 00:00 (27/207): diffutils-3.6-5.el8.x86_64.rpm 4.8 MB/s | 359 kB 00:00 (28/207): dracut-049-10.git20190115.el8.x86_64. 8.6 MB/s | 361 kB 00:00 (29/207): elfutils-default-yama-scope-0.174-6.e 1.4 MB/s | 46 kB 00:00 (30/207): device-mapper-1.02.155-6.el8.x86_64.r 2.8 MB/s | 370 kB 00:00 (31/207): elfutils-0.174-6.el8.x86_64.rpm 4.8 MB/s | 344 kB 00:00 (32/207): elfutils-libelf-0.174-6.el8.x86_64.rp 5.6 MB/s | 210 kB 00:00 (33/207): expat-2.2.5-3.el8.x86_64.rpm 3.1 MB/s | 110 kB 00:00 (34/207): file-5.33-8.el8.x86_64.rpm 2.2 MB/s | 76 kB 00:00 (35/207): elfutils-libs-0.174-6.el8.x86_64.rpm 2.9 MB/s | 316 kB 00:00 (36/207): filesystem-3.8-2.el8.x86_64.rpm 14 MB/s | 1.1 MB 00:00 (37/207): file-libs-5.33-8.el8.x86_64.rpm 5.2 MB/s | 542 kB 00:00 (38/207): gdbm-1.18-1.el8.x86_64.rpm 3.2 MB/s | 130 kB 00:00 (39/207): gdbm-libs-1.18-1.el8.x86_64.rpm 1.7 MB/s | 60 kB 00:00 (40/207): gawk-4.2.1-1.el8.x86_64.rpm 10 MB/s | 1.1 MB 00:00 (41/207): findutils-4.6.0-20.el8.x86_64.rpm 2.9 MB/s | 528 kB 00:00 (42/207): gettext-libs-0.19.8.1-14.el8.x86_64.r 4.6 MB/s | 311 kB 00:00 (43/207): gettext-0.19.8.1-14.el8.x86_64.rpm 6.0 MB/s | 1.1 MB 00:00 (44/207): glibc-2.28-42.el8.1.x86_64.rpm 8.4 MB/s | 3.8 MB 00:00 (45/207): glibc-common-2.28-42.el8.1.x86_64.rpm 5.2 MB/s | 812 kB 00:00 (46/207): glibc-devel-2.28-42.el8.1.x86_64.rpm 8.9 MB/s | 1.0 MB 00:00 (47/207): glibc-headers-2.28-42.el8.1.x86_64.rp 6.5 MB/s | 465 kB 00:00 (48/207): gmp-6.1.2-8.el8.x86_64.rpm 8.0 MB/s | 319 kB 00:00 (49/207): glib2-2.56.4-1.el8.x86_64.rpm 2.5 MB/s | 2.5 MB 00:00 (50/207): gnupg2-2.2.9-1.el8.x86_64.rpm 9.3 MB/s | 2.3 MB 00:00 (51/207): gnupg2-smime-2.2.9-1.el8.x86_64.rpm 2.3 MB/s | 279 kB 00:00 (52/207): gnutls-3.6.5-2.el8.x86_64.rpm 8.1 MB/s | 896 kB 00:00 (53/207): grep-3.1-6.el8.x86_64.rpm 2.4 MB/s | 274 kB 00:00 (54/207): grub2-common-2.02-66.el8_0.1.noarch.r 8.3 MB/s | 880 kB 00:00 (55/207): grub2-tools-minimal-2.02-66.el8_0.1.x 4.9 MB/s | 196 kB 00:00 (56/207): grubby-8.40-34.el8.x86_64.rpm 1.4 MB/s | 49 kB 00:00 (57/207): gzip-1.9-4.el8.x86_64.rpm 4.6 MB/s | 166 kB 00:00 (58/207): hardlink-1.3-6.el8.x86_64.rpm 866 kB/s | 29 kB 00:00 (59/207): ima-evm-utils-1.1-4.el8.x86_64.rpm 1.6 MB/s | 55 kB 00:00 (60/207): info-6.5-4.el8.x86_64.rpm 5.3 MB/s | 198 kB 00:00 (61/207): iptables-libs-1.8.2-9.el8_0.1.x86_64. 2.8 MB/s | 97 kB 00:00 (62/207): json-c-0.13.1-0.2.el8.x86_64.rpm 1.2 MB/s | 40 kB 00:00 (63/207): kbd-2.0.4-8.el8.x86_64.rpm 8.8 MB/s | 392 kB 00:00 (64/207): kbd-legacy-2.0.4-8.el8.noarch.rpm 6.2 MB/s | 481 kB 00:00 (65/207): grub2-tools-2.02-66.el8_0.1.x86_64.rp 3.2 MB/s | 1.9 MB 00:00 (66/207): kbd-misc-2.0.4-8.el8.noarch.rpm 10 MB/s | 1.4 MB 00:00 (67/207): keyutils-libs-1.5.10-6.el8.x86_64.rpm 1.0 MB/s | 34 kB 00:00 (68/207): kmod-25-11.el8_0.2.x86_64.rpm 3.6 MB/s | 127 kB 00:00 (69/207): kmod-libs-25-11.el8_0.2.x86_64.rpm 2.0 MB/s | 69 kB 00:00 (70/207): kpartx-0.7.8-7.el8_0.2.x86_64.rpm 2.9 MB/s | 100 kB 00:00 (71/207): krb5-libs-1.16.1-22.el8.x86_64.rpm 11 MB/s | 840 kB 00:00 (72/207): libacl-2.2.53-1.el8.x86_64.rpm 961 kB/s | 35 kB 00:00 (73/207): libarchive-3.3.2-3.el8.x86_64.rpm 9.2 MB/s | 358 kB 00:00 (74/207): libassuan-2.5.1-3.el8.x86_64.rpm 2.4 MB/s | 83 kB 00:00 (75/207): libattr-2.4.48-3.el8.x86_64.rpm 819 kB/s | 27 kB 00:00 (76/207): kernel-headers-4.18.0-80.11.2.el8_0.x 3.4 MB/s | 1.6 MB 00:00 (77/207): libblkid-2.32.1-8.el8.x86_64.rpm 4.5 MB/s | 213 kB 00:00 (78/207): libcap-2.25-9.el8.x86_64.rpm 1.7 MB/s | 57 kB 00:00 (79/207): libcap-ng-0.7.9-4.el8.x86_64.rpm 993 kB/s | 33 kB 00:00 (80/207): libcom_err-1.44.3-2.el8.x86_64.rpm 1.4 MB/s | 48 kB 00:00 (81/207): libcroco-0.6.12-4.el8.x86_64.rpm 3.0 MB/s | 113 kB 00:00 (82/207): libdb-5.3.28-36.el8.x86_64.rpm 9.8 MB/s | 750 kB 00:00 (83/207): libcurl-7.61.1-8.el8.x86_64.rpm 2.9 MB/s | 294 kB 00:00 (84/207): libdb-utils-5.3.28-36.el8.x86_64.rpm 4.0 MB/s | 150 kB 00:00 (85/207): libffi-3.1-18.el8.x86_64.rpm 1.1 MB/s | 37 kB 00:00 (86/207): libfdisk-2.32.1-8.el8.x86_64.rpm 3.5 MB/s | 247 kB 00:00 (87/207): libgcc-8.2.1-3.5.el8.x86_64.rpm 2.2 MB/s | 77 kB 00:00 (88/207): libgomp-8.2.1-3.5.el8.x86_64.rpm 5.0 MB/s | 189 kB 00:00 (89/207): libgpg-error-1.31-1.el8.x86_64.rpm 6.1 MB/s | 242 kB 00:00 (90/207): libidn2-2.0.5-1.el8.x86_64.rpm 2.3 MB/s | 90 kB 00:00 (91/207): libgcrypt-1.8.3-2.el8.x86_64.rpm 3.2 MB/s | 459 kB 00:00 (92/207): libkcapi-1.1.1-16_1.el8.x86_64.rpm 1.3 MB/s | 47 kB 00:00 (93/207): libkcapi-hmaccalc-1.1.1-16_1.el8.x86_ 904 kB/s | 30 kB 00:00 (94/207): libksba-1.3.5-7.el8.x86_64.rpm 3.3 MB/s | 135 kB 00:00 (95/207): libmetalink-0.1.3-7.el8.x86_64.rpm 801 kB/s | 32 kB 00:00 (96/207): libmount-2.32.1-8.el8.x86_64.rpm 5.9 MB/s | 229 kB 00:00 (97/207): libnghttp2-1.33.0-1.el8.x86_64.rpm 2.0 MB/s | 77 kB 00:00 (98/207): libnsl2-1.2.0-2.20180605git4a062cf.el 1.7 MB/s | 58 kB 00:00 (99/207): libpkgconf-1.4.2-1.el8.x86_64.rpm 1.0 MB/s | 35 kB 00:00 (100/207): libpcap-1.9.0-1.el8.x86_64.rpm 2.2 MB/s | 160 kB 00:00 (101/207): libpsl-0.20.2-5.el8.x86_64.rpm 1.8 MB/s | 61 kB 00:00 (102/207): libpwquality-1.4.0-9.el8.x86_64.rpm 2.8 MB/s | 103 kB 00:00 (103/207): libseccomp-2.3.3-3.el8.x86_64.rpm 1.8 MB/s | 64 kB 00:00 (104/207): libsecret-0.18.6-1.el8.x86_64.rpm 2.4 MB/s | 163 kB 00:00 (105/207): libselinux-2.8-6.el8.x86_64.rpm 4.3 MB/s | 178 kB 00:00 (106/207): libsepol-2.8-2.el8.x86_64.rpm 8.0 MB/s | 338 kB 00:00 (107/207): libsemanage-2.8-5.el8.x86_64.rpm 2.3 MB/s | 162 kB 00:00 (108/207): libsigsegv-2.11-5.el8.x86_64.rpm 907 kB/s | 30 kB 00:00 (109/207): libssh-0.8.5-2.el8.x86_64.rpm 5.8 MB/s | 227 kB 00:00 (110/207): libsmartcols-2.32.1-8.el8.x86_64.rpm 2.5 MB/s | 173 kB 00:00 (111/207): libtasn1-4.13-3.el8.x86_64.rpm 2.2 MB/s | 76 kB 00:00 (112/207): libstdc++-8.2.1-3.5.el8.x86_64.rpm 6.3 MB/s | 448 kB 00:00 (113/207): libtirpc-1.1.4-3.el8.x86_64.rpm 3.2 MB/s | 112 kB 00:00 (114/207): libtool-ltdl-2.4.6-25.el8.x86_64.rpm 1.6 MB/s | 58 kB 00:00 (115/207): libusbx-1.0.22-1.el8.x86_64.rpm 2.0 MB/s | 71 kB 00:00 (116/207): libutempter-1.1.6-14.el8.x86_64.rpm 960 kB/s | 32 kB 00:00 (117/207): libuuid-2.32.1-8.el8.x86_64.rpm 2.7 MB/s | 93 kB 00:00 (118/207): libunistring-0.9.9-3.el8.x86_64.rpm 3.1 MB/s | 422 kB 00:00 (119/207): libverto-0.3.0-5.el8.x86_64.rpm 733 kB/s | 24 kB 00:00 (120/207): libxcrypt-4.1.1-4.el8.x86_64.rpm 2.1 MB/s | 73 kB 00:00 (121/207): libxcrypt-devel-4.1.1-4.el8.x86_64.r 750 kB/s | 25 kB 00:00 (122/207): lua-libs-5.3.4-10.el8.x86_64.rpm 3.3 MB/s | 118 kB 00:00 (123/207): lz4-libs-1.8.1.2-4.el8.x86_64.rpm 1.6 MB/s | 55 kB 00:00 (124/207): glibc-all-langpacks-2.28-42.el8.1.x8 6.3 MB/s | 25 MB 00:04 (125/207): libxml2-2.9.7-5.el8.x86_64.rpm 764 kB/s | 696 kB 00:00 (126/207): make-4.2.1-9.el8.x86_64.rpm 604 kB/s | 498 kB 00:00 (127/207): mpfr-3.1.6-1.el8.x86_64.rpm 2.0 MB/s | 221 kB 00:00 (128/207): ncurses-base-6.1-7.20180224.el8.noar 2.2 MB/s | 81 kB 00:00 (129/207): ncurses-libs-6.1-7.20180224.el8.x86_ 4.6 MB/s | 335 kB 00:00 (130/207): nettle-3.4.1-1.el8.x86_64.rpm 6.9 MB/s | 302 kB 00:00 (131/207): ncurses-6.1-7.20180224.el8.x86_64.rp 3.6 MB/s | 387 kB 00:00 (132/207): npth-1.5-4.el8.x86_64.rpm 775 kB/s | 26 kB 00:00 (133/207): openldap-2.4.46-9.el8.x86_64.rpm 8.6 MB/s | 352 kB 00:00 (134/207): openssl-pkcs11-0.4.8-2.el8.x86_64.rp 1.8 MB/s | 64 kB 00:00 (135/207): os-prober-1.74-6.el8.x86_64.rpm 1.4 MB/s | 51 kB 00:00 (136/207): p11-kit-0.23.14-5.el8_0.x86_64.rpm 6.6 MB/s | 272 kB 00:00 (137/207): openssl-1.1.1-8.el8.x86_64.rpm 3.8 MB/s | 664 kB 00:00 (138/207): p11-kit-trust-0.23.14-5.el8_0.x86_64 3.4 MB/s | 139 kB 00:00 (139/207): openssl-libs-1.1.1-8.el8.x86_64.rpm 8.3 MB/s | 1.4 MB 00:00 (140/207): patch-2.7.6-9.el8_0.x86_64.rpm 3.9 MB/s | 138 kB 00:00 (141/207): pcre-8.42-4.el8.x86_64.rpm 5.3 MB/s | 208 kB 00:00 (142/207): pcre2-10.32-1.el8.x86_64.rpm 6.4 MB/s | 244 kB 00:00 (143/207): pigz-2.4-2.el8.x86_64.rpm 2.2 MB/s | 79 kB 00:00 (144/207): pkgconf-1.4.2-1.el8.x86_64.rpm 1.1 MB/s | 38 kB 00:00 (145/207): pkgconf-m4-1.4.2-1.el8.noarch.rpm 516 kB/s | 17 kB 00:00 (146/207): pkgconf-pkg-config-1.4.2-1.el8.x86_6 464 kB/s | 15 kB 00:00 (147/207): platform-python-3.6.8-4.el8_0.x86_64 2.3 MB/s | 79 kB 00:00 (148/207): pam-1.3.1-4.el8.x86_64.rpm 3.6 MB/s | 734 kB 00:00 (149/207): popt-1.16-14.el8.x86_64.rpm 1.7 MB/s | 61 kB 00:00 (150/207): platform-python-setuptools-39.2.0-4. 5.9 MB/s | 632 kB 00:00 (151/207): publicsuffix-list-dafsa-20180723-1.e 1.6 MB/s | 56 kB 00:00 (152/207): platform-python-pip-9.0.3-13.el8.noa 10 MB/s | 1.8 MB 00:00 (153/207): procps-ng-3.3.15-1.el8.x86_64.rpm 3.1 MB/s | 329 kB 00:00 (154/207): readline-7.0-10.el8.x86_64.rpm 5.4 MB/s | 199 kB 00:00 (155/207): rpm-build-libs-4.14.2-11.el8_0.x86_6 3.9 MB/s | 150 kB 00:00 (156/207): rpm-libs-4.14.2-11.el8_0.x86_64.rpm 8.0 MB/s | 333 kB 00:00 (157/207): rpm-4.14.2-11.el8_0.x86_64.rpm 3.7 MB/s | 537 kB 00:00 (158/207): sed-4.5-1.el8.x86_64.rpm 7.1 MB/s | 298 kB 00:00 (159/207): setup-2.12.2-2.el8.noarch.rpm 2.6 MB/s | 180 kB 00:00 (160/207): shadow-utils-4.6-7.el8.x86_64.rpm 11 MB/s | 1.2 MB 00:00 (161/207): shared-mime-info-1.9-3.el8.x86_64.rp 3.1 MB/s | 329 kB 00:00 (162/207): sqlite-libs-3.26.0-3.el8.x86_64.rpm 7.8 MB/s | 579 kB 00:00 (163/207): systemd-libs-239-13.el8_0.5.x86_64.r 7.6 MB/s | 551 kB 00:00 (164/207): systemd-pam-239-13.el8_0.5.x86_64.rp 6.0 MB/s | 222 kB 00:00 (165/207): systemd-udev-239-13.el8_0.5.x86_64.r 12 MB/s | 1.3 MB 00:00 (166/207): tar-1.30-4.el8.x86_64.rpm 3.0 MB/s | 838 kB 00:00 (167/207): python3-libs-3.6.8-4.el8_0.x86_64.rp 8.6 MB/s | 7.9 MB 00:00 (168/207): trousers-0.3.14-2.el8.x86_64.rpm 2.5 MB/s | 153 kB 00:00 (169/207): trousers-lib-0.3.14-2.el8.x86_64.rpm 4.6 MB/s | 168 kB 00:00 (170/207): tzdata-2019a-1.el8.noarch.rpm 12 MB/s | 465 kB 00:00 (171/207): unzip-6.0-41.el8.x86_64.rpm 5.1 MB/s | 193 kB 00:00 (172/207): which-2.21-10.el8.x86_64.rpm 1.4 MB/s | 49 kB 00:00 (173/207): xz-5.2.4-3.el8.x86_64.rpm 3.5 MB/s | 153 kB 00:00 (174/207): xz-libs-5.2.4-3.el8.x86_64.rpm 2.5 MB/s | 94 kB 00:00 (175/207): zip-3.0-23.el8.x86_64.rpm 6.5 MB/s | 270 kB 00:00 (176/207): zlib-1.2.11-10.el8.x86_64.rpm 2.2 MB/s | 101 kB 00:00 (177/207): systemd-239-13.el8_0.5.x86_64.rpm 3.8 MB/s | 3.4 MB 00:00 (178/207): util-linux-2.32.1-8.el8.x86_64.rpm 3.5 MB/s | 2.5 MB 00:00 (179/207): dwz-0.12-9.el8.x86_64.rpm 197 kB/s | 109 kB 00:00 (180/207): efi-srpm-macros-3-2.el8.noarch.rpm 375 kB/s | 22 kB 00:00 (181/207): gc-7.6.4-3.el8.x86_64.rpm 924 kB/s | 109 kB 00:00 (182/207): annobin-8.64-1.el8.x86_64.rpm 136 kB/s | 187 kB 00:01 (183/207): gcc-8.2.1-3.5.el8.x86_64.rpm 7.2 MB/s | 23 MB 00:03 (184/207): gdb-headless-8.2-6.el8_0.x86_64.rpm 14 MB/s | 3.7 MB 00:00 (185/207): ghc-srpm-macros-1.4.2-7.el8.noarch.r 158 kB/s | 9.3 kB 00:00 (186/207): go-srpm-macros-2-16.el8.noarch.rpm 239 kB/s | 14 kB 00:00 (187/207): guile-2.0.14-7.el8.x86_64.rpm 14 MB/s | 3.5 MB 00:00 (188/207): isl-0.16.1-6.el8.x86_64.rpm 6.5 MB/s | 841 kB 00:00 (189/207): libatomic_ops-7.6.2-3.el8.x86_64.rpm 640 kB/s | 38 kB 00:00 (190/207): libbabeltrace-1.5.4-2.el8.x86_64.rpm 3.2 MB/s | 201 kB 00:00 (191/207): libipt-1.6.1-8.el8.x86_64.rpm 834 kB/s | 50 kB 00:00 (192/207): libmpc-1.0.2-9.el8.x86_64.rpm 977 kB/s | 59 kB 00:00 (193/207): libstdc++-devel-8.2.1-3.5.el8.x86_64 8.0 MB/s | 2.0 MB 00:00 (194/207): libxkbcommon-0.8.2-1.el8.x86_64.rpm 1.9 MB/s | 116 kB 00:00 (195/207): ocaml-srpm-macros-5-4.el8.noarch.rpm 160 kB/s | 9.4 kB 00:00 (196/207): openblas-srpm-macros-2-2.el8.noarch. 136 kB/s | 7.9 kB 00:00 (197/207): perl-srpm-macros-1-25.el8.noarch.rpm 184 kB/s | 11 kB 00:00 (198/207): pinentry-1.1.0-2.el8.x86_64.rpm 1.6 MB/s | 100 kB 00:00 (199/207): python-srpm-macros-3-37.el8.noarch.r 236 kB/s | 14 kB 00:00 (200/207): python3-rpm-macros-3-37.el8.noarch.r 42 kB/s | 13 kB 00:00 (201/207): qt5-srpm-macros-5.11.1-2.el8.noarch. 106 kB/s | 11 kB 00:00 (202/207): redhat-rpm-config-116-1.el8.0.1.noar 797 kB/s | 82 kB 00:00 (203/207): rpm-build-4.14.2-11.el8_0.x86_64.rpm 1.6 MB/s | 166 kB 00:00 (204/207): rust-srpm-macros-5-2.el8.noarch.rpm 158 kB/s | 9.2 kB 00:00 (205/207): xkeyboard-config-2.24-3.el8.noarch.r 4.5 MB/s | 828 kB 00:00 (206/207): cpp-8.2.1-3.5.el8.x86_64.rpm 885 kB/s | 10 MB 00:12 (207/207): gcc-c++-8.2.1-3.5.el8.x86_64.rpm 773 kB/s | 12 MB 00:16 -------------------------------------------------------------------------------- Total 6.6 MB/s | 168 MB 00:25 warning: /var/lib/mock/1062301-epel-8-x86_64-1571288288.124203/root/var/cache/dnf/BaseOS-586be817612a3cb1/packages/acl-2.2.53-1.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY CentOS-8 - Base 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x8483C65D: Userid : "CentOS (CentOS Official Signing Key) " Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D From : /usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: filesystem-3.8-2.el8.x86_64 1/1 Preparing : 1/1 Installing : libgcc-8.2.1-3.5.el8.x86_64 1/207 Running scriptlet: libgcc-8.2.1-3.5.el8.x86_64 1/207 Installing : xkeyboard-config-2.24-3.el8.noarch 2/207 Installing : rust-srpm-macros-5-2.el8.noarch 3/207 Installing : qt5-srpm-macros-5.11.1-2.el8.noarch 4/207 Installing : python3-rpm-macros-3-37.el8.noarch 5/207 Installing : python-srpm-macros-3-37.el8.noarch 6/207 Installing : perl-srpm-macros-1-25.el8.noarch 7/207 Installing : openblas-srpm-macros-2-2.el8.noarch 8/207 Installing : ocaml-srpm-macros-5-4.el8.noarch 9/207 Installing : go-srpm-macros-2-16.el8.noarch 10/207 Installing : ghc-srpm-macros-1.4.2-7.el8.noarch 11/207 Installing : tzdata-2019a-1.el8.noarch 12/207 Installing : publicsuffix-list-dafsa-20180723-1.el8.noarch 13/207 Installing : pkgconf-m4-1.4.2-1.el8.noarch 14/207 Installing : ncurses-base-6.1-7.20180224.el8.noarch 15/207 Installing : kernel-headers-4.18.0-80.11.2.el8_0.x86_64 16/207 Installing : kbd-misc-2.0.4-8.el8.noarch 17/207 Installing : kbd-legacy-2.0.4-8.el8.noarch 18/207 Installing : dbus-common-1:1.12.8-7.el8.noarch 19/207 Installing : centos-release-8.0-0.1905.0.9.el8.x86_64 20/207 Installing : setup-2.12.2-2.el8.noarch 21/207 warning: /etc/hosts created as /etc/hosts.rpmnew Running scriptlet: setup-2.12.2-2.el8.noarch 21/207 Installing : filesystem-3.8-2.el8.x86_64 22/207 Installing : basesystem-11-5.el8.noarch 23/207 Installing : pcre2-10.32-1.el8.x86_64 24/207 Installing : libselinux-2.8-6.el8.x86_64 25/207 Installing : ncurses-libs-6.1-7.20180224.el8.x86_64 26/207 Installing : glibc-all-langpacks-2.28-42.el8.1.x86_64 27/207 Installing : glibc-common-2.28-42.el8.1.x86_64 28/207 Running scriptlet: glibc-2.28-42.el8.1.x86_64 29/207 Installing : glibc-2.28-42.el8.1.x86_64 29/207 Running scriptlet: glibc-2.28-42.el8.1.x86_64 29/207 Installing : bash-4.4.19-8.el8_0.x86_64 30/207 Running scriptlet: bash-4.4.19-8.el8_0.x86_64 30/207 Installing : libsepol-2.8-2.el8.x86_64 31/207 Running scriptlet: libsepol-2.8-2.el8.x86_64 31/207 Installing : zlib-1.2.11-10.el8.x86_64 32/207 Installing : info-6.5-4.el8.x86_64 33/207 Installing : xz-libs-5.2.4-3.el8.x86_64 34/207 Installing : bzip2-libs-1.0.6-26.el8.x86_64 35/207 Installing : gmp-1:6.1.2-8.el8.x86_64 36/207 Running scriptlet: gmp-1:6.1.2-8.el8.x86_64 36/207 Installing : elfutils-libelf-0.174-6.el8.x86_64 37/207 Installing : libcap-2.25-9.el8.x86_64 38/207 Installing : libgpg-error-1.31-1.el8.x86_64 39/207 Installing : libstdc++-8.2.1-3.5.el8.x86_64 40/207 Running scriptlet: libstdc++-8.2.1-3.5.el8.x86_64 40/207 Installing : libxcrypt-4.1.1-4.el8.x86_64 41/207 Installing : readline-7.0-10.el8.x86_64 42/207 Running scriptlet: readline-7.0-10.el8.x86_64 42/207 Installing : mpfr-3.1.6-1.el8.x86_64 43/207 Running scriptlet: mpfr-3.1.6-1.el8.x86_64 43/207 Installing : libunistring-0.9.9-3.el8.x86_64 44/207 Installing : libuuid-2.32.1-8.el8.x86_64 45/207 Running scriptlet: libuuid-2.32.1-8.el8.x86_64 45/207 Installing : popt-1.16-14.el8.x86_64 46/207 Installing : chkconfig-1.11-1.el8.x86_64 47/207 Installing : libgcrypt-1.8.3-2.el8.x86_64 48/207 Running scriptlet: libgcrypt-1.8.3-2.el8.x86_64 48/207 Installing : libxml2-2.9.7-5.el8.x86_64 49/207 Installing : libattr-2.4.48-3.el8.x86_64 50/207 Installing : libacl-2.2.53-1.el8.x86_64 51/207 Installing : sed-4.5-1.el8.x86_64 52/207 Running scriptlet: sed-4.5-1.el8.x86_64 52/207 Installing : libcom_err-1.44.3-2.el8.x86_64 53/207 Running scriptlet: libcom_err-1.44.3-2.el8.x86_64 53/207 Installing : libffi-3.1-18.el8.x86_64 54/207 Installing : libidn2-2.0.5-1.el8.x86_64 55/207 Running scriptlet: libidn2-2.0.5-1.el8.x86_64 55/207 Installing : findutils-1:4.6.0-20.el8.x86_64 56/207 Running scriptlet: findutils-1:4.6.0-20.el8.x86_64 56/207 Installing : expat-2.2.5-3.el8.x86_64 57/207 Installing : lua-libs-5.3.4-10.el8.x86_64 58/207 Installing : p11-kit-0.23.14-5.el8_0.x86_64 59/207 Running scriptlet: p11-kit-0.23.14-5.el8_0.x86_64 59/207 Installing : libmpc-1.0.2-9.el8.x86_64 60/207 Running scriptlet: libmpc-1.0.2-9.el8.x86_64 60/207 Installing : libassuan-2.5.1-3.el8.x86_64 61/207 Installing : libgomp-8.2.1-3.5.el8.x86_64 62/207 Running scriptlet: libgomp-8.2.1-3.5.el8.x86_64 62/207 Installing : file-libs-5.33-8.el8.x86_64 63/207 Installing : file-5.33-8.el8.x86_64 64/207 Installing : libcap-ng-0.7.9-4.el8.x86_64 65/207 Installing : audit-libs-3.0-0.10.20180831git0047a6c.el8.x86_6 66/207 Installing : lz4-libs-1.8.1.2-4.el8.x86_64 67/207 Installing : libksba-1.3.5-7.el8.x86_64 68/207 Installing : unzip-6.0-41.el8.x86_64 69/207 Installing : diffutils-3.6-5.el8.x86_64 70/207 Running scriptlet: diffutils-3.6-5.el8.x86_64 70/207 Installing : sqlite-libs-3.26.0-3.el8.x86_64 71/207 Running scriptlet: glibc-headers-2.28-42.el8.1.x86_64 72/207 Installing : glibc-headers-2.28-42.el8.1.x86_64 72/207 Installing : grub2-common-1:2.02-66.el8_0.1.noarch 73/207 Installing : cpio-2.12-8.el8.x86_64 74/207 Installing : gdbm-libs-1:1.18-1.el8.x86_64 75/207 Installing : keyutils-libs-1.5.10-6.el8.x86_64 76/207 Installing : libtasn1-4.13-3.el8.x86_64 77/207 Running scriptlet: libtasn1-4.13-3.el8.x86_64 77/207 Installing : p11-kit-trust-0.23.14-5.el8_0.x86_64 78/207 Running scriptlet: p11-kit-trust-0.23.14-5.el8_0.x86_64 78/207 Installing : pcre-8.42-4.el8.x86_64 79/207 Installing : grep-3.1-6.el8.x86_64 80/207 Running scriptlet: grep-3.1-6.el8.x86_64 80/207 Installing : xz-5.2.4-3.el8.x86_64 81/207 Installing : gdbm-1:1.18-1.el8.x86_64 82/207 Installing : zip-3.0-23.el8.x86_64 83/207 Installing : libsemanage-2.8-5.el8.x86_64 84/207 Installing : cpp-8.2.1-3.5.el8.x86_64 85/207 Running scriptlet: cpp-8.2.1-3.5.el8.x86_64 85/207 Installing : libmetalink-0.1.3-7.el8.x86_64 86/207 Installing : libpsl-0.20.2-5.el8.x86_64 87/207 Installing : acl-2.2.53-1.el8.x86_64 88/207 Installing : tar-2:1.30-4.el8.x86_64 89/207 Running scriptlet: tar-2:1.30-4.el8.x86_64 89/207 Installing : patch-2.7.6-9.el8_0.x86_64 90/207 Installing : libstdc++-devel-8.2.1-3.5.el8.x86_64 91/207 Installing : dwz-0.12-9.el8.x86_64 92/207 Installing : nettle-3.4.1-1.el8.x86_64 93/207 Running scriptlet: nettle-3.4.1-1.el8.x86_64 93/207 Installing : isl-0.16.1-6.el8.x86_64 94/207 Running scriptlet: isl-0.16.1-6.el8.x86_64 94/207 Installing : bzip2-1.0.6-26.el8.x86_64 95/207 Installing : coreutils-common-8.30-6.el8.x86_64 96/207 Running scriptlet: coreutils-common-8.30-6.el8.x86_64 96/207 Installing : pigz-2.4-2.el8.x86_64 97/207 Installing : brotli-1.0.6-1.el8.x86_64 98/207 Installing : hardlink-1:1.3-6.el8.x86_64 99/207 Installing : json-c-0.13.1-0.2.el8.x86_64 100/207 Installing : libnghttp2-1.33.0-1.el8.x86_64 101/207 Installing : libpkgconf-1.4.2-1.el8.x86_64 102/207 Installing : pkgconf-1.4.2-1.el8.x86_64 103/207 Installing : pkgconf-pkg-config-1.4.2-1.el8.x86_64 104/207 Installing : libpcap-14:1.9.0-1.el8.x86_64 105/207 Installing : iptables-libs-1.8.2-9.el8_0.1.x86_64 106/207 Installing : libxcrypt-devel-4.1.1-4.el8.x86_64 107/207 Installing : glibc-devel-2.28-42.el8.1.x86_64 108/207 Running scriptlet: glibc-devel-2.28-42.el8.1.x86_64 108/207 Installing : libseccomp-2.3.3-3.el8.x86_64 109/207 Running scriptlet: libseccomp-2.3.3-3.el8.x86_64 109/207 Installing : libsigsegv-2.11-5.el8.x86_64 110/207 Installing : gawk-4.2.1-1.el8.x86_64 111/207 Installing : libsmartcols-2.32.1-8.el8.x86_64 112/207 Running scriptlet: libsmartcols-2.32.1-8.el8.x86_64 112/207 Installing : libtool-ltdl-2.4.6-25.el8.x86_64 113/207 Running scriptlet: libtool-ltdl-2.4.6-25.el8.x86_64 113/207 Installing : libverto-0.3.0-5.el8.x86_64 114/207 Installing : ncurses-6.1-7.20180224.el8.x86_64 115/207 Installing : npth-1.5-4.el8.x86_64 116/207 Installing : which-2.21-10.el8.x86_64 117/207 Installing : libatomic_ops-7.6.2-3.el8.x86_64 118/207 Installing : gc-7.6.4-3.el8.x86_64 119/207 Installing : libipt-1.6.1-8.el8.x86_64 120/207 Installing : libxkbcommon-0.8.2-1.el8.x86_64 121/207 Installing : cyrus-sasl-lib-2.1.27-0.3rc7.el8.x86_64 122/207 Running scriptlet: cyrus-sasl-lib-2.1.27-0.3rc7.el8.x86_64 122/207 Installing : libssh-0.8.5-2.el8.x86_64 123/207 Installing : openldap-2.4.46-9.el8.x86_64 124/207 Installing : libcurl-7.61.1-8.el8.x86_64 125/207 Installing : libkcapi-1.1.1-16_1.el8.x86_64 126/207 Installing : libkcapi-hmaccalc-1.1.1-16_1.el8.x86_64 127/207 Installing : libarchive-3.3.2-3.el8.x86_64 128/207 Installing : libdb-utils-5.3.28-36.el8.x86_64 129/207 Installing : curl-7.61.1-8.el8.x86_64 130/207 Installing : openssl-1:1.1.1-8.el8.x86_64 131/207 Installing : elfutils-default-yama-scope-0.174-6.el8.noarch 132/207 Running scriptlet: elfutils-default-yama-scope-0.174-6.el8.noarch 132/207 Installing : elfutils-libs-0.174-6.el8.x86_64 133/207 Installing : gzip-1.9-4.el8.x86_64 134/207 Running scriptlet: gzip-1.9-4.el8.x86_64 134/207 Installing : cracklib-2.9.6-15.el8.x86_64 135/207 Installing : cracklib-dicts-2.9.6-15.el8.x86_64 136/207 Installing : gettext-libs-0.19.8.1-14.el8.x86_64 137/207 Installing : libcroco-0.6.12-4.el8.x86_64 138/207 Running scriptlet: libcroco-0.6.12-4.el8.x86_64 138/207 Installing : procps-ng-3.3.15-1.el8.x86_64 139/207 Installing : krb5-libs-1.16.1-22.el8.x86_64 140/207 Installing : libtirpc-1.1.4-3.el8.x86_64 141/207 Running scriptlet: libtirpc-1.1.4-3.el8.x86_64 141/207 Installing : libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64 142/207 Running scriptlet: libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64 142/207 Installing : grub2-tools-minimal-1:2.02-66.el8_0.1.x86_64 143/207 Installing : kpartx-0.7.8-7.el8_0.2.x86_64 144/207 Installing : device-mapper-8:1.02.155-6.el8.x86_64 145/207 Installing : openssl-pkcs11-0.4.8-2.el8.x86_64 146/207 Running scriptlet: openssl-pkcs11-0.4.8-2.el8.x86_64 146/207 Installing : rpm-4.14.2-11.el8_0.x86_64 147/207 Installing : libfdisk-2.32.1-8.el8.x86_64 148/207 Running scriptlet: libfdisk-2.32.1-8.el8.x86_64 148/207 Installing : libmount-2.32.1-8.el8.x86_64 149/207 Running scriptlet: libmount-2.32.1-8.el8.x86_64 149/207 Installing : gettext-0.19.8.1-14.el8.x86_64 150/207 Running scriptlet: gettext-0.19.8.1-14.el8.x86_64 150/207 Installing : glib2-2.56.4-1.el8.x86_64 151/207 Installing : dbus-libs-1:1.12.8-7.el8.x86_64 152/207 Running scriptlet: dbus-libs-1:1.12.8-7.el8.x86_64 152/207 Installing : dbus-tools-1:1.12.8-7.el8.x86_64 153/207 Installing : coreutils-8.30-6.el8.x86_64 154/207 Installing : systemd-libs-239-13.el8_0.5.x86_64 155/207 Running scriptlet: systemd-libs-239-13.el8_0.5.x86_64 155/207 Installing : libblkid-2.32.1-8.el8.x86_64 156/207 Running scriptlet: libblkid-2.32.1-8.el8.x86_64 156/207 Installing : device-mapper-libs-8:1.02.155-6.el8.x86_64 157/207 Running scriptlet: device-mapper-libs-8:1.02.155-6.el8.x86_64 157/207 Installing : shadow-utils-2:4.6-7.el8.x86_64 158/207 Running scriptlet: ca-certificates-2018.2.24-6.el8.noarch 159/207 Installing : ca-certificates-2018.2.24-6.el8.noarch 159/207 Running scriptlet: ca-certificates-2018.2.24-6.el8.noarch 159/207 Running scriptlet: dbus-daemon-1:1.12.8-7.el8.x86_64 160/207 Installing : dbus-daemon-1:1.12.8-7.el8.x86_64 160/207 Running scriptlet: dbus-daemon-1:1.12.8-7.el8.x86_64 160/207 Running scriptlet: libutempter-1.1.6-14.el8.x86_64 161/207 Installing : libutempter-1.1.6-14.el8.x86_64 161/207 Installing : shared-mime-info-1.9-3.el8.x86_64 162/207 Running scriptlet: shared-mime-info-1.9-3.el8.x86_64 162/207 Installing : kmod-25-11.el8_0.2.x86_64 163/207 Installing : kmod-libs-25-11.el8_0.2.x86_64 164/207 Running scriptlet: kmod-libs-25-11.el8_0.2.x86_64 164/207 Installing : kbd-2.0.4-8.el8.x86_64 165/207 Installing : libpwquality-1.4.0-9.el8.x86_64 166/207 Installing : systemd-pam-239-13.el8_0.5.x86_64 167/207 Installing : cryptsetup-libs-2.0.6-1.el8.x86_64 168/207 Running scriptlet: cryptsetup-libs-2.0.6-1.el8.x86_64 168/207 Installing : dracut-049-10.git20190115.el8.x86_64 169/207 Installing : libdb-5.3.28-36.el8.x86_64 170/207 Running scriptlet: libdb-5.3.28-36.el8.x86_64 170/207 Installing : pam-1.3.1-4.el8.x86_64 171/207 Running scriptlet: pam-1.3.1-4.el8.x86_64 171/207 Installing : util-linux-2.32.1-8.el8.x86_64 172/207 Running scriptlet: util-linux-2.32.1-8.el8.x86_64 172/207 Installing : rpm-libs-4.14.2-11.el8_0.x86_64 173/207 Running scriptlet: rpm-libs-4.14.2-11.el8_0.x86_64 173/207 Installing : trousers-lib-0.3.14-2.el8.x86_64 174/207 Running scriptlet: trousers-lib-0.3.14-2.el8.x86_64 174/207 Installing : openssl-libs-1:1.1.1-8.el8.x86_64 175/207 Running scriptlet: openssl-libs-1:1.1.1-8.el8.x86_64 175/207 Installing : grubby-8.40-34.el8.x86_64 176/207 Installing : crypto-policies-20181217-6.git9a35207.el8.noarch 177/207 Running scriptlet: crypto-policies-20181217-6.git9a35207.el8.noarch 177/207 Installing : os-prober-1.74-6.el8.x86_64 178/207 Running scriptlet: grub2-tools-1:2.02-66.el8_0.1.x86_64 179/207 Installing : grub2-tools-1:2.02-66.el8_0.1.x86_64 179/207 Running scriptlet: grub2-tools-1:2.02-66.el8_0.1.x86_64 179/207 Installing : gnutls-3.6.5-2.el8.x86_64 180/207 Installing : dbus-1:1.12.8-7.el8.x86_64 181/207 Running scriptlet: systemd-239-13.el8_0.5.x86_64 182/207 Installing : systemd-239-13.el8_0.5.x86_64 182/207 Running scriptlet: systemd-239-13.el8_0.5.x86_64 182/207 Installing : systemd-udev-239-13.el8_0.5.x86_64 183/207 Running scriptlet: systemd-udev-239-13.el8_0.5.x86_64 183/207 Running scriptlet: trousers-0.3.14-2.el8.x86_64 184/207 Installing : trousers-0.3.14-2.el8.x86_64 184/207 Running scriptlet: trousers-0.3.14-2.el8.x86_64 184/207 Installing : platform-python-pip-9.0.3-13.el8.noarch 185/207 Installing : platform-python-setuptools-39.2.0-4.el8.noarch 186/207 Installing : platform-python-3.6.8-4.el8_0.x86_64 187/207 Running scriptlet: platform-python-3.6.8-4.el8_0.x86_64 187/207 Installing : python3-libs-3.6.8-4.el8_0.x86_64 188/207 Installing : binutils-2.30-49.el8.x86_64 189/207 Running scriptlet: binutils-2.30-49.el8.x86_64 189/207 Installing : gcc-8.2.1-3.5.el8.x86_64 190/207 Running scriptlet: gcc-8.2.1-3.5.el8.x86_64 190/207 Installing : ima-evm-utils-1.1-4.el8.x86_64 191/207 Installing : annobin-8.64-1.el8.x86_64 192/207 Installing : libusbx-1.0.22-1.el8.x86_64 193/207 Installing : guile-5:2.0.14-7.el8.x86_64 194/207 Running scriptlet: guile-5:2.0.14-7.el8.x86_64 194/207 Installing : libsecret-0.18.6-1.el8.x86_64 195/207 Installing : pinentry-1.1.0-2.el8.x86_64 196/207 Running scriptlet: pinentry-1.1.0-2.el8.x86_64 196/207 Installing : gnupg2-smime-2.2.9-1.el8.x86_64 197/207 Installing : gnupg2-2.2.9-1.el8.x86_64 198/207 Installing : rpm-build-libs-4.14.2-11.el8_0.x86_64 199/207 Running scriptlet: rpm-build-libs-4.14.2-11.el8_0.x86_64 199/207 Installing : libbabeltrace-1.5.4-2.el8.x86_64 200/207 Running scriptlet: libbabeltrace-1.5.4-2.el8.x86_64 200/207 Installing : gdb-headless-8.2-6.el8_0.x86_64 201/207 Installing : efi-srpm-macros-3-2.el8.noarch 202/207 Installing : redhat-rpm-config-116-1.el8.0.1.noarch 203/207 Installing : elfutils-0.174-6.el8.x86_64 204/207 Installing : rpm-build-4.14.2-11.el8_0.x86_64 205/207 Installing : gcc-c++-8.2.1-3.5.el8.x86_64 206/207 Installing : make-1:4.2.1-9.el8.x86_64 207/207 Running scriptlet: make-1:4.2.1-9.el8.x86_64 207/207 Running scriptlet: filesystem-3.8-2.el8.x86_64 207/207 Running scriptlet: glibc-all-langpacks-2.28-42.el8.1.x86_64 207/207 Running scriptlet: guile-5:2.0.14-7.el8.x86_64 207/207 Running scriptlet: glibc-common-2.28-42.el8.1.x86_64 207/207 Running scriptlet: info-6.5-4.el8.x86_64 207/207 Running scriptlet: glib2-2.56.4-1.el8.x86_64 207/207 Running scriptlet: shared-mime-info-1.9-3.el8.x86_64 207/207 Running scriptlet: systemd-239-13.el8_0.5.x86_64 207/207 Running scriptlet: systemd-udev-239-13.el8_0.5.x86_64 207/207 Verifying : acl-2.2.53-1.el8.x86_64 1/207 Verifying : audit-libs-3.0-0.10.20180831git0047a6c.el8.x86_6 2/207 Verifying : basesystem-11-5.el8.noarch 3/207 Verifying : bash-4.4.19-8.el8_0.x86_64 4/207 Verifying : binutils-2.30-49.el8.x86_64 5/207 Verifying : brotli-1.0.6-1.el8.x86_64 6/207 Verifying : bzip2-1.0.6-26.el8.x86_64 7/207 Verifying : bzip2-libs-1.0.6-26.el8.x86_64 8/207 Verifying : ca-certificates-2018.2.24-6.el8.noarch 9/207 Verifying : centos-release-8.0-0.1905.0.9.el8.x86_64 10/207 Verifying : chkconfig-1.11-1.el8.x86_64 11/207 Verifying : coreutils-8.30-6.el8.x86_64 12/207 Verifying : coreutils-common-8.30-6.el8.x86_64 13/207 Verifying : cpio-2.12-8.el8.x86_64 14/207 Verifying : cracklib-2.9.6-15.el8.x86_64 15/207 Verifying : cracklib-dicts-2.9.6-15.el8.x86_64 16/207 Verifying : crypto-policies-20181217-6.git9a35207.el8.noarch 17/207 Verifying : cryptsetup-libs-2.0.6-1.el8.x86_64 18/207 Verifying : curl-7.61.1-8.el8.x86_64 19/207 Verifying : cyrus-sasl-lib-2.1.27-0.3rc7.el8.x86_64 20/207 Verifying : dbus-1:1.12.8-7.el8.x86_64 21/207 Verifying : dbus-common-1:1.12.8-7.el8.noarch 22/207 Verifying : dbus-daemon-1:1.12.8-7.el8.x86_64 23/207 Verifying : dbus-libs-1:1.12.8-7.el8.x86_64 24/207 Verifying : dbus-tools-1:1.12.8-7.el8.x86_64 25/207 Verifying : device-mapper-8:1.02.155-6.el8.x86_64 26/207 Verifying : device-mapper-libs-8:1.02.155-6.el8.x86_64 27/207 Verifying : diffutils-3.6-5.el8.x86_64 28/207 Verifying : dracut-049-10.git20190115.el8.x86_64 29/207 Verifying : elfutils-0.174-6.el8.x86_64 30/207 Verifying : elfutils-default-yama-scope-0.174-6.el8.noarch 31/207 Verifying : elfutils-libelf-0.174-6.el8.x86_64 32/207 Verifying : elfutils-libs-0.174-6.el8.x86_64 33/207 Verifying : expat-2.2.5-3.el8.x86_64 34/207 Verifying : file-5.33-8.el8.x86_64 35/207 Verifying : file-libs-5.33-8.el8.x86_64 36/207 Verifying : filesystem-3.8-2.el8.x86_64 37/207 Verifying : findutils-1:4.6.0-20.el8.x86_64 38/207 Verifying : gawk-4.2.1-1.el8.x86_64 39/207 Verifying : gdbm-1:1.18-1.el8.x86_64 40/207 Verifying : gdbm-libs-1:1.18-1.el8.x86_64 41/207 Verifying : gettext-0.19.8.1-14.el8.x86_64 42/207 Verifying : gettext-libs-0.19.8.1-14.el8.x86_64 43/207 Verifying : glib2-2.56.4-1.el8.x86_64 44/207 Verifying : glibc-2.28-42.el8.1.x86_64 45/207 Verifying : glibc-all-langpacks-2.28-42.el8.1.x86_64 46/207 Verifying : glibc-common-2.28-42.el8.1.x86_64 47/207 Verifying : glibc-devel-2.28-42.el8.1.x86_64 48/207 Verifying : glibc-headers-2.28-42.el8.1.x86_64 49/207 Verifying : gmp-1:6.1.2-8.el8.x86_64 50/207 Verifying : gnupg2-2.2.9-1.el8.x86_64 51/207 Verifying : gnupg2-smime-2.2.9-1.el8.x86_64 52/207 Verifying : gnutls-3.6.5-2.el8.x86_64 53/207 Verifying : grep-3.1-6.el8.x86_64 54/207 Verifying : grub2-common-1:2.02-66.el8_0.1.noarch 55/207 Verifying : grub2-tools-1:2.02-66.el8_0.1.x86_64 56/207 Verifying : grub2-tools-minimal-1:2.02-66.el8_0.1.x86_64 57/207 Verifying : grubby-8.40-34.el8.x86_64 58/207 Verifying : gzip-1.9-4.el8.x86_64 59/207 Verifying : hardlink-1:1.3-6.el8.x86_64 60/207 Verifying : ima-evm-utils-1.1-4.el8.x86_64 61/207 Verifying : info-6.5-4.el8.x86_64 62/207 Verifying : iptables-libs-1.8.2-9.el8_0.1.x86_64 63/207 Verifying : json-c-0.13.1-0.2.el8.x86_64 64/207 Verifying : kbd-2.0.4-8.el8.x86_64 65/207 Verifying : kbd-legacy-2.0.4-8.el8.noarch 66/207 Verifying : kbd-misc-2.0.4-8.el8.noarch 67/207 Verifying : kernel-headers-4.18.0-80.11.2.el8_0.x86_64 68/207 Verifying : keyutils-libs-1.5.10-6.el8.x86_64 69/207 Verifying : kmod-25-11.el8_0.2.x86_64 70/207 Verifying : kmod-libs-25-11.el8_0.2.x86_64 71/207 Verifying : kpartx-0.7.8-7.el8_0.2.x86_64 72/207 Verifying : krb5-libs-1.16.1-22.el8.x86_64 73/207 Verifying : libacl-2.2.53-1.el8.x86_64 74/207 Verifying : libarchive-3.3.2-3.el8.x86_64 75/207 Verifying : libassuan-2.5.1-3.el8.x86_64 76/207 Verifying : libattr-2.4.48-3.el8.x86_64 77/207 Verifying : libblkid-2.32.1-8.el8.x86_64 78/207 Verifying : libcap-2.25-9.el8.x86_64 79/207 Verifying : libcap-ng-0.7.9-4.el8.x86_64 80/207 Verifying : libcom_err-1.44.3-2.el8.x86_64 81/207 Verifying : libcroco-0.6.12-4.el8.x86_64 82/207 Verifying : libcurl-7.61.1-8.el8.x86_64 83/207 Verifying : libdb-5.3.28-36.el8.x86_64 84/207 Verifying : libdb-utils-5.3.28-36.el8.x86_64 85/207 Verifying : libfdisk-2.32.1-8.el8.x86_64 86/207 Verifying : libffi-3.1-18.el8.x86_64 87/207 Verifying : libgcc-8.2.1-3.5.el8.x86_64 88/207 Verifying : libgcrypt-1.8.3-2.el8.x86_64 89/207 Verifying : libgomp-8.2.1-3.5.el8.x86_64 90/207 Verifying : libgpg-error-1.31-1.el8.x86_64 91/207 Verifying : libidn2-2.0.5-1.el8.x86_64 92/207 Verifying : libkcapi-1.1.1-16_1.el8.x86_64 93/207 Verifying : libkcapi-hmaccalc-1.1.1-16_1.el8.x86_64 94/207 Verifying : libksba-1.3.5-7.el8.x86_64 95/207 Verifying : libmetalink-0.1.3-7.el8.x86_64 96/207 Verifying : libmount-2.32.1-8.el8.x86_64 97/207 Verifying : libnghttp2-1.33.0-1.el8.x86_64 98/207 Verifying : libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64 99/207 Verifying : libpcap-14:1.9.0-1.el8.x86_64 100/207 Verifying : libpkgconf-1.4.2-1.el8.x86_64 101/207 Verifying : libpsl-0.20.2-5.el8.x86_64 102/207 Verifying : libpwquality-1.4.0-9.el8.x86_64 103/207 Verifying : libseccomp-2.3.3-3.el8.x86_64 104/207 Verifying : libsecret-0.18.6-1.el8.x86_64 105/207 Verifying : libselinux-2.8-6.el8.x86_64 106/207 Verifying : libsemanage-2.8-5.el8.x86_64 107/207 Verifying : libsepol-2.8-2.el8.x86_64 108/207 Verifying : libsigsegv-2.11-5.el8.x86_64 109/207 Verifying : libsmartcols-2.32.1-8.el8.x86_64 110/207 Verifying : libssh-0.8.5-2.el8.x86_64 111/207 Verifying : libstdc++-8.2.1-3.5.el8.x86_64 112/207 Verifying : libtasn1-4.13-3.el8.x86_64 113/207 Verifying : libtirpc-1.1.4-3.el8.x86_64 114/207 Verifying : libtool-ltdl-2.4.6-25.el8.x86_64 115/207 Verifying : libunistring-0.9.9-3.el8.x86_64 116/207 Verifying : libusbx-1.0.22-1.el8.x86_64 117/207 Verifying : libutempter-1.1.6-14.el8.x86_64 118/207 Verifying : libuuid-2.32.1-8.el8.x86_64 119/207 Verifying : libverto-0.3.0-5.el8.x86_64 120/207 Verifying : libxcrypt-4.1.1-4.el8.x86_64 121/207 Verifying : libxcrypt-devel-4.1.1-4.el8.x86_64 122/207 Verifying : libxml2-2.9.7-5.el8.x86_64 123/207 Verifying : lua-libs-5.3.4-10.el8.x86_64 124/207 Verifying : lz4-libs-1.8.1.2-4.el8.x86_64 125/207 Verifying : make-1:4.2.1-9.el8.x86_64 126/207 Verifying : mpfr-3.1.6-1.el8.x86_64 127/207 Verifying : ncurses-6.1-7.20180224.el8.x86_64 128/207 Verifying : ncurses-base-6.1-7.20180224.el8.noarch 129/207 Verifying : ncurses-libs-6.1-7.20180224.el8.x86_64 130/207 Verifying : nettle-3.4.1-1.el8.x86_64 131/207 Verifying : npth-1.5-4.el8.x86_64 132/207 Verifying : openldap-2.4.46-9.el8.x86_64 133/207 Verifying : openssl-1:1.1.1-8.el8.x86_64 134/207 Verifying : openssl-libs-1:1.1.1-8.el8.x86_64 135/207 Verifying : openssl-pkcs11-0.4.8-2.el8.x86_64 136/207 Verifying : os-prober-1.74-6.el8.x86_64 137/207 Verifying : p11-kit-0.23.14-5.el8_0.x86_64 138/207 Verifying : p11-kit-trust-0.23.14-5.el8_0.x86_64 139/207 Verifying : pam-1.3.1-4.el8.x86_64 140/207 Verifying : patch-2.7.6-9.el8_0.x86_64 141/207 Verifying : pcre-8.42-4.el8.x86_64 142/207 Verifying : pcre2-10.32-1.el8.x86_64 143/207 Verifying : pigz-2.4-2.el8.x86_64 144/207 Verifying : pkgconf-1.4.2-1.el8.x86_64 145/207 Verifying : pkgconf-m4-1.4.2-1.el8.noarch 146/207 Verifying : pkgconf-pkg-config-1.4.2-1.el8.x86_64 147/207 Verifying : platform-python-3.6.8-4.el8_0.x86_64 148/207 Verifying : platform-python-pip-9.0.3-13.el8.noarch 149/207 Verifying : platform-python-setuptools-39.2.0-4.el8.noarch 150/207 Verifying : popt-1.16-14.el8.x86_64 151/207 Verifying : procps-ng-3.3.15-1.el8.x86_64 152/207 Verifying : publicsuffix-list-dafsa-20180723-1.el8.noarch 153/207 Verifying : python3-libs-3.6.8-4.el8_0.x86_64 154/207 Verifying : readline-7.0-10.el8.x86_64 155/207 Verifying : rpm-4.14.2-11.el8_0.x86_64 156/207 Verifying : rpm-build-libs-4.14.2-11.el8_0.x86_64 157/207 Verifying : rpm-libs-4.14.2-11.el8_0.x86_64 158/207 Verifying : sed-4.5-1.el8.x86_64 159/207 Verifying : setup-2.12.2-2.el8.noarch 160/207 Verifying : shadow-utils-2:4.6-7.el8.x86_64 161/207 Verifying : shared-mime-info-1.9-3.el8.x86_64 162/207 Verifying : sqlite-libs-3.26.0-3.el8.x86_64 163/207 Verifying : systemd-239-13.el8_0.5.x86_64 164/207 Verifying : systemd-libs-239-13.el8_0.5.x86_64 165/207 Verifying : systemd-pam-239-13.el8_0.5.x86_64 166/207 Verifying : systemd-udev-239-13.el8_0.5.x86_64 167/207 Verifying : tar-2:1.30-4.el8.x86_64 168/207 Verifying : trousers-0.3.14-2.el8.x86_64 169/207 Verifying : trousers-lib-0.3.14-2.el8.x86_64 170/207 Verifying : tzdata-2019a-1.el8.noarch 171/207 Verifying : unzip-6.0-41.el8.x86_64 172/207 Verifying : util-linux-2.32.1-8.el8.x86_64 173/207 Verifying : which-2.21-10.el8.x86_64 174/207 Verifying : xz-5.2.4-3.el8.x86_64 175/207 Verifying : xz-libs-5.2.4-3.el8.x86_64 176/207 Verifying : zip-3.0-23.el8.x86_64 177/207 Verifying : zlib-1.2.11-10.el8.x86_64 178/207 Verifying : annobin-8.64-1.el8.x86_64 179/207 Verifying : cpp-8.2.1-3.5.el8.x86_64 180/207 Verifying : dwz-0.12-9.el8.x86_64 181/207 Verifying : efi-srpm-macros-3-2.el8.noarch 182/207 Verifying : gc-7.6.4-3.el8.x86_64 183/207 Verifying : gcc-8.2.1-3.5.el8.x86_64 184/207 Verifying : gcc-c++-8.2.1-3.5.el8.x86_64 185/207 Verifying : gdb-headless-8.2-6.el8_0.x86_64 186/207 Verifying : ghc-srpm-macros-1.4.2-7.el8.noarch 187/207 Verifying : go-srpm-macros-2-16.el8.noarch 188/207 Verifying : guile-5:2.0.14-7.el8.x86_64 189/207 Verifying : isl-0.16.1-6.el8.x86_64 190/207 Verifying : libatomic_ops-7.6.2-3.el8.x86_64 191/207 Verifying : libbabeltrace-1.5.4-2.el8.x86_64 192/207 Verifying : libipt-1.6.1-8.el8.x86_64 193/207 Verifying : libmpc-1.0.2-9.el8.x86_64 194/207 Verifying : libstdc++-devel-8.2.1-3.5.el8.x86_64 195/207 Verifying : libxkbcommon-0.8.2-1.el8.x86_64 196/207 Verifying : ocaml-srpm-macros-5-4.el8.noarch 197/207 Verifying : openblas-srpm-macros-2-2.el8.noarch 198/207 Verifying : perl-srpm-macros-1-25.el8.noarch 199/207 Verifying : pinentry-1.1.0-2.el8.x86_64 200/207 Verifying : python-srpm-macros-3-37.el8.noarch 201/207 Verifying : python3-rpm-macros-3-37.el8.noarch 202/207 Verifying : qt5-srpm-macros-5.11.1-2.el8.noarch 203/207 Verifying : redhat-rpm-config-116-1.el8.0.1.noarch 204/207 Verifying : rpm-build-4.14.2-11.el8_0.x86_64 205/207 Verifying : rust-srpm-macros-5-2.el8.noarch 206/207 Verifying : xkeyboard-config-2.24-3.el8.noarch 207/207 Installed: bash-4.4.19-8.el8_0.x86_64 bzip2-1.0.6-26.el8.x86_64 centos-release-8.0-0.1905.0.9.el8.x86_64 coreutils-8.30-6.el8.x86_64 cpio-2.12-8.el8.x86_64 diffutils-3.6-5.el8.x86_64 findutils-1:4.6.0-20.el8.x86_64 gawk-4.2.1-1.el8.x86_64 grep-3.1-6.el8.x86_64 gzip-1.9-4.el8.x86_64 info-6.5-4.el8.x86_64 make-1:4.2.1-9.el8.x86_64 patch-2.7.6-9.el8_0.x86_64 sed-4.5-1.el8.x86_64 shadow-utils-2:4.6-7.el8.x86_64 tar-2:1.30-4.el8.x86_64 unzip-6.0-41.el8.x86_64 util-linux-2.32.1-8.el8.x86_64 which-2.21-10.el8.x86_64 xz-5.2.4-3.el8.x86_64 gcc-8.2.1-3.5.el8.x86_64 gcc-c++-8.2.1-3.5.el8.x86_64 redhat-rpm-config-116-1.el8.0.1.noarch rpm-build-4.14.2-11.el8_0.x86_64 cracklib-dicts-2.9.6-15.el8.x86_64 gnupg2-smime-2.2.9-1.el8.x86_64 grubby-8.40-34.el8.x86_64 hardlink-1:1.3-6.el8.x86_64 kbd-2.0.4-8.el8.x86_64 kpartx-0.7.8-7.el8_0.2.x86_64 openssl-pkcs11-0.4.8-2.el8.x86_64 pigz-2.4-2.el8.x86_64 shared-mime-info-1.9-3.el8.x86_64 systemd-239-13.el8_0.5.x86_64 trousers-0.3.14-2.el8.x86_64 libxkbcommon-0.8.2-1.el8.x86_64 pinentry-1.1.0-2.el8.x86_64 acl-2.2.53-1.el8.x86_64 audit-libs-3.0-0.10.20180831git0047a6c.el8.x86_64 basesystem-11-5.el8.noarch binutils-2.30-49.el8.x86_64 brotli-1.0.6-1.el8.x86_64 bzip2-libs-1.0.6-26.el8.x86_64 ca-certificates-2018.2.24-6.el8.noarch chkconfig-1.11-1.el8.x86_64 coreutils-common-8.30-6.el8.x86_64 cracklib-2.9.6-15.el8.x86_64 crypto-policies-20181217-6.git9a35207.el8.noarch cryptsetup-libs-2.0.6-1.el8.x86_64 curl-7.61.1-8.el8.x86_64 cyrus-sasl-lib-2.1.27-0.3rc7.el8.x86_64 dbus-1:1.12.8-7.el8.x86_64 dbus-common-1:1.12.8-7.el8.noarch dbus-daemon-1:1.12.8-7.el8.x86_64 dbus-libs-1:1.12.8-7.el8.x86_64 dbus-tools-1:1.12.8-7.el8.x86_64 device-mapper-8:1.02.155-6.el8.x86_64 device-mapper-libs-8:1.02.155-6.el8.x86_64 dracut-049-10.git20190115.el8.x86_64 elfutils-0.174-6.el8.x86_64 elfutils-default-yama-scope-0.174-6.el8.noarch elfutils-libelf-0.174-6.el8.x86_64 elfutils-libs-0.174-6.el8.x86_64 expat-2.2.5-3.el8.x86_64 file-5.33-8.el8.x86_64 file-libs-5.33-8.el8.x86_64 filesystem-3.8-2.el8.x86_64 gdbm-1:1.18-1.el8.x86_64 gdbm-libs-1:1.18-1.el8.x86_64 gettext-0.19.8.1-14.el8.x86_64 gettext-libs-0.19.8.1-14.el8.x86_64 glib2-2.56.4-1.el8.x86_64 glibc-2.28-42.el8.1.x86_64 glibc-all-langpacks-2.28-42.el8.1.x86_64 glibc-common-2.28-42.el8.1.x86_64 glibc-devel-2.28-42.el8.1.x86_64 glibc-headers-2.28-42.el8.1.x86_64 gmp-1:6.1.2-8.el8.x86_64 gnupg2-2.2.9-1.el8.x86_64 gnutls-3.6.5-2.el8.x86_64 grub2-common-1:2.02-66.el8_0.1.noarch grub2-tools-1:2.02-66.el8_0.1.x86_64 grub2-tools-minimal-1:2.02-66.el8_0.1.x86_64 ima-evm-utils-1.1-4.el8.x86_64 iptables-libs-1.8.2-9.el8_0.1.x86_64 json-c-0.13.1-0.2.el8.x86_64 kbd-legacy-2.0.4-8.el8.noarch kbd-misc-2.0.4-8.el8.noarch kernel-headers-4.18.0-80.11.2.el8_0.x86_64 keyutils-libs-1.5.10-6.el8.x86_64 kmod-25-11.el8_0.2.x86_64 kmod-libs-25-11.el8_0.2.x86_64 krb5-libs-1.16.1-22.el8.x86_64 libacl-2.2.53-1.el8.x86_64 libarchive-3.3.2-3.el8.x86_64 libassuan-2.5.1-3.el8.x86_64 libattr-2.4.48-3.el8.x86_64 libblkid-2.32.1-8.el8.x86_64 libcap-2.25-9.el8.x86_64 libcap-ng-0.7.9-4.el8.x86_64 libcom_err-1.44.3-2.el8.x86_64 libcroco-0.6.12-4.el8.x86_64 libcurl-7.61.1-8.el8.x86_64 libdb-5.3.28-36.el8.x86_64 libdb-utils-5.3.28-36.el8.x86_64 libfdisk-2.32.1-8.el8.x86_64 libffi-3.1-18.el8.x86_64 libgcc-8.2.1-3.5.el8.x86_64 libgcrypt-1.8.3-2.el8.x86_64 libgomp-8.2.1-3.5.el8.x86_64 libgpg-error-1.31-1.el8.x86_64 libidn2-2.0.5-1.el8.x86_64 libkcapi-1.1.1-16_1.el8.x86_64 libkcapi-hmaccalc-1.1.1-16_1.el8.x86_64 libksba-1.3.5-7.el8.x86_64 libmetalink-0.1.3-7.el8.x86_64 libmount-2.32.1-8.el8.x86_64 libnghttp2-1.33.0-1.el8.x86_64 libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64 libpcap-14:1.9.0-1.el8.x86_64 libpkgconf-1.4.2-1.el8.x86_64 libpsl-0.20.2-5.el8.x86_64 libpwquality-1.4.0-9.el8.x86_64 libseccomp-2.3.3-3.el8.x86_64 libsecret-0.18.6-1.el8.x86_64 libselinux-2.8-6.el8.x86_64 libsemanage-2.8-5.el8.x86_64 libsepol-2.8-2.el8.x86_64 libsigsegv-2.11-5.el8.x86_64 libsmartcols-2.32.1-8.el8.x86_64 libssh-0.8.5-2.el8.x86_64 libstdc++-8.2.1-3.5.el8.x86_64 libtasn1-4.13-3.el8.x86_64 libtirpc-1.1.4-3.el8.x86_64 libtool-ltdl-2.4.6-25.el8.x86_64 libunistring-0.9.9-3.el8.x86_64 libusbx-1.0.22-1.el8.x86_64 libutempter-1.1.6-14.el8.x86_64 libuuid-2.32.1-8.el8.x86_64 libverto-0.3.0-5.el8.x86_64 libxcrypt-4.1.1-4.el8.x86_64 libxcrypt-devel-4.1.1-4.el8.x86_64 libxml2-2.9.7-5.el8.x86_64 lua-libs-5.3.4-10.el8.x86_64 lz4-libs-1.8.1.2-4.el8.x86_64 mpfr-3.1.6-1.el8.x86_64 ncurses-6.1-7.20180224.el8.x86_64 ncurses-base-6.1-7.20180224.el8.noarch ncurses-libs-6.1-7.20180224.el8.x86_64 nettle-3.4.1-1.el8.x86_64 npth-1.5-4.el8.x86_64 openldap-2.4.46-9.el8.x86_64 openssl-1:1.1.1-8.el8.x86_64 openssl-libs-1:1.1.1-8.el8.x86_64 os-prober-1.74-6.el8.x86_64 p11-kit-0.23.14-5.el8_0.x86_64 p11-kit-trust-0.23.14-5.el8_0.x86_64 pam-1.3.1-4.el8.x86_64 pcre-8.42-4.el8.x86_64 pcre2-10.32-1.el8.x86_64 pkgconf-1.4.2-1.el8.x86_64 pkgconf-m4-1.4.2-1.el8.noarch pkgconf-pkg-config-1.4.2-1.el8.x86_64 platform-python-3.6.8-4.el8_0.x86_64 platform-python-pip-9.0.3-13.el8.noarch platform-python-setuptools-39.2.0-4.el8.noarch popt-1.16-14.el8.x86_64 procps-ng-3.3.15-1.el8.x86_64 publicsuffix-list-dafsa-20180723-1.el8.noarch python3-libs-3.6.8-4.el8_0.x86_64 readline-7.0-10.el8.x86_64 rpm-4.14.2-11.el8_0.x86_64 rpm-build-libs-4.14.2-11.el8_0.x86_64 rpm-libs-4.14.2-11.el8_0.x86_64 setup-2.12.2-2.el8.noarch sqlite-libs-3.26.0-3.el8.x86_64 systemd-libs-239-13.el8_0.5.x86_64 systemd-pam-239-13.el8_0.5.x86_64 systemd-udev-239-13.el8_0.5.x86_64 trousers-lib-0.3.14-2.el8.x86_64 tzdata-2019a-1.el8.noarch xz-libs-5.2.4-3.el8.x86_64 zip-3.0-23.el8.x86_64 zlib-1.2.11-10.el8.x86_64 annobin-8.64-1.el8.x86_64 cpp-8.2.1-3.5.el8.x86_64 dwz-0.12-9.el8.x86_64 efi-srpm-macros-3-2.el8.noarch gc-7.6.4-3.el8.x86_64 gdb-headless-8.2-6.el8_0.x86_64 ghc-srpm-macros-1.4.2-7.el8.noarch go-srpm-macros-2-16.el8.noarch guile-5:2.0.14-7.el8.x86_64 isl-0.16.1-6.el8.x86_64 libatomic_ops-7.6.2-3.el8.x86_64 libbabeltrace-1.5.4-2.el8.x86_64 libipt-1.6.1-8.el8.x86_64 libmpc-1.0.2-9.el8.x86_64 libstdc++-devel-8.2.1-3.5.el8.x86_64 ocaml-srpm-macros-5-4.el8.noarch openblas-srpm-macros-2-2.el8.noarch perl-srpm-macros-1-25.el8.noarch python-srpm-macros-3-37.el8.noarch python3-rpm-macros-3-37.el8.noarch qt5-srpm-macros-5.11.1-2.el8.noarch rust-srpm-macros-5-2.el8.noarch xkeyboard-config-2.24-3.el8.noarch Complete! Finish: dnf install Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: Start: buildsrpm Start: rpmbuild -bs warning: Macro expanded in comment on line 43: %{srcname} warning: Macro expanded in comment on line 44: %summary warning: Macro expanded in comment on line 48: %{?python_provide:%python_provide python2-%{srcname}} warning: Macro expanded in comment on line 50: %{srcname} %_description Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-google-apputils-0.4.2-18.el8.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/1062301-epel-8-x86_64-1571288288.124203/root/var/log/dnf.rpm.log /var/lib/mock/1062301-epel-8-x86_64-1571288288.124203/root/var/log/dnf.librepo.log /var/lib/mock/1062301-epel-8-x86_64-1571288288.124203/root/var/log/dnf.log Finish: buildsrpm INFO: Done(/tmp/tmpdpssw4zb/python-google-apputils.spec) Config(child) 1 minutes 44 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running (timeout=75600): unbuffer mock --rebuild /var/lib/copr-rpmbuild/results/python-google-apputils-0.4.2-18.el8.src.rpm --configdir /var/lib/copr-rpmbuild/results/configs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1571288393.484278 -r child WARNING: Could not find required logging config file: /var/lib/copr-rpmbuild/results/configs/logging.ini. Using default... INFO: mock.py version 1.4.20 starting (python version = 3.7.4)... Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/results/python-google-apputils-0.4.2-18.el8.src.rpm) Config(1062301-epel-8-x86_64) Start: clean chroot Finish: clean chroot Start: chroot init INFO: mounting tmpfs at /var/lib/mock/1062301-epel-8-x86_64-1571288393.484278/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled dnf cache Start: cleaning dnf metadata Finish: cleaning dnf metadata INFO: enabled HW Info plugin Mock Version: 1.4.20 INFO: Mock Version: 1.4.20 Start: dnf update No matches found for the following disable plugin patterns: local, spacewalk Copr repository 32 kB/s | 3.6 kB 00:00 Additional repo http_mirror_centos_org_centos_8 59 kB/s | 4.3 kB 00:00 CentOS-8 - Base 1.4 MB/s | 7.9 MB 00:05 CentOS-8 - AppStream 563 kB/s | 6.0 MB 00:10 CentOS-8 - PowerTools 1.0 MB/s | 1.8 MB 00:01 CentOS-8 - Extras 3.6 kB/s | 2.1 kB 00:00 epel 18 kB/s | 5.3 kB 00:00 Dependencies resolved. Nothing to do. Complete! Finish: dnf update Finish: chroot init Start: build phase for python-google-apputils-0.4.2-18.el8.src.rpm Start: build setup for python-google-apputils-0.4.2-18.el8.src.rpm warning: Macro expanded in comment on line 43: %{srcname} warning: Macro expanded in comment on line 44: %summary warning: Macro expanded in comment on line 48: %{?python_provide:%python_provide python2-%{srcname}} warning: Macro expanded in comment on line 50: %{srcname} %_description Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-google-apputils-0.4.2-18.el8.src.rpm No matches found for the following disable plugin patterns: local, spacewalk Copr repository 36 kB/s | 3.6 kB 00:00 Additional repo http_mirror_centos_org_centos_8 59 kB/s | 4.3 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing: python3-gflags noarch 2.0-19.el8 copr_base 67 k python3-dateutil noarch 1:2.6.1-6.el8 BaseOS 251 k python3-setuptools noarch 39.2.0-4.el8 BaseOS 162 k platform-python-devel x86_64 3.6.8-4.el8_0 AppStream 242 k python3-pytz noarch 2017.2-9.el8 AppStream 54 k python36-devel x86_64 3.6.8-2.module_el8.0.0+33+0a10c0e1 AppStream 16 k Installing dependencies: python3-six noarch 1.11.0-8.el8 BaseOS 38 k python-rpm-macros noarch 3-37.el8 AppStream 14 k python3-pip noarch 9.0.3-13.el8 AppStream 18 k python3-rpm-generators noarch 5-4.el8 AppStream 24 k python36 x86_64 3.6.8-2.module_el8.0.0+33+0a10c0e1 AppStream 19 k Enabling module streams: python36 3.6 Transaction Summary ================================================================================ Install 11 Packages Total download size: 907 k Installed size: 2.3 M Downloading Packages: (1/11): python3-gflags-2.0-19.el8.noarch.rpm 606 kB/s | 67 kB 00:00 (2/11): python3-six-1.11.0-8.el8.noarch.rpm 67 kB/s | 38 kB 00:00 (3/11): python3-setuptools-39.2.0-4.el8.noarch. 192 kB/s | 162 kB 00:00 (4/11): python3-dateutil-2.6.1-6.el8.noarch.rpm 258 kB/s | 251 kB 00:00 (5/11): python-rpm-macros-3-37.el8.noarch.rpm 68 kB/s | 14 kB 00:00 (6/11): python3-pip-9.0.3-13.el8.noarch.rpm 104 kB/s | 18 kB 00:00 (7/11): python3-pytz-2017.2-9.el8.noarch.rpm 310 kB/s | 54 kB 00:00 (8/11): python3-rpm-generators-5-4.el8.noarch.r 206 kB/s | 24 kB 00:00 (9/11): python36-3.6.8-2.module_el8.0.0+33+0a10 324 kB/s | 19 kB 00:00 (10/11): platform-python-devel-3.6.8-4.el8_0.x8 376 kB/s | 242 kB 00:00 (11/11): python36-devel-3.6.8-2.module_el8.0.0+ 269 kB/s | 16 kB 00:00 -------------------------------------------------------------------------------- Total 445 kB/s | 907 kB 00:02 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python3-rpm-generators-5-4.el8.noarch 1/11 Installing : python-rpm-macros-3-37.el8.noarch 2/11 Installing : platform-python-devel-3.6.8-4.el8_0.x86_64 3/11 Installing : python3-six-1.11.0-8.el8.noarch 4/11 Installing : python3-setuptools-39.2.0-4.el8.noarch 5/11 Installing : python3-pip-9.0.3-13.el8.noarch 6/11 Installing : python36-3.6.8-2.module_el8.0.0+33+0a10c0e1.x86_64 7/11 Running scriptlet: python36-3.6.8-2.module_el8.0.0+33+0a10c0e1.x86_64 7/11 Installing : python36-devel-3.6.8-2.module_el8.0.0+33+0a10c0e1. 8/11 Running scriptlet: python36-devel-3.6.8-2.module_el8.0.0+33+0a10c0e1. 8/11 Installing : python3-dateutil-1:2.6.1-6.el8.noarch 9/11 Installing : python3-pytz-2017.2-9.el8.noarch 10/11 Installing : python3-gflags-2.0-19.el8.noarch 11/11 Running scriptlet: python3-gflags-2.0-19.el8.noarch 11/11 Verifying : python3-gflags-2.0-19.el8.noarch 1/11 Verifying : python3-dateutil-1:2.6.1-6.el8.noarch 2/11 Verifying : python3-setuptools-39.2.0-4.el8.noarch 3/11 Verifying : python3-six-1.11.0-8.el8.noarch 4/11 Verifying : platform-python-devel-3.6.8-4.el8_0.x86_64 5/11 Verifying : python-rpm-macros-3-37.el8.noarch 6/11 Verifying : python3-pip-9.0.3-13.el8.noarch 7/11 Verifying : python3-pytz-2017.2-9.el8.noarch 8/11 Verifying : python3-rpm-generators-5-4.el8.noarch 9/11 Verifying : python36-3.6.8-2.module_el8.0.0+33+0a10c0e1.x86_64 10/11 Verifying : python36-devel-3.6.8-2.module_el8.0.0+33+0a10c0e1. 11/11 Installed: python3-gflags-2.0-19.el8.noarch python3-dateutil-1:2.6.1-6.el8.noarch python3-setuptools-39.2.0-4.el8.noarch platform-python-devel-3.6.8-4.el8_0.x86_64 python3-pytz-2017.2-9.el8.noarch python36-devel-3.6.8-2.module_el8.0.0+33+0a10c0e1.x86_64 python3-six-1.11.0-8.el8.noarch python-rpm-macros-3-37.el8.noarch python3-pip-9.0.3-13.el8.noarch python3-rpm-generators-5-4.el8.noarch python36-3.6.8-2.module_el8.0.0+33+0a10c0e1.x86_64 Complete! Finish: build setup for python-google-apputils-0.4.2-18.el8.src.rpm Start: rpmbuild python-google-apputils-0.4.2-18.el8.src.rpm warning: Macro expanded in comment on line 43: %{srcname} warning: Macro expanded in comment on line 44: %summary warning: Macro expanded in comment on line 48: %{?python_provide:%python_provide python2-%{srcname}} warning: Macro expanded in comment on line 50: %{srcname} %_description Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.S4hiqT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-google-apputils-0.4.2 + /usr/bin/mkdir -p python-google-apputils-0.4.2 + cd python-google-apputils-0.4.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/google-apputils-0.4.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv google-apputils-0.4.2 python2 + find -name '*.py' + xargs sed -i '/^#!\/usr\/bin\/.*python/d' + sed -i -e 's/pytz>.*"/pytz"/' python2/setup.py + cp -a python2 python3 + 2to3 --write --nobackups python3 RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored python3/ez_setup.py RefactoringTool: No changes to python3/setup.py RefactoringTool: No changes to python3/google/__init__.py RefactoringTool: No changes to python3/google/apputils/__init__.py RefactoringTool: Refactored python3/google/apputils/app.py RefactoringTool: Refactored python3/google/apputils/appcommands.py RefactoringTool: Refactored python3/google/apputils/basetest.py --- python3/ez_setup.py (original) +++ python3/ez_setup.py (refactored) @@ -42,10 +42,10 @@ if egg_name in md5_data: digest = md5(data).hexdigest() if digest != md5_data[egg_name]: - print >>sys.stderr, ( + print(( "md5 validation of %s failed! (Possible download problem?)" % egg_name - ) + ), file=sys.stderr) sys.exit(2) return data @@ -75,14 +75,14 @@ return do_download() try: pkg_resources.require("setuptools>="+version); return - except pkg_resources.VersionConflict, e: + except pkg_resources.VersionConflict as e: if was_imported: - print >>sys.stderr, ( + print(( "The required version of setuptools (>=%s) is not available, and\n" "can't be installed while this script is running. Please install\n" " a more recent version first, using 'easy_install -U setuptools'." "\n\n(Currently using %r)" - ) % (version, e.args[0]) + ) % (version, e.args[0]), file=sys.stderr) sys.exit(2) except pkg_resources.DistributionNotFound: pass @@ -101,7 +101,7 @@ with a '/'). `to_dir` is the directory where the egg will be downloaded. `delay` is the number of seconds to pause before an actual download attempt. """ - import urllib2, shutil + import urllib.request, urllib.error, urllib.parse, shutil egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3]) url = download_base + egg_name saveto = os.path.join(to_dir, egg_name) @@ -127,7 +127,7 @@ version, download_base, delay, url ); from time import sleep; sleep(delay) log.warn("Downloading %s", url) - src = urllib2.urlopen(url) + src = urllib.request.urlopen(url) # Read/write all in one block, so we don't create a corrupt file # if the download is interrupted. data = _validate_md5(egg_name, src.read()) @@ -188,10 +188,10 @@ os.unlink(egg) else: if setuptools.__version__ == '0.0.1': - print >>sys.stderr, ( + print(( "You have an obsolete version of setuptools installed. Please\n" "remove it from your system entirely before rerunning this script." - ) + ), file=sys.stderr) sys.exit(2) req = "setuptools>="+version @@ -210,8 +210,8 @@ from setuptools.command.easy_install import main main(argv) else: - print "Setuptools version",version,"or greater has been installed." - print '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)' + print("Setuptools version",version,"or greater has been installed.") + print('(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)') def update_md5(filenames): """Update our built-in md5 registry""" @@ -224,7 +224,7 @@ md5_data[base] = md5(f.read()).hexdigest() f.close() - data = [" %r: %r,\n" % it for it in md5_data.items()] + data = [" %r: %r,\n" % it for it in list(md5_data.items())] data.sort() repl = "".join(data) @@ -234,7 +234,7 @@ match = re.search("\nmd5_data = {\n([^}]+)}", src) if not match: - print >>sys.stderr, "Internal error!" + print("Internal error!", file=sys.stderr) sys.exit(2) src = src[:match.start(1)] + repl + src[match.end(1):] --- python3/google/apputils/app.py (original) +++ python3/google/apputils/app.py (refactored) @@ -90,8 +90,8 @@ if arg: usage(shorthelp=1, writeto_stdout=1) # Advertise --helpfull on stdout, since usage() was on stdout. - print - print 'Try --helpfull to get a list of all flags.' + print() + print('Try --helpfull to get a list of all flags.') sys.exit(1) @@ -145,7 +145,7 @@ try: argv = FLAGS(args) return argv - except flags.FlagsError, error: + except flags.FlagsError as error: sys.stderr.write('FATAL Flags parsing error: %s\n' % error) sys.stderr.write('Pass --helpshort or --helpfull to see help on flags.\n') sys.exit(1) @@ -217,7 +217,7 @@ sys.exit(retval) else: sys.exit(main(argv)) - except UsageError, error: + except UsageError as error: usage(shorthelp=1, detailed_error=error, exitcode=error.exitcode) except: if FLAGS.pdb_post_mortem: @@ -264,9 +264,9 @@ try: really_start() - except SystemExit, e: + except SystemExit as e: raise - except Exception, e: + except Exception as e: # Call any installed exception handlers which may, for example, # log to a file or send email. for handler in EXCEPTION_HANDLERS: @@ -322,7 +322,7 @@ stdfile.write('\n') if detailed_error is not None: stdfile.write('\n%s\n' % detailed_error) - except IOError, e: + except IOError as e: # We avoid printing a huge backtrace if we get EPIPE, because # "foo.par --help | less" is a frequent use case. if e.errno != errno.EPIPE: --- python3/google/apputils/appcommands.py (original) +++ python3/google/apputils/appcommands.py (refactored) @@ -175,7 +175,7 @@ def GetFullCommandList(): """Return list of registered commands, including aliases.""" all_cmds = dict(GetCommandList()) - for cmd_alias, cmd_name in GetCommandAliasList().iteritems(): + for cmd_alias, cmd_name in GetCommandAliasList().items(): all_cmds[cmd_alias] = all_cmds.get(cmd_name) return all_cmds @@ -295,7 +295,7 @@ else: assert isinstance(ret, int) return ret - except app.UsageError, error: + except app.UsageError as error: app.usage(shorthelp=1, detailed_error=error, exitcode=error.exitcode) except: if FLAGS.pdb_post_mortem: @@ -622,7 +622,7 @@ else: # Show list of commands if show_cmd is None or show_cmd == 'help': - cmd_names = GetCommandList().keys() + cmd_names = list(GetCommandList().keys()) cmd_names.sort() stdfile.write('Any of the following commands:\n') doc = ', '.join(cmd_names) @@ -634,7 +634,7 @@ elif FLAGS.help or FLAGS.helpshort or shorthelp: cmd_names = [] else: - cmd_names = GetCommandList().keys() # show all commands + cmd_names = list(GetCommandList().keys()) # show all commands cmd_names.sort() # Show the command help (none, one specific, or all) for name in cmd_names: @@ -702,7 +702,7 @@ try: _cmd_argv = FLAGS(argv) return _cmd_argv - except flags.FlagsError, error: + except flags.FlagsError as error: ShortHelpAndExit('FATAL Flags parsing error: %s' % error) @@ -757,9 +757,9 @@ try: sys.modules['__main__'].main(GetCommandArgv()) # If sys.exit was called, return with error code. - except SystemExit, e: + except SystemExit as e: sys.exit(e.code) - except Exception, error: + except Exception as error: traceback.print_exc() # Print a backtrace to stderr. ShortHelpAndExit('\nFATAL error in main: %s' % error) --- python3/google/apputils/basetest.py (original) +++ python3/google/apputils/basetest.py (refactored) @@ -33,7 +33,7 @@ import tempfile import types import unittest -import urlparse +import urllib.parse try: import faulthandler # pylint: disable=g-import-not-at-top @@ -348,8 +348,8 @@ # Fail on strings: empirically, passing strings to this test method # is almost always a bug. If comparing the character sets of two strings # is desired, cast the inputs to sets or lists explicitly. - if (isinstance(expected_seq, basestring) or - isinstance(actual_seq, basestring)): + if (isinstance(expected_seq, str) or + isinstance(actual_seq, str)): self.fail('Passing a string to assertSameElements is usually a bug. ' 'Did you mean to use assertEqual?\n' 'Expected: %s\nActual: %s' % (expected_seq, actual_seq)) @@ -380,9 +380,9 @@ # has a different error format. However, I find this slightly more readable. def assertMultiLineEqual(self, first, second, msg=None): """Assert that two multi-line strings are equal.""" - assert isinstance(first, types.StringTypes), ( + assert isinstance(first, (str,)), ( 'First argument is not a string: %r' % (first,)) - assert isinstance(second, types.StringTypes), ( + assert isinstance(second, (str,)), ( 'Second argument is not a string: %r' % (second,)) if first == second: @@ -401,8 +401,8 @@ """Asserts that value is between minv and maxv (inclusive).""" if msg is None: msg = '"%r" unexpectedly not between "%r" and "%r"' % (value, minv, maxv) - self.assert_(minv <= value, msg) - self.assert_(maxv >= value, msg) + self.assertTrue(minv <= value, msg) + self.assertTrue(maxv >= value, msg) def assertRegexMatch(self, actual_str, regexes, message=None): # pylint: disable=g-doc-bad-indent @@ -438,7 +438,7 @@ message: The message to be printed if the test fails. """ # pylint: enable=g-doc-bad-indent - if isinstance(regexes, basestring): + if isinstance(regexes, str): self.fail('regexes is a string; use assertRegexpMatches instead.') if not regexes: self.fail('No regexes specified.') @@ -448,15 +448,15 @@ if type(regex) is not regex_type: self.fail('regexes list must all be the same type.') - if regex_type is bytes and isinstance(actual_str, unicode): + if regex_type is bytes and isinstance(actual_str, str): regexes = [regex.decode('utf-8') for regex in regexes] - regex_type = unicode - elif regex_type is unicode and isinstance(actual_str, bytes): + regex_type = str + elif regex_type is str and isinstance(actual_str, bytes): regexes = [regex.encode('utf-8') for regex in regexes] regex_type = bytes - if regex_type is unicode: - regex = u'(?:%s)' % u')|(?:'.join(regexes) + if regex_type is str: + regex = '(?:%s)' % ')|(?:'.join(regexes) elif regex_type is bytes: regex = b'(?:' + (b')|(?:'.join(regexes)) + b')' else: @@ -481,7 +481,7 @@ # Accommodate code which listed their output regexes w/o the b'' prefix by # converting them to bytes for the user. - if isinstance(regexes[0], unicode): + if isinstance(regexes[0], str): regexes = [regex.encode('utf-8') for regex in regexes] command_string = GetCommandString(command) @@ -519,7 +519,7 @@ # Accommodate code which listed their output regexes w/o the b'' prefix by # converting them to bytes for the user. - if isinstance(regexes[0], unicode): + if isinstance(regexes[0], str): regexes = [regex.encode('utf-8') for regex in regexes] command_string = GetCommandString(command) @@ -578,7 +578,7 @@ """ # pylint: enable=g-doc-args def Check(err): - self.assert_(predicate(err), + self.assertTrue(predicate(err), '%r does not match predicate %r' % (err, predicate)) context = self._AssertRaisesContext(expected_exception, self, Check) @@ -617,7 +617,7 @@ # pylint: enable=g-doc-args def Check(err): actual_exception_message = str(err) - self.assert_(expected_exception_message == actual_exception_message, + self.assertTrue(expected_exception_message == actual_exception_message, 'Exception message does not match.\n' 'Expected: %r\n' 'Actual: %r' % (expected_exception_message, @@ -653,7 +653,7 @@ """ # pylint: enable=g-doc-args # TODO(user): this is a good candidate for a global search-and-replace. - return self.assertRaisesRegexp(expected_exception, expected_regexp, + return self.assertRaisesRegex(expected_exception, expected_regexp, callable_obj, *args, **kwargs) def assertContainsInOrder(self, strings, target): @@ -823,8 +823,8 @@ if a == b: return - a_items = Sorted(list(a.iteritems())) - b_items = Sorted(list(b.iteritems())) + a_items = Sorted(list(a.items())) + b_items = Sorted(list(b.items())) unexpected = [] missing = [] @@ -837,7 +837,7 @@ # Sort the entries based on their repr, not based on their sort order, # which will be non-deterministic across executions, for many types. entries = sorted((safe_repr(k), safe_repr(v)) - for k, v in dikt.iteritems()) + for k, v in dikt.items()) return '{%s}' % (', '.join('%s: %s' % pair for pair in entries)) message = ['%s != %s%s' % (Repr(a), Repr(b), ' (%s)' % msg if msg else '')] @@ -875,8 +875,8 @@ def assertUrlEqual(self, a, b): """Asserts that urls are equal, ignoring ordering of query params.""" - parsed_a = urlparse.urlparse(a) - parsed_b = urlparse.urlparse(b) + parsed_a = urllib.parse.urlparse(a) + parsed_b = urllib.parse.urlparse(b) self.assertEqual(parsed_a.scheme, parsed_b.scheme) self.assertEqual(parsed_a.netloc, parsed_b.netloc) self.assertEqual(parsed_a.path, parsed_b.path) @@ -884,8 +884,8 @@ self.assertEqual(sorted(parsed_a.params.split(';')), sorted(parsed_b.params.split(';'))) self.assertDictEqual( - urlparse.parse_qs(parsed_a.query, keep_blank_values=True), - urlparse.parse_qs(parsed_b.query, keep_blank_values=True)) + urllib.parse.parse_qs(parsed_a.query, keep_blank_values=True), + urllib.parse.parse_qs(parsed_b.query, keep_blank_values=True)) def assertSameStructure(self, a, b, aname='a', bname='b', msg=None): """Asserts that two values contain the same structural content. @@ -1059,7 +1059,7 @@ # Open file to save stream to cap_fd = os.open(self._filename, os.O_CREAT | os.O_TRUNC | os.O_WRONLY, - 0600) + 0o600) # Send stream to this file self._stream.flush() @@ -1074,7 +1074,7 @@ # Append stream to file cap_fd = os.open(self._filename, os.O_CREAT | os.O_APPEND | os.O_WRONLY, - 0600) + 0o600) # Send stream to this file self._stream.flush() @@ -1105,7 +1105,7 @@ stream: Should be sys.stdout or sys.stderr. filename: File where output should be stored. """ - assert not _captured_streams.has_key(stream) + assert stream not in _captured_streams _captured_streams[stream] = CapturedStream(stream, filename) @@ -1115,8 +1115,8 @@ Args: stream: Should be sys.stdout or sys.stderr. """ - assert _captured_streams.has_key(stream) - for cap_stream in _captured_streams.itervalues(): + assert stream in _captured_streams + for cap_stream in _captured_streams.values(): cap_stream.StopCapture() @@ -1136,7 +1136,7 @@ # remove the current stream del _captured_streams[stream] # restore other stream capture - for cap_stream in _captured_streams.itervalues(): + for cap_stream in _captured_streams.values(): cap_stream.RestartCapture() @@ -1257,7 +1257,7 @@ os.close(fd) -_INT_TYPES = (int, long) # Sadly there is no types.IntTypes defined for us. +_INT_TYPES = (int, int) # Sadly there is no types.IntTypes defined for us. def _WalkStructureForProblems(a, b, aname, bname, problem_list): @@ -1284,15 +1284,15 @@ problem_list.append('%s lacks [%r] but %s has it' % (aname, k, bname)) # Strings are Sequences but we'll just do those with regular != - elif isinstance(a, collections.Sequence) and not isinstance(a, basestring): + elif isinstance(a, collections.Sequence) and not isinstance(a, str): minlen = min(len(a), len(b)) - for i in xrange(minlen): + for i in range(minlen): _WalkStructureForProblems(a[i], b[i], '%s[%d]' % (aname, i), '%s[%d]' % (bname, i), problem_list) - for i in xrange(minlen, len(a)): + for i in range(minlen, len(a)): problem_list.append('%s has [%i] but %s does not' % (aname, i, bname)) - for i in xrange(minlen, len(b)): + for i in range(minlen, len(b)): problem_list.append('%s lacks [%i] but %s has it' % (aname, i, bname))RefactoringTool: No changes to python3/google/apputils/datelib.py RefactoringTool: No changes to python3/google/apputils/debug.py RefactoringTool: Refactored python3/google/apputils/file_util.py RefactoringTool: Refactored python3/google/apputils/humanize.py RefactoringTool: No changes to python3/google/apputils/resources.py RefactoringTool: Refactored python3/google/apputils/run_script_module.py RefactoringTool: Refactored python3/google/apputils/setup_command.py RefactoringTool: No changes to python3/google/apputils/shellutil.py RefactoringTool: Refactored python3/google/apputils/stopwatch.py RefactoringTool: No changes to python3/tests/app_test.py RefactoringTool: No changes to python3/tests/app_test_helper.py RefactoringTool: Refactored python3/tests/appcommands_example.py else: @@ -1380,7 +1380,7 @@ Returns: A string suitable for use as a shell command. """ - if isinstance(command, types.StringTypes): + if isinstance(command, (str,)): return command else: return shellutil.ShellEscapeList(command) @@ -1404,7 +1404,7 @@ if os.environ.get('PYTHON_RUNFILES') and not env.get('PYTHON_RUNFILES'): env['PYTHON_RUNFILES'] = os.environ['PYTHON_RUNFILES'] - use_shell = isinstance(command, types.StringTypes) + use_shell = isinstance(command, (str,)) process = subprocess.Popen( command, close_fds=close_fds, @@ -1540,7 +1540,7 @@ # Save command-line flags so the side effects of FLAGS(sys.argv) can be # undone. saved_flags = dict((f.name, SavedFlag(f)) - for f in FLAGS.FlagDict().itervalues()) + for f in FLAGS.FlagDict().values()) # Here we'd like to change the default of alsologtostderr from False to # True, so the test programs's stderr will contain all the log messages. @@ -1577,7 +1577,7 @@ # after the command-line has been parsed. So we have the for loop below # to change back flags to their old values. argv = FLAGS(sys.argv) - for saved_flag in saved_flags.itervalues(): + for saved_flag in saved_flags.values(): saved_flag.RestoreFlag() --- python3/google/apputils/file_util.py (original) +++ python3/google/apputils/file_util.py (refactored) @@ -41,7 +41,7 @@ return fp.read() -def Write(filename, contents, overwrite_existing=True, mode=0666, gid=None): +def Write(filename, contents, overwrite_existing=True, mode=0o666, gid=None): """Create a file 'filename' with 'contents', with the mode given in 'mode'. The 'mode' is modified by the umask, as in open(2). If @@ -69,7 +69,7 @@ os.chown(filename, -1, gid) -def AtomicWrite(filename, contents, mode=0666, gid=None): +def AtomicWrite(filename, contents, mode=0o666, gid=None): """Create a file 'filename' with 'contents' atomically. As in Write, 'mode' is modified by the umask. This creates and moves @@ -96,10 +96,10 @@ if gid is not None: os.chown(tmp_filename, -1, gid) os.rename(tmp_filename, filename) - except OSError, exc: + except OSError as exc: try: os.remove(tmp_filename) - except OSError, e: + except OSError as e: exc = OSError('%s. Additional errors cleaning up: %s' % (exc, e)) raise exc @@ -157,7 +157,7 @@ finally: try: shutil.rmtree(temp_dir_path) - except OSError, e: + except OSError as e: if e.message == 'Cannot call rmtree on a symbolic link': # Interesting synthetic exception made up by shutil.rmtree. # Means we received a symlink from mkdtemp. @@ -192,7 +192,7 @@ # only chmod if we created if force_mode is not None: os.chmod(path, force_mode) - except OSError, exc: + except OSError as exc: if not (exc.errno == errno.EEXIST and os.path.isdir(path)): raise @@ -208,7 +208,7 @@ """ try: shutil.rmtree(dir_name) - except OSError, err: + except OSError as err: if err.errno != errno.ENOENT: raise @@ -217,12 +217,12 @@ while parent_directory: try: os.rmdir(parent_directory) - except OSError, err: + except OSError as err: if err.errno != errno.ENOENT: raise parent_directory = os.path.dirname(parent_directory) - except OSError, err: + except OSError as err: if err.errno not in (errno.EACCES, errno.ENOTEMPTY, errno.EPERM): raise --- python3/google/apputils/humanize.py (original) +++ python3/google/apputils/humanize.py (refactored) @@ -261,7 +261,7 @@ # Prefixes and corresponding min_scale and max_scale for decimal formating. -DECIMAL_PREFIXES = ('y', 'z', 'a', 'f', 'p', 'n', u'µ', 'm', +DECIMAL_PREFIXES = ('y', 'z', 'a', 'f', 'p', 'n', 'µ', 'm', '', 'k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y') DECIMAL_MIN_SCALE = -8 DECIMAL_MAX_SCALE = 8 @@ -342,9 +342,9 @@ # Contains the fractions where the full range [1/n ... (n - 1) / n] # is defined in Unicode. FRACTIONS = { - 3: (None, u'⅓', u'⅔', None), - 5: (None, u'⅕', u'⅖', u'⅗', u'⅘', None), - 8: (None, u'⅛', u'¼', u'⅜', u'½', u'⅝', u'¾', u'⅞', None), + 3: (None, '⅓', '⅔', None), + 5: (None, '⅕', '⅖', '⅗', '⅘', None), + 8: (None, '⅛', '¼', '⅜', '½', '⅝', '¾', '⅞', None), } FRACTION_ROUND_DOWN = 1.0 / (max(FRACTIONS.keys()) * 2.0) @@ -369,25 +369,25 @@ """ # We do not want small negative numbers to display as -0. if number < -FRACTION_ROUND_DOWN: - return u'-%s' % PrettyFraction(-number) + return '-%s' % PrettyFraction(-number) number = abs(number) rounded = int(number) fract = number - rounded if fract >= FRACTION_ROUND_UP: return str(rounded + 1) errors_fractions = [] - for denominator, fraction_elements in FRACTIONS.items(): + for denominator, fraction_elements in list(FRACTIONS.items()): numerator = int(round(denominator * fract)) error = abs(fract - (float(numerator) / float(denominator))) errors_fractions.append((error, fraction_elements[numerator])) unused_error, fraction_text = min(errors_fractions) if rounded and fraction_text: - return u'%d%s%s' % (rounded, spacer, fraction_text) + return '%d%s%s' % (rounded, spacer, fraction_text) if rounded: return str(rounded) if fraction_text: return fraction_text - return u'0' + return '0' def Duration(duration, separator=' '): --- python3/google/apputils/run_script_module.py (original) +++ python3/google/apputils/run_script_module.py (refactored) @@ -118,7 +118,7 @@ def PrintOurUsage(): """Print usage for the stub script.""" - print 'Stub script %s (auto-generated). Options:' % sys.argv[0] + print('Stub script %s (auto-generated). Options:' % sys.argv[0]) print ('--helpstub ' 'Show help for stub script.') print ('--debug_binary ' @@ -203,8 +203,8 @@ args = [sys.executable] + args if show_command_and_exit: - print 'program: "%s"' % program - print 'args:', args + print('program: "%s"' % program) + print('args:', args) sys.exit(0) try: --- python3/google/apputils/setup_command.py (original) +++ python3/google/apputils/setup_command.py (refactored) @@ -125,7 +125,7 @@ sys.argv = [module.__file__] + self.test_args # Late import since this must be run with the project's sys.path. - import basetest + from . import basetest try: try: sys.stderr.write('Testing %s\n' % module_name) --- python3/google/apputils/stopwatch.py (original) +++ python3/google/apputils/stopwatch.py (refactored) @@ -45,7 +45,7 @@ all_this. """ -import StringIO +import io import time @@ -149,7 +149,7 @@ if total == 0.0: return 0.0 - all_timers = sum(self.accum.itervalues()) + all_timers = sum(self.accum.values()) return total - (all_timers - total) def results(self, verbose=False): @@ -165,7 +165,7 @@ """ now = time.time() - all_names = self.accum.keys() + all_names = list(self.accum.keys()) names = [] if 'total' in all_names: @@ -192,7 +192,7 @@ Returns: A string describing the stopwatch. """ - output = StringIO.StringIO() + output = io.StringIO() results = self.results(verbose=verbose) maxlength = max([len(result[0]) for result in results]) for result in results: --- python3/tests/appcommands_example.py (original) +++ python3/tests/appcommands_example.py (refactored) @@ -52,13 +52,13 @@ Returns: Value of flag fail1 """ - print 'Command1' + print('Command1') if FLAGS.hint: - print "Hint1:'%s'" % FLAGS.hint - print "Foo1:'%s'" % FLAGS.foo - print "Bar1:'%s'" % FLAGS.bar + print("Hint1:'%s'" % FLAGS.hint) + print("Foo1:'%s'" % FLAGS.foo) + print("Bar1:'%s'" % FLAGS.bar) if FLAGS.allhelp: - print "AllHelp:'%s'" % self._all_commands_help + print("AllHelp:'%s'" % self._all_commands_help) return FLAGS.fail1 * 1RefactoringTool: Refactored python3/tests/basetest_test.py @@ -82,22 +82,22 @@ Returns: Value of flag fail2 """ - print 'Command2' + print('Command2') if FLAGS.hint: - print "Hint2:'%s'" % FLAGS.hint - print "Foo2:'%s'" % FLAGS.foo - print "Bar2:'%s'" % FLAGS.bar + print("Hint2:'%s'" % FLAGS.hint) + print("Foo2:'%s'" % FLAGS.foo) + print("Bar2:'%s'" % FLAGS.bar) return FLAGS.fail2 * 1 def Test3(unused_argv): """Help for test3.""" - print 'Command3' + print('Command3') def Test4(unused_argv): """Help for test4.""" - print 'Command4' + print('Command4') def main(unused_argv): --- python3/tests/basetest_test.py (original) +++ python3/tests/basetest_test.py (refactored) @@ -180,8 +180,8 @@ def testFlags(self): if FLAGS.testid == 1: self.assertEqual(FLAGS.test_random_seed, 301) - self.assert_(FLAGS.test_tmpdir.startswith('/')) - self.assert_(os.access(FLAGS.test_tmpdir, os.W_OK)) + self.assertTrue(FLAGS.test_tmpdir.startswith('/')) + self.assertTrue(os.access(FLAGS.test_tmpdir, os.W_OK)) elif FLAGS.testid == 2: self.assertEqual(FLAGS.test_random_seed, 321) self.assertEqual(FLAGS.test_srcdir, 'cba') @@ -310,14 +310,14 @@ # Ensure we use equality as the sole measure of elements, not type, since # that is consistent with dict equality. self.assertDictEqual({1: 1.0, 2: 2}, {1: 1, 2: 3}) - except AssertionError, e: + except AssertionError as e: self.assertMultiLineEqual('{1: 1.0, 2: 2} != {1: 1, 2: 3}\n' 'repr() of differing entries:\n2: 2 != 3\n', str(e)) try: self.assertDictEqual({}, {'x': 1}) - except AssertionError, e: + except AssertionError as e: self.assertMultiLineEqual("{} != {'x': 1}\n" "Unexpected, but present entries:\n'x': 1\n", str(e)) @@ -326,7 +326,7 @@ try: self.assertDictEqual({}, {'x': 1}, 'a message') - except AssertionError, e: + except AssertionError as e: self.assertIn('a message', str(e)) else: self.fail('Expecting AssertionError') @@ -335,7 +335,7 @@ seen = {'a': 2, 'c': 3, 'd': 4} try: self.assertDictEqual(expected, seen) - except AssertionError, e: + except AssertionError as e: self.assertMultiLineEqual("""\ {'a': 1, 'b': 2, 'c': 3} != {'a': 2, 'c': 3, 'd': 4} Unexpected, but present entries: @@ -368,19 +368,19 @@ self.assertDictEqual( {'a': Obj('A'), Obj('b'): Obj('B'), Obj('c'): Obj('C')}, {'a': Obj('A'), Obj('d'): Obj('D'), Obj('e'): Obj('E')}) - except AssertionError, e: + except AssertionError as e: # Do as best we can not to be misleading when objects have the same repr # but aren't equal. err_str = str(e) self.assertStartsWith(err_str, "{'a': A, b: B, c: C} != {'a': A, d: D, e: E}\n") - self.assertRegexpMatches(err_str, + self.assertRegex(err_str, r'(?ms).*^Unexpected, but present entries:\s+' r'^(d: D$\s+^e: E|e: E$\s+^d: D)$') - self.assertRegexpMatches(err_str, + self.assertRegex(err_str, r'(?ms).*^repr\(\) of differing entries:\s+' r'^.a.: A != A$', err_str) - self.assertRegexpMatches(err_str, + self.assertRegex(err_str, r'(?ms).*^Missing entries:\s+' r'^(b: B$\s+^c: C|c: C$\s+^b: B)$') else: @@ -403,7 +403,7 @@ # prefix or a basetest_test prefix, so strip that for comparison. error_msg = re.sub( r'( at 0x[^>]+)|__main__\.|basetest_test\.', '', str(e)) - self.assertRegexpMatches(error_msg, """(?m)\ + self.assertRegex(error_msg, """(?m)\ {<.*RaisesOnRepr object.*>: <.*RaisesOnRepr object.*>} != \ {<.*RaisesOnRepr object.*>: <.*RaisesOnRepr object.*>} Unexpected, but present entries: @@ -547,14 +547,14 @@ self.assertNotAlmostEqual(1.0000001, 1.0) def testAssertAlmostEqualsWithDelta(self): - self.assertAlmostEquals(3.14, 3, delta=0.2) - self.assertAlmostEquals(2.81, 3.14, delta=1) - self.assertAlmostEquals(-1, 1, delta=3) - self.assertRaises(AssertionError, self.assertAlmostEquals, + self.assertAlmostEqual(3.14, 3, delta=0.2) + self.assertAlmostEqual(2.81, 3.14, delta=1) + self.assertAlmostEqual(-1, 1, delta=3) + self.assertRaises(AssertionError, self.assertAlmostEqual, 3.14, 2.81, delta=0.1) - self.assertRaises(AssertionError, self.assertAlmostEquals, + self.assertRaises(AssertionError, self.assertAlmostEqual, 1, 2, delta=0.5) - self.assertNotAlmostEquals(3.14, 2.81, delta=0.1) + self.assertNotAlmostEqual(3.14, 2.81, delta=0.1) def testGetCommandString_listOfStringArgument(self): expected = "'command' 'arg-0'" @@ -566,7 +566,7 @@ def testGetCommandString_listOfUnicodeStringArgument(self): expected = "'command' 'arg-0'" - observed = basetest.GetCommandString([u'command', u'arg-0']) + observed = basetest.GetCommandString(['command', 'arg-0']) self.assertEqual(expected, observed) @@ -580,7 +580,7 @@ def testGetCommandString_unicodeStringArgument(self): expected = 'command arg-0' - observed = basetest.GetCommandString(u'command arg-0') + observed = basetest.GetCommandString('command arg-0') self.assertEqual(expected, observed) @@ -637,11 +637,11 @@ def testAssertRegexMatch_unicodeVsBytes(self): """Ensure proper utf-8 encoding or decoding happens automatically.""" - self.assertRegexMatch(u'str', [b'str']) - self.assertRegexMatch(b'str', [u'str']) + self.assertRegexMatch('str', [b'str']) + self.assertRegexMatch(b'str', ['str']) def testAssertRegexMatch_unicode(self): - self.assertRegexMatch(u'foo str', [u'str']) + self.assertRegexMatch('foo str', ['str']) def testAssertRegexMatch_bytes(self): self.assertRegexMatch(b'foo str', [b'str']) @@ -649,7 +649,7 @@ def testAssertRegexMatch_allTheSameType(self): self.assertRaisesWithRegexpMatch( AssertionError, 'regexes .* same type', - self.assertRegexMatch, 'foo str', [b'str', u'foo']) + self.assertRegexMatch, 'foo str', [b'str', 'foo']) def testAssertCommandFailsStderr(self): # TODO(user): Gross! These should use sys.executable instead of @@ -662,13 +662,13 @@ self.assertCommandFails(['false'], ['']) def testAssertCommandFailsWithListOfUnicodeString(self): - self.assertCommandFails([u'false'], ['']) + self.assertCommandFails(['false'], ['']) def testAssertCommandFailsWithUnicodeString(self): - self.assertCommandFails(u'false', [u'']) + self.assertCommandFails('false', ['']) def testAssertCommandFailsWithUnicodeStringBytesRegex(self): - self.assertCommandFails(u'false', [b'']) + self.assertCommandFails('false', [b'']) def testAssertCommandSucceedsStderr(self): expected_re = re.compile(r'(.|\n)*FAIL at -e line 1\.', re.MULTILINE) @@ -680,7 +680,7 @@ ['/usr/bin/perl', '-e', 'die "FAIL";']) def testAssertCommandSucceedsWithMatchingUnicodeRegexes(self): - self.assertCommandSucceeds(['echo', 'SUCCESS'], regexes=[u'SUCCESS']) + self.assertCommandSucceeds(['echo', 'SUCCESS'], regexes=['SUCCESS']) def testAssertCommandSucceedsWithMatchingBytesRegexes(self): self.assertCommandSucceeds(['echo', 'SUCCESS'], regexes=[b'SUCCESS']) @@ -699,10 +699,10 @@ self.assertCommandSucceeds(['true']) def testAssertCommandSucceedsWithListOfUnicodeString(self): - self.assertCommandSucceeds([u'true']) + self.assertCommandSucceeds(['true']) def testAssertCommandSucceedsWithUnicodeString(self): - self.assertCommandSucceeds(u'true') + self.assertCommandSucceeds('true') def testInequality(self): # Try ints @@ -748,44 +748,44 @@ self.assertRaises(AssertionError, self.assertLessEqual, 'bug', 'ant') # Try Unicode - self.assertGreater(u'bug', u'ant') - self.assertGreaterEqual(u'bug', u'ant') - self.assertGreaterEqual(u'ant', u'ant') - self.assertLess(u'ant', u'bug') - self.assertLessEqual(u'ant', u'bug') - self.assertLessEqual(u'ant', u'ant') - self.assertRaises(AssertionError, self.assertGreater, u'ant', u'bug') - self.assertRaises(AssertionError, self.assertGreater, u'ant', u'ant') - self.assertRaises(AssertionError, self.assertGreaterEqual, u'ant', u'bug') - self.assertRaises(AssertionError, self.assertLess, u'bug', u'ant') - self.assertRaises(AssertionError, self.assertLess, u'ant', u'ant') - self.assertRaises(AssertionError, self.assertLessEqual, u'bug', u'ant') + self.assertGreater('bug', 'ant') + self.assertGreaterEqual('bug', 'ant') + self.assertGreaterEqual('ant', 'ant') + self.assertLess('ant', 'bug') + self.assertLessEqual('ant', 'bug') + self.assertLessEqual('ant', 'ant') + self.assertRaises(AssertionError, self.assertGreater, 'ant', 'bug') + self.assertRaises(AssertionError, self.assertGreater, 'ant', 'ant') + self.assertRaises(AssertionError, self.assertGreaterEqual, 'ant', 'bug') + self.assertRaises(AssertionError, self.assertLess, 'bug', 'ant') + self.assertRaises(AssertionError, self.assertLess, 'ant', 'ant') + self.assertRaises(AssertionError, self.assertLessEqual, 'bug', 'ant') # Try Mixed String/Unicode - self.assertGreater('bug', u'ant') - self.assertGreater(u'bug', 'ant') - self.assertGreaterEqual('bug', u'ant') - self.assertGreaterEqual(u'bug', 'ant') - self.assertGreaterEqual('ant', u'ant') - self.assertGreaterEqual(u'ant', 'ant') - self.assertLess('ant', u'bug') - self.assertLess(u'ant', 'bug') - self.assertLessEqual('ant', u'bug') - self.assertLessEqual(u'ant', 'bug') - self.assertLessEqual('ant', u'ant') - self.assertLessEqual(u'ant', 'ant') - self.assertRaises(AssertionError, self.assertGreater, 'ant', u'bug') - self.assertRaises(AssertionError, self.assertGreater, u'ant', 'bug') - self.assertRaises(AssertionError, self.assertGreater, 'ant', u'ant') - self.assertRaises(AssertionError, self.assertGreater, u'ant', 'ant') - self.assertRaises(AssertionError, self.assertGreaterEqual, 'ant', u'bug') - self.assertRaises(AssertionError, self.assertGreaterEqual, u'ant', 'bug') - self.assertRaises(AssertionError, self.assertLess, 'bug', u'ant') - self.assertRaises(AssertionError, self.assertLess, u'bug', 'ant') - self.assertRaises(AssertionError, self.assertLess, 'ant', u'ant') - self.assertRaises(AssertionError, self.assertLess, u'ant', 'ant') - self.assertRaises(AssertionError, self.assertLessEqual, 'bug', u'ant') - self.assertRaises(AssertionError, self.assertLessEqual, u'bug', 'ant') + self.assertGreater('bug', 'ant') + self.assertGreater('bug', 'ant') + self.assertGreaterEqual('bug', 'ant') + self.assertGreaterEqual('bug', 'ant') + self.assertGreaterEqual('ant', 'ant') + self.assertGreaterEqual('ant', 'ant') + self.assertLess('ant', 'bug') + self.assertLess('ant', 'bug') + self.assertLessEqual('ant', 'bug') + self.assertLessEqual('ant', 'bug') + self.assertLessEqual('ant', 'ant') + self.assertLessEqual('ant', 'ant') + self.assertRaises(AssertionError, self.assertGreater, 'ant', 'bug') + self.assertRaises(AssertionError, self.assertGreater, 'ant', 'bug') + self.assertRaises(AssertionError, self.assertGreater, 'ant', 'ant') + self.assertRaises(AssertionError, self.assertGreater, 'ant', 'ant') + self.assertRaises(AssertionError, self.assertGreaterEqual, 'ant', 'bug') + self.assertRaises(AssertionError, self.assertGreaterEqual, 'ant', 'bug') + self.assertRaises(AssertionError, self.assertLess, 'bug', 'ant') + self.assertRaises(AssertionError, self.assertLess, 'bug', 'ant') + self.assertRaises(AssertionError, self.assertLess, 'ant', 'ant') + self.assertRaises(AssertionError, self.assertLess, 'ant', 'ant') + self.assertRaises(AssertionError, self.assertLessEqual, 'bug', 'ant') + self.assertRaises(AssertionError, self.assertLessEqual, 'bug', 'ant') def testAssertMultiLineEqual(self): sample_text = """\ @@ -811,8 +811,8 @@ + own implementation that does not subclass from TestCase, of course. """ - for type1 in (str, unicode): - for type2 in (str, unicode): + for type1 in (str, str): + for type2 in (str, str): self.assertRaisesWithLiteralMatch(AssertionError, sample_text_error, self.assertMultiLineEqual, type1(sample_text), @@ -886,12 +886,12 @@ self.assertRaises(AssertionError, self.assertBetween, -1e10000, -1e10, 0) def testAssertRaisesWithPredicateMatch_noRaiseFails(self): - with self.assertRaisesRegexp(AssertionError, '^Exception not raised$'): + with self.assertRaisesRegex(AssertionError, '^Exception not raised$'): self.assertRaisesWithPredicateMatch(Exception, lambda e: True, lambda: 1) # don't raise - with self.assertRaisesRegexp(AssertionError, '^Exception not raised$'): + with self.assertRaisesRegex(AssertionError, '^Exception not raised$'): with self.assertRaisesWithPredicateMatch(Exception, lambda e: True): pass # don't raise @@ -911,12 +911,12 @@ def testAssertRaisesWithPredicateMatch_predicateFails(self): def _RaiseValueError(): raise ValueError - with self.assertRaisesRegexp(AssertionError, ' does not match predicate '): + with self.assertRaisesRegex(AssertionError, ' does not match predicate '): self.assertRaisesWithPredicateMatch(ValueError, lambda e: False, _RaiseValueError) - with self.assertRaisesRegexp(AssertionError, ' does not match predicate '): + with self.assertRaisesRegex(AssertionError, ' does not match predicate '): with self.assertRaisesWithPredicateMatch(ValueError, lambda e: False): raise ValueError @@ -940,7 +940,7 @@ self.assertRaisesWithRegexpMatch(ExceptionMock, re.compile('expect$'), Stub) self.assertRaisesWithRegexpMatch(ExceptionMock, 'expect$', Stub) - self.assertRaisesWithRegexpMatch(ExceptionMock, u'expect$', Stub) + self.assertRaisesWithRegexpMatch(ExceptionMock, 'expect$', Stub) def testAssertNotRaisesWithRegexpMatch(self): self.assertRaisesWithRegexpMatch( @@ -952,7 +952,7 @@ self.assertRaisesWithRegexpMatch, Exception, 'x', lambda: None) self.assertRaisesWithRegexpMatch( AssertionError, '^Exception not raised', - self.assertRaisesWithRegexpMatch, Exception, u'x', lambda: None) + self.assertRaisesWithRegexpMatch, Exception, 'x', lambda: None) def testAssertRaisesWithRegexpMismatch(self): def Stub(): @@ -1105,14 +1105,14 @@ self.assertRaises(AssertionError, self.assertTotallyOrdered, [1, 2]) def testShortDescriptionWithoutDocstring(self): - self.assertEquals( + self.assertEqual( self.shortDescription(), ('testShortDescriptionWithoutDocstring ' '(%s.GoogleTestBaseUnitTest)' % __name__)) def testShortDescriptionWithOneLineDocstring(self): """Tests shortDescription() for a method with a docstring.""" - self.assertEquals( + self.assertEqual( self.shortDescription(), ('testShortDescriptionWithOneLineDocstring ' '(%s.GoogleTestBaseUnitTest)\n' @@ -1125,7 +1125,7 @@ returned used in the short description, no matter how long the whole thing is. """ - self.assertEquals( + self.assertEqual( self.shortDescription(), ('testShortDescriptionWithMultiLineDocstring ' '(%s.GoogleTestBaseUnitTest)\n' @@ -1135,7 +1135,7 @@ def testRecordedProperties(self): """Tests that a test can record a property and then retrieve it.""" self.recordProperty('test_property', 'test_value') - self.assertEquals(self.getRecordedProperties(), + self.assertEqual(self.getRecordedProperties(), {'test_property': 'test_value'}) def testAssertUrlEqualSame(self):RefactoringTool: Refactored python3/tests/datelib_unittest.py RefactoringTool: Refactored python3/tests/file_util_test.py @@ -1184,7 +1184,7 @@ self.assertSameStructure({}, {}) self.assertSameStructure({'one': 1}, {'one': 1}) # int and long should always be treated as the same type. - self.assertSameStructure({3L: 3}, {3: 3L}) + self.assertSameStructure({3: 3}, {3: 3}) def testSameStructure_different(self): # Different type @@ -1404,22 +1404,22 @@ # Compare two distinct objects self.assertFalse(i1 is i2) self.assertRaises(AssertionError, self.assertEqual, i1, i2) - self.assertRaises(AssertionError, self.assertEquals, i1, i2) - self.assertRaises(AssertionError, self.failUnlessEqual, i1, i2) + self.assertRaises(AssertionError, self.assertEqual, i1, i2) + self.assertRaises(AssertionError, self.assertEqual, i1, i2) self.assertRaises(AssertionError, self.assertNotEqual, i1, i2) - self.assertRaises(AssertionError, self.assertNotEquals, i1, i2) - self.assertRaises(AssertionError, self.failIfEqual, i1, i2) + self.assertRaises(AssertionError, self.assertNotEqual, i1, i2) + self.assertRaises(AssertionError, self.assertNotEqual, i1, i2) # A NeverEqual object should not compare equal to itself either. i2 = i1 self.assertTrue(i1 is i2) self.assertFalse(i1 == i2) self.assertFalse(i1 != i2) self.assertRaises(AssertionError, self.assertEqual, i1, i2) - self.assertRaises(AssertionError, self.assertEquals, i1, i2) - self.assertRaises(AssertionError, self.failUnlessEqual, i1, i2) + self.assertRaises(AssertionError, self.assertEqual, i1, i2) + self.assertRaises(AssertionError, self.assertEqual, i1, i2) self.assertRaises(AssertionError, self.assertNotEqual, i1, i2) - self.assertRaises(AssertionError, self.assertNotEquals, i1, i2) - self.assertRaises(AssertionError, self.failIfEqual, i1, i2) + self.assertRaises(AssertionError, self.assertNotEqual, i1, i2) + self.assertRaises(AssertionError, self.assertNotEqual, i1, i2) def testAllComparisonsSucceed(self): a = self.AllSame() @@ -1428,11 +1428,11 @@ self.assertTrue(a == b) self.assertFalse(a != b) self.assertEqual(a, b) - self.assertEquals(a, b) - self.failUnlessEqual(a, b) + self.assertEqual(a, b) + self.assertEqual(a, b) self.assertRaises(AssertionError, self.assertNotEqual, a, b) - self.assertRaises(AssertionError, self.assertNotEquals, a, b) - self.assertRaises(AssertionError, self.failIfEqual, a, b) + self.assertRaises(AssertionError, self.assertNotEqual, a, b) + self.assertRaises(AssertionError, self.assertNotEqual, a, b) def _PerformAppleAppleOrangeChecks(self, same_a, same_b, different): """Perform consistency checks with two apples and an orange. @@ -1449,8 +1449,8 @@ self.assertTrue(same_a == same_b) self.assertFalse(same_a != same_b) self.assertEqual(same_a, same_b) - self.assertEquals(same_a, same_b) - self.failUnlessEqual(same_a, same_b) + self.assertEqual(same_a, same_b) + self.assertEqual(same_a, same_b) if PY_VERSION_2: # Python 3 removes the global cmp function self.assertEqual(0, cmp(same_a, same_b)) @@ -1458,16 +1458,16 @@ self.assertFalse(same_a == different) self.assertTrue(same_a != different) self.assertNotEqual(same_a, different) - self.assertNotEquals(same_a, different) - self.failIfEqual(same_a, different) + self.assertNotEqual(same_a, different) + self.assertNotEqual(same_a, different) if PY_VERSION_2: self.assertNotEqual(0, cmp(same_a, different)) self.assertFalse(same_b == different) self.assertTrue(same_b != different) self.assertNotEqual(same_b, different) - self.assertNotEquals(same_b, different) - self.failIfEqual(same_b, different) + self.assertNotEqual(same_b, different) + self.assertNotEqual(same_b, different) if PY_VERSION_2: self.assertNotEqual(0, cmp(same_b, different)) @@ -1565,7 +1565,7 @@ def __init__(self): # pylint: disable=super-init-not-called pass - Subclass().assertEquals({}, {}) + Subclass().assertEqual({}, {}) def testMultipleInheritance(self): @@ -1577,7 +1577,7 @@ class Subclass(Foo, basetest.TestCase): pass - Subclass().assertEquals({}, {}) + Subclass().assertEqual({}, {}) if __name__ == '__main__': --- python3/tests/datelib_unittest.py (original) +++ python3/tests/datelib_unittest.py (refactored) @@ -37,12 +37,12 @@ def testTzRandomConversion(self): random.seed(self.seed) - for unused_i in xrange(100): + for unused_i in range(100): stz = pytz.timezone(random.choice(pytz.all_timezones)) a = datelib.Timestamp.FromString('2008-04-12T10:00:00', stz) b = a - for unused_j in xrange(100): + for unused_j in range(100): b = b.astimezone(pytz.timezone(random.choice(pytz.all_timezones))) self.assertEqual(a, b) random.seed() @@ -58,7 +58,7 @@ IsEq(datelib.MAXIMUM_MICROSECOND_TIMESTAMP) random.seed(self.seed) - for _ in xrange(100): + for _ in range(100): IsEq(random.randint(0, datelib.MAXIMUM_MICROSECOND_TIMESTAMP)) def testMicroTimestampKnown(self): @@ -79,7 +79,7 @@ datelib.Timestamp.FromMicroTimestamp(b))) random.seed(self.seed) - for unused_i in xrange(100): + for unused_i in range(100): IsEq( random.randint(0, datelib.MAXIMUM_MICROSECOND_TIMESTAMP), random.randint(0, datelib.MAXIMUM_MICROSECOND_TIMESTAMP)) @@ -130,7 +130,7 @@ startdate = datelib.US_PACIFIC.localize( datelib.Timestamp(2009, 1, 1, 3, 0, 0, 0)) - for day in xrange(1, 366): + for day in range(1, 366): self.assertEqual( datelib.Timestamp.FromString(startdate.isoformat()), startdate, @@ -143,7 +143,7 @@ The result shall always be the same as tz.localize(naive_time). """ baseday = datelib.datetime.date(2009, 1, 1).toordinal() - for day_offset in xrange(0, 365): + for day_offset in range(0, 365): day = datelib.datetime.date.fromordinal(baseday + day_offset) naive_day = datelib.datetime.datetime.combine( day, datelib.datetime.time(0, 45, 9)) @@ -183,9 +183,9 @@ self.assertEqual( 0, datelib.DatetimeToUTCMicros(_EpochToDatetime(0))) self.assertEqual( - 1001 * long(datelib._MICROSECONDS_PER_SECOND), + 1001 * int(datelib._MICROSECONDS_PER_SECOND), datelib.DatetimeToUTCMicros(_EpochToDatetime(1001))) - self.assertEqual(long(self.now * datelib._MICROSECONDS_PER_SECOND), + self.assertEqual(int(self.now * datelib._MICROSECONDS_PER_SECOND), datelib.DatetimeToUTCMicros(_EpochToDatetime(self.now))) # tzinfo shouldn't change the result @@ -196,8 +196,8 @@ self.assertEqual( 0, datelib.DatetimeToUTCMillis(_EpochToDatetime(0))) self.assertEqual( - 1001 * 1000L, datelib.DatetimeToUTCMillis(_EpochToDatetime(1001))) - self.assertEqual(long(self.now * 1000), + 1001 * 1000, datelib.DatetimeToUTCMillis(_EpochToDatetime(1001))) + self.assertEqual(int(self.now * 1000), datelib.DatetimeToUTCMillis(_EpochToDatetime(self.now))) # tzinfo shouldn't change the result @@ -209,7 +209,7 @@ self.assertEqual(_EpochToDatetime(1.000001), datelib.UTCMicrosToDatetime(1000001)) self.assertEqual(_EpochToDatetime(self.now), datelib.UTCMicrosToDatetime( - long(self.now * datelib._MICROSECONDS_PER_SECOND))) + int(self.now * datelib._MICROSECONDS_PER_SECOND))) # Check timezone-aware comparisons self.assertEqual(_EpochToDatetime(0, self.pst), @@ -224,7 +224,7 @@ dt = _EpochToDatetime(t) # truncate sub-milli time dt -= datelib.datetime.timedelta(microseconds=dt.microsecond % 1000) - self.assertEqual(dt, datelib.UTCMillisToDatetime(long(t * 1000))) + self.assertEqual(dt, datelib.UTCMillisToDatetime(int(t * 1000))) # Check timezone-aware comparisons self.assertEqual(_EpochToDatetime(0, self.pst), --- python3/tests/file_util_test.py (original) +++ python3/tests/file_util_test.py (refactored) @@ -16,7 +16,7 @@ RefactoringTool: Refactored python3/tests/humanize_test.py RefactoringTool: No changes to python3/tests/resources_test.py RefactoringTool: No changes to python3/tests/sh_test.py RefactoringTool: No changes to python3/tests/shellutil_unittest.py RefactoringTool: No changes to python3/tests/stopwatch_unittest.py RefactoringTool: Files that were modified: RefactoringTool: python3/ez_setup.py RefactoringTool: python3/setup.py RefactoringTool: python3/google/__init__.py RefactoringTool: python3/google/apputils/__init__.py RefactoringTool: python3/google/apputils/app.py RefactoringTool: python3/google/apputils/appcommands.py RefactoringTool: python3/google/apputils/basetest.py RefactoringTool: python3/google/apputils/datelib.py RefactoringTool: python3/google/apputils/debug.py RefactoringTool: python3/google/apputils/file_util.py RefactoringTool: python3/google/apputils/humanize.py RefactoringTool: python3/google/apputils/resources.py RefactoringTool: python3/google/apputils/run_script_module.py RefactoringTool: python3/google/apputils/setup_command.py RefactoringTool: python3/google/apputils/shellutil.py RefactoringTool: python3/google/apputils/stopwatch.py RefactoringTool: python3/tests/app_test.py RefactoringTool: python3/tests/app_test_helper.py RefactoringTool: python3/tests/appcommands_example.py RefactoringTool: python3/tests/basetest_test.py RefactoringTool: python3/tests/datelib_unittest.py RefactoringTool: python3/tests/file_util_test.py RefactoringTool: python3/tests/humanize_test.py RefactoringTool: python3/tests/resources_test.py RefactoringTool: python3/tests/sh_test.py RefactoringTool: python3/tests/shellutil_unittest.py RefactoringTool: python3/tests/stopwatch_unittest.py -import __builtin__ +import builtins import errno import os import posix @@ -64,7 +64,7 @@ file_util.Write(self.file_path, 'original contents') file_util.Write(self.file_path, self.sample_contents) with open(self.file_path) as fp: - self.assertEquals(fp.read(), self.sample_contents) + self.assertEqual(fp.read(), self.sample_contents) def testWriteExclusive(self): file_util.Write(self.file_path, 'original contents') @@ -72,7 +72,7 @@ self.sample_contents, overwrite_existing=False) def testWriteMode(self): - mode = 0744 + mode = 0o744 file_util.Write(self.file_path, self.sample_contents, mode=mode) s = os.stat(self.file_path) self.assertEqual(stat.S_IMODE(s.st_mode), mode) @@ -80,10 +80,10 @@ def testAtomicWriteSuccessful(self): file_util.AtomicWrite(self.file_path, self.sample_contents) with open(self.file_path) as fp: - self.assertEquals(fp.read(), self.sample_contents) + self.assertEqual(fp.read(), self.sample_contents) def testAtomicWriteMode(self): - mode = 0745 + mode = 0o745 file_util.AtomicWrite(self.file_path, self.sample_contents, mode=mode) s = os.stat(self.file_path) self.assertEqual(stat.S_IMODE(s.st_mode), mode) @@ -125,7 +125,7 @@ self.mox.ReplayAll() try: - self.assertEquals(file_util.Read(self.file_path), self.sample_contents) + self.assertEqual(file_util.Read(self.file_path), self.sample_contents) self.mox.VerifyAll() finally: # Because we mock out the built-in open() function, which the unittest @@ -142,7 +142,7 @@ self.mox.StubOutWithMock(os, 'chown') gid = 'new gid' os.open(self.file_path, os.O_WRONLY | os.O_TRUNC | os.O_CREAT, - 0666).AndReturn(self.fd) + 0o666).AndReturn(self.fd) os.write(self.fd, self.sample_contents) os.close(self.fd) os.chown(self.file_path, -1, gid) @@ -211,7 +211,7 @@ file_util.AtomicWrite(self.file_path, self.sample_contents, mode=self.mode) except OSError as e: - self.assertEquals(str(e), + self.assertEqual(str(e), 'A problem renaming!. Additional errors cleaning up: ' 'A problem removing!') else: @@ -244,7 +244,7 @@ temp_dirs = [] self.assertRaises(Exception, Inner, temp_dirs) # Ensure that the directory is removed on exit even when exceptions happen. - self.assertEquals(len(temp_dirs), 1) + self.assertEqual(len(temp_dirs), 1) self.assertFalse(os.path.isdir(temp_dirs[0])) def testTemporaryDirectory(self): @@ -281,10 +281,10 @@ def testNoErrorsAbsoluteOneDirWithForceMode(self): # record, replay os.mkdir('/foo') - os.chmod('/foo', 0707) - self.mox.ReplayAll() - # test, verify - file_util.MkDirs('/foo', force_mode=0707) + os.chmod('/foo', 0o707) + self.mox.ReplayAll() + # test, verify + file_util.MkDirs('/foo', force_mode=0o707) self.mox.VerifyAll() def testNoErrorsExistingDirWithForceMode(self): @@ -295,7 +295,7 @@ os.path.isdir('/foo').AndReturn(True) self.mox.ReplayAll() # test, verify - file_util.MkDirs('/foo', force_mode=0707) + file_util.MkDirs('/foo', force_mode=0o707) self.mox.VerifyAll() def testNoErrorsAbsoluteSlashDot(self): @@ -331,10 +331,10 @@ os.mkdir('/foo').AndRaise(exist_error) # /foo exists os.path.isdir('/foo').AndReturn(True) os.mkdir('/foo/bar') # bar does not - os.chmod('/foo/bar', 0707) - self.mox.ReplayAll() - # test, verify - file_util.MkDirs('/foo/bar', force_mode=0707) + os.chmod('/foo/bar', 0o707) + self.mox.ReplayAll() + # test, verify + file_util.MkDirs('/foo/bar', force_mode=0o707) self.mox.VerifyAll() def testNoErrorsRelativeOneDir(self): --- python3/tests/humanize_test.py (original) +++ python3/tests/humanize_test.py (refactored) @@ -89,7 +89,7 @@ humanize.DecimalPrefix(-0.004, 'm', min_scale=None)) self.assertEqual('0 m', humanize.DecimalPrefix(0, 'm', min_scale=None)) self.assertEqual( - u'1 µs', + '1 µs', humanize.DecimalPrefix(0.0000013, 's', min_scale=None)) self.assertEqual('3 km', humanize.DecimalPrefix(3000, 'm', min_scale=None)) self.assertEqual( @@ -116,7 +116,7 @@ # Test both int and long versions of the same quantity to make sure they are # printed in the same way. self.assertEqual('10.0 QPS', humanize.BinaryPrefix(10, 'QPS', precision=3)) - self.assertEqual('10.0 QPS', humanize.BinaryPrefix(10L, 'QPS', precision=3)) + self.assertEqual('10.0 QPS', humanize.BinaryPrefix(10, 'QPS', precision=3)) def testDecimalScale(self): self.assertIsInstance(humanize.DecimalScale(0, '')[0], float) @@ -136,7 +136,7 @@ self.assertEqual((450, 'mSWE'), humanize.DecimalScale(0.45, 'SWE', min_scale=None)) self.assertEqual( - (250, u'µm'), + (250, 'µm'), humanize.DecimalScale(1.0 / (4 * 1000), 'm', min_scale=None)) self.assertEqual( (0.250, 'km'), @@ -158,31 +158,31 @@ def testPrettyFraction(self): # No rounded integer part - self.assertEqual(u'½', humanize.PrettyFraction(0.5)) + self.assertEqual('½', humanize.PrettyFraction(0.5)) # Roundeded integer + fraction - self.assertEqual(u'6⅔', humanize.PrettyFraction(20.0 / 3.0)) + self.assertEqual('6⅔', humanize.PrettyFraction(20.0 / 3.0)) # Rounded integer, no fraction - self.assertEqual(u'2', humanize.PrettyFraction(2.00001)) + self.assertEqual('2', humanize.PrettyFraction(2.00001)) # No rounded integer, no fraction - self.assertEqual(u'0', humanize.PrettyFraction(0.001)) + self.assertEqual('0', humanize.PrettyFraction(0.001)) # Round up - self.assertEqual(u'1', humanize.PrettyFraction(0.99)) + self.assertEqual('1', humanize.PrettyFraction(0.99)) # No round up, edge case - self.assertEqual(u'⅞', humanize.PrettyFraction(0.9)) + self.assertEqual('⅞', humanize.PrettyFraction(0.9)) # Negative fraction - self.assertEqual(u'-⅕', humanize.PrettyFraction(-0.2)) + self.assertEqual('-⅕', humanize.PrettyFraction(-0.2)) # Negative close to zero (should not be -0) - self.assertEqual(u'0', humanize.PrettyFraction(-0.001)) + self.assertEqual('0', humanize.PrettyFraction(-0.001)) # Smallest fraction that should round down. - self.assertEqual(u'0', humanize.PrettyFraction(1.0 / 16.0)) + self.assertEqual('0', humanize.PrettyFraction(1.0 / 16.0)) # Largest fraction should round up. - self.assertEqual(u'1', humanize.PrettyFraction(15.0 / 16.0)) + self.assertEqual('1', humanize.PrettyFraction(15.0 / 16.0)) # Integer zero. - self.assertEqual(u'0', humanize.PrettyFraction(0)) + self.assertEqual('0', humanize.PrettyFraction(0)) # Check that division yields fraction - self.assertEqual(u'⅘', humanize.PrettyFraction(4.0 / 5.0)) + self.assertEqual('⅘', humanize.PrettyFraction(4.0 / 5.0)) # Custom spacer. - self.assertEqual(u'2 ½', humanize.PrettyFraction(2.5, spacer=' ')) + self.assertEqual('2 ½', humanize.PrettyFraction(2.5, spacer=' ')) def testDuration(self): self.assertEqual('2h', humanize.Duration(7200)) + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MTicQL + umask 022 + cd /builddir/build/BUILD + cd python-google-apputils-0.4.2 ~/build/BUILD/python-google-apputils-0.4.2/python2 ~/build/BUILD/python-google-apputils-0.4.2 ~/build/BUILD/python-google-apputils-0.4.2 ~/build/BUILD/python-google-apputils-0.4.2/python3 ~/build/BUILD/python-google-apputils-0.4.2 + pushd python2 + popd + pushd python3 + /usr/libexec/platform-python setup.py build running build running build_py creating build creating build/lib creating build/lib/google copying google/__init__.py -> build/lib/google creating build/lib/google/apputils copying google/apputils/setup_command.py -> build/lib/google/apputils copying google/apputils/humanize.py -> build/lib/google/apputils copying google/apputils/run_script_module.py -> build/lib/google/apputils copying google/apputils/basetest.py -> build/lib/google/apputils copying google/apputils/datelib.py -> build/lib/google/apputils copying google/apputils/__init__.py -> build/lib/google/apputils copying google/apputils/file_util.py -> build/lib/google/apputils copying google/apputils/appcommands.py -> build/lib/google/apputils copying google/apputils/app.py -> build/lib/google/apputils copying google/apputils/resources.py -> build/lib/google/apputils copying google/apputils/debug.py -> build/lib/google/apputils copying google/apputils/shellutil.py -> build/lib/google/apputils copying google/apputils/stopwatch.py -> build/lib/google/apputils + popd ~/build/BUILD/python-google-apputils-0.4.2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UzswpF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64 + cd python-google-apputils-0.4.2 ~/build/BUILD/python-google-apputils-0.4.2/python3 ~/build/BUILD/python-google-apputils-0.4.2 + pushd python3 + /usr/libexec/platform-python setup.py install --skip-build --root /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64 running install running install_lib Skipping installation of /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/__init__.py (namespace package) copying google/apputils/stopwatch.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils copying google/apputils/shellutil.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils copying google/apputils/debug.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils copying google/apputils/resources.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils copying google/apputils/app.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils copying google/apputils/appcommands.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils copying google/apputils/file_util.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils copying google/apputils/__init__.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils copying google/apputils/datelib.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils copying google/apputils/basetest.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils copying google/apputils/run_script_module.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils copying google/apputils/humanize.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils copying google/apputils/setup_command.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils/stopwatch.py to stopwatch.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils/shellutil.py to shellutil.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils/debug.py to debug.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils/resources.py to resources.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils/app.py to app.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils/appcommands.py to appcommands.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils/file_util.py to file_util.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils/datelib.py to datelib.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils/basetest.py to basetest.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils/run_script_module.py to run_script_module.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils/humanize.py to humanize.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google/apputils/setup_command.py to setup_command.cpython-36.pyc running install_egg_info running egg_info writing google_apputils.egg-info/PKG-INFO writing dependency_links to google_apputils.egg-info/dependency_links.txt writing entry points to google_apputils.egg-info/entry_points.txt writing namespace_packages to google_apputils.egg-info/namespace_packages.txt writing requirements to google_apputils.egg-info/requires.txt writing top-level names to google_apputils.egg-info/top_level.txt reading manifest file 'google_apputils.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'google_apputils.egg-info/SOURCES.txt' Copying google_apputils.egg-info to /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google_apputils-0.4.2-py3.6.egg-info Installing /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6/site-packages/google_apputils-0.4.2-py3.6-nspkg.pth running install_scripts + popd + pushd python2 ~/build/BUILD/python-google-apputils-0.4.2 ~/build/BUILD/python-google-apputils-0.4.2/python2 ~/build/BUILD/python-google-apputils-0.4.2 ~/build/BUILD/python-google-apputils-0.4.2 + popd + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.4.2-18.el8 --unique-debug-suffix -0.4.2-18.el8.x86_64 --unique-debug-src-base python-google-apputils-0.4.2-18.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/python-google-apputils-0.4.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Ul7bSB + umask 022 + cd /builddir/build/BUILD + cd python-google-apputils-0.4.2 + pushd python2 ~/build/BUILD/python-google-apputils-0.4.2/python2 ~/build/BUILD/python-google-apputils-0.4.2 ~/build/BUILD/python-google-apputils-0.4.2 + popd + exit 0 Processing files: python3-google-apputils-0.4.2-18.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.24tPly + umask 022 + cd /builddir/build/BUILD + cd python-google-apputils-0.4.2 + DOCDIR=/builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/share/doc/python-google-apputils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/share/doc/python-google-apputils + cp -pr python3/README /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/share/doc/python-google-apputils + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.oLKWQu + umask 022 + cd /builddir/build/BUILD + cd python-google-apputils-0.4.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/share/licenses/python-google-apputils + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/share/licenses/python-google-apputils + cp -pr python3/LICENSE /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64/usr/share/licenses/python-google-apputils + exit 0 Provides: python3-google-apputils = 0.4.2-18.el8 python3.6dist(google-apputils) = 0.4.2 python3dist(google-apputils) = 0.4.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64 Wrote: /builddir/build/RPMS/python3-google-apputils-0.4.2-18.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.a7P9vF + umask 022 + cd /builddir/build/BUILD + cd python-google-apputils-0.4.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-google-apputils-0.4.2-18.el8.x86_64 + exit 0 Finish: rpmbuild python-google-apputils-0.4.2-18.el8.src.rpm Finish: build phase for python-google-apputils-0.4.2-18.el8.src.rpm INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/1062301-epel-8-x86_64-1571288393.484278/root/var/log/dnf.rpm.log /var/lib/mock/1062301-epel-8-x86_64-1571288393.484278/root/var/log/dnf.librepo.log /var/lib/mock/1062301-epel-8-x86_64-1571288393.484278/root/var/log/dnf.log INFO: Done(/var/lib/copr-rpmbuild/results/python-google-apputils-0.4.2-18.el8.src.rpm) Config(child) 0 minutes 42 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run WARNING: Could not find required logging config file: /var/lib/copr-rpmbuild/results/configs/logging.ini. Using default... INFO: mock.py version 1.4.20 starting (python version = 3.7.4)... Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run Start: scrub ['cache'] INFO: scrubbing cache for child Finish: scrub ['cache'] Finish: run