Mock Version: 1.1.41 Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/python-bitmath.spec'], False, '/var/lib/mock/f19-build-2743925-441056/root/', None, 86400, True, False, 1000, 425, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/python-bitmath.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: Could not canonicalize hostname: buildhw-04.phx2.fedoraproject.org Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-bitmath-1.1.0-1.fc19.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/python-bitmath.spec'], False, '/var/lib/mock/f19-build-2743925-441056/root/', None, 86400, True, False, 1000, 425, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/python-bitmath.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AU3Mtt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bitmath-1.1.0-1 + /usr/bin/gzip -dc /builddir/build/SOURCES/1.1.0-1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd bitmath-1.1.0-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.P0KW0l + umask 022 + cd /builddir/build/BUILD + cd bitmath-1.1.0-1 + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib creating build/lib/bitmath copying bitmath/__init__.py -> build/lib/bitmath + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.b3aHIe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch ++ dirname /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch + cd bitmath-1.1.0-1 + /usr/bin/python2 setup.py install -O1 --root=/builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch --record=python-bitmath-files.txt running install running build running build_py running install_lib creating /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr creating /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr/lib creating /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr/lib/python2.7/site-packages/bitmath copying build/lib/bitmath/__init__.py -> /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr/lib/python2.7/site-packages/bitmath byte-compiling /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr/lib/python2.7/site-packages/bitmath/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpBASA1Z.py' /usr/bin/python2 -O /tmp/tmpBASA1Z.py removing /tmp/tmpBASA1Z.py running install_egg_info running egg_info writing bitmath.egg-info/PKG-INFO writing top-level names to bitmath.egg-info/top_level.txt writing dependency_links to bitmath.egg-info/dependency_links.txt writing entry points to bitmath.egg-info/entry_points.txt reading manifest file 'bitmath.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'bitmath.egg-info/SOURCES.txt' Copying bitmath.egg-info to /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr/lib/python2.7/site-packages/bitmath-1.1.0_1-py2.7.egg-info running install_scripts Installing bitmath script to /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr/bin writing list of installed files to 'python-bitmath-files.txt' + mkdir -p /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch//usr/share/man/man1/ + cp -v bitmath.1 /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch//usr/share/man/man1/ 'bitmath.1' -> '/builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch//usr/share/man/man1/bitmath.1' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/bitmath-1.1.0-1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4C3r68 + umask 022 + cd /builddir/build/BUILD + cd bitmath-1.1.0-1 + nosetests -v abs(NegativeObject) is positive ... ok abs(PositiveObject) is positive ... ok Adding two different bitmath types is equal to another type of the same size ... ok Adding the same bitmath types is equal to result as the same type ... ok Adding a bit based type with a byte based type ... ok bitmath + number = number ... ok bitmath / bitmath = number ... ok bitmath / number = bitmath ... ok bitmath * bitmath = bitmath ... ok bitmath * number = bitmath ... ok bitmath - bitmath = bitmath ... ok bitmath - number = number ... ok Two different bitmath types are equal ... ok Negating a positive makes a negative ... ok Plus'ing a negative makes a positive ... ok number + bitmath = number ... ok number / bitmath = number ... ok number * bitmath = bitmath ... ok number - bitmath = number ... ok Two same bitmath types are equal ... ok Subtracting a bit based type with a byte based type ... ok A bitmath type is equal to the value it's instanted with ... ok BASE: 2 Bytes (as a Bit()) round up into a Byte() ... ok BASE: 1 Byte (as a Byte()) best prefix is still a Byte() ... ok BASE: 4 Bits (as a Byte()) round down into a Bit() ... ok NIST: Best prefix uses the current system if no preference set ... ok NIST: instance.best_prefix returns the same type if nothing changes ... ok NIST: Best prefix honors a NIST preference when starting with an NIST unit ... ok NIST: Best prefix honors a NIST preference when starting with an SI unit ... ok NIST: 1 Bit (as a EiB()) rounds down into a Bit() ... ok NIST: 2048 EiB (as a KiB()) rounds up into an EiB() ... ok NIST: A very small Pibibyte rounds down into a KibiByte ... ok NIST: A very large Kibibyte rounds up into a Pibibyte ... ok NIST: 1 MiB (as a GiB()) rounds down into a MiB() ... ok NIST: 1 GiB (as a MiB()) rounds up into a GiB() ... ok SI: Best prefix uses the current system if no preference set ... ok SI: best_prefix returns the same type when nothing changes ... ok SI: Best prefix honors a SI preference when starting with a NIST unit ... ok SI: Best prefix honors a SI preference when starting with an SI unit ... ok SI: 1 Bit (as a EB()) rounds down into a Bit() ... ok SI: 2048 EB (as a kB()) rounds up into an EB() ... ok SI: A very small Petabyte rounds down into a Kilobyte ... ok SI: A very large Kilobyte rounds up into a Petabyte ... ok SI: 1 MB (as a GB()) rounds down into a MB() ... ok SI: 1 GB (as a MB()) rounds up into a GB() ... ok Bits and'd (&) are correct ... ok Bits left shifted (<<) are increased ... ok Bits or'd (|) are correct ... ok Bits right shifted (>>) are decreased ... ok Bits xor'd (^) are correct ... ok CLI script returns correct if given FROM and TO units ... ok CLI script returns nothing if no input is given ... ok CLI script works if no to/from units are provided ... ok CLI script returns correct TO units ... ok TiB(1/3.0) prints out units in plural form, setting the fmt str in the mgr ... ok TiB(1/3.0) prints out units in singular form, setting the fmt str in the mgr ... ok Byte(3.0) prints out units in plural form ... ok Byte(3.0) prints out units in plural form, setting the fmt str in the mgr ... ok bitmath.format context mgr sets and restores formatting ... ok NIST: getsize reports the correct type and size for byte sized files ... ok SI: getsize reports the correct type and size for byte sized files ... ok NIST: getsize reports the correct type and size for kibibyte sized files ... ok SI: getsize reports the correct type and size for kibibyte sized files ... ok listdir: filtering with nosymlinks returns 0 matches for a filter ... ok listdir: no symbolic links in tree measures right with a filter ... ok listdir: no symbolic links in tree measures right ... ok listdir: symbolic links in tree are followed ... ok listdir: symlinks followed, absolute paths are returned ... ok listdir: symbolic links in tree not followed ... ok truediv: bitmath / bitmath = number ... ok truediv: bitmath / number = bitmath ... ok truediv: number / bitmath = number ... ok Instantiation fails if bytes and bits are both provided ... ok Instantiation fails if value and bits are both provided ... ok Instantiation fails if value and bytes are both provided ... ok Instantiation fails if value and bytes and bits are all provided ... ok Instantiation works with the 'bits' kw arg ... ok Instantiation works with the 'bytes' kw arg ... ok Instantiation works with no arguments ... ok Instantiation works with only 'value' provided ... ok parse_string works on byte strings ... ok parse_string works on gigabyte strings ... ok parse_string works on mebibyte strings ... ok parse_string works on bit strings ... ok parse_string can identify invalid float values ... ok parse_string can identify invalid prefix units ... ok parse_string can identify other prefix units ... ok parse_string can identify strings without units at all ... ok parse_string can identify a non-string input ... ok Read the 'bits' property of a bitmath type ... ok Read the 'bytes' property of a bitmath type ... ok Read the 'value' property of a bitmath type ... ok bitmath type's properties are read-only ... ok KiB(1.0) looks right if changing fmt str in bitmath.KiB ... ok MiB(0.5) looks correct in a terminal ... ok MiB(0.5) looks correct as a string ... ok kB(1).system is SI ... ok kB(1).unit is kB ... ok KiB(1).base is 2 ... ok KiB(1).bin (binary alias) is binary ... ok KiB(1).binary is binary ... ok KiB(1).power (binary alias) is 10 ... ok KiB(1).system is NIST ... ok KiB(1).unit is KiB ... ok KiB(12345) as a MiB (12.0556640625) truncates to 5 digits ... ok Byte(1.0) prints out units in singular form ... ok MiB(102.4754) prints out with four digits of precision ... ok MiB(1/3.0) prints out with two digits of precision ... ok KiB(1) looks correct in a terminal ... ok KiB(1) looks correct as a string ... ok Two equal values are actually equal ... ok Unequal objects aren't equal ... ok Unequal objects aren't equal with numbers ... ok Two equal values are actually equal with numbers ... ok 1 GiB is greater than 1 Mib ... ok Greater or equal is more than or equal to one MiB ... ok Greater or equal is more than or equal to int(1) ... ok 1 GiB is greater than 0.5 ... ok One KiB is less than one MiB ... ok Smaller or equal is less than or equal to one MiB ... ok Smaller or equal is less than or equal to int(2) ... ok One KiB is less than int(2) ... ok Different types in a list can be sorted properly ... ok Same types in a list can be sorted properly ... ok Bitmath types can be sorted by 'bits' attribute ... ok Bitmath types can be sorted by 'bytes' attribute ... ok Same types can be sorted by 'value' attribute ... ok Convert an NIST unit into an SI unit ... ok Convert an SI unit into an NIST unit ... ok Converted down type has an equivalent value to the original ... ok Converted up type has an equivalent value to the original ... ok MiB object from_other object ... ok from_other raises if "other" isn't a bitmath instance ... ok Convert to Bit ... ok Convert to Byte ... ok Convert a bitmath GiB into a EB ... ok Convert a bitmath GiB into a Eb ... ok Convert a bitmath PiB into a EiB ... ok Convert a bitmath GiB into a Eib ... ok Convert a bitmath GiB into a GB ... ok Convert a bitmath GiB into a Gb ... ok Convert a bitmath TiB into a GiB ... ok Convert a bitmath GiB into a Gib ... ok Convert to KiB ... ok Convert to Kib ... ok Convert a bitmath GiB into a MB ... ok Convert a bitmath GiB into a Mb ... ok Convert a bitmath GiB into a MiB ... ok Convert a bitmath GiB into a Mib ... ok Convert a bitmath GiB into a PB ... ok Convert a bitmath GiB into a Pb ... ok Convert a bitmath TiB into a PiB ... ok Convert a bitmath GiB into a PiB ... ok Convert a bitmath GiB into a TB ... ok Convert a bitmath GiB into a Tb ... ok Convert a bitmath PiB into a TiB ... ok Convert a bitmath GiB into a Tib ... ok Convert to kb ... ok Convert a bitmath Bit into a MiB ... ok bitmath type converted to the same unit is properly converted ... ok float(bitmath) returns a float ... ok int(bitmath) returns an int ... ok long(bitmath) returns a long ... ok ---------------------------------------------------------------------- Ran 163 tests in 0.192s OK + exit 0 Processing files: python-bitmath-1.1.0-1.fc19.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.A6vPm4 + umask 022 + cd /builddir/build/BUILD + cd bitmath-1.1.0-1 + DOCDIR=/builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr/share/doc/python-bitmath-1.1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr/share/doc/python-bitmath-1.1.0 + cp -pr README.md /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr/share/doc/python-bitmath-1.1.0 + cp -pr LICENSE /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch/usr/share/doc/python-bitmath-1.1.0 + exit 0 warning: File listed twice: /usr/lib/python2.7/site-packages/bitmath-1.1.0_1-py2.7.egg-info/PKG-INFO warning: File listed twice: /usr/lib/python2.7/site-packages/bitmath-1.1.0_1-py2.7.egg-info/SOURCES.txt warning: File listed twice: /usr/lib/python2.7/site-packages/bitmath-1.1.0_1-py2.7.egg-info/dependency_links.txt warning: File listed twice: /usr/lib/python2.7/site-packages/bitmath-1.1.0_1-py2.7.egg-info/entry_points.txt warning: File listed twice: /usr/lib/python2.7/site-packages/bitmath-1.1.0_1-py2.7.egg-info/top_level.txt Provides: python-bitmath = 1.1.0-1.fc19 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: /usr/bin/python2 python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch warning: Could not canonicalize hostname: buildhw-04.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/python-bitmath-1.1.0-1.fc19.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.R7f9EV + umask 022 + cd /builddir/build/BUILD + cd bitmath-1.1.0-1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-bitmath-1.1.0-1.fc19.noarch + exit 0 Child return code was: 0 LEAVE do -->