Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-bitmath.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv._E8bp9:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4e64ec748f4f4ab48706fe8f78df2e27', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv._E8bp9:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-bitmath.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: sh: /usr/bin/python2: No such file or directory Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/python-bitmath-1.3.1-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/python-bitmath.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv._E8bp9:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fb308482293d449c98d60673dbadf3b2', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv._E8bp9:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/python-bitmath.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t1g5BS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bitmath-1.3.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/1.3.1.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd bitmath-1.3.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Eeyu35 + umask 022 + cd /builddir/build/BUILD + cd bitmath-1.3.1.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/bitmath copying bitmath/__init__.py -> build/lib/bitmath copying bitmath/integrations.py -> build/lib/bitmath + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.n3bTFn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386 + cd bitmath-1.3.1.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386 running install running install_lib creating /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr creating /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/lib creating /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/lib/python2.7/site-packages/bitmath copying build/lib/bitmath/__init__.py -> /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/lib/python2.7/site-packages/bitmath copying build/lib/bitmath/integrations.py -> /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/lib/python2.7/site-packages/bitmath byte-compiling /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/lib/python2.7/site-packages/bitmath/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/lib/python2.7/site-packages/bitmath/integrations.py to integrations.pyc writing byte-compilation script '/tmp/tmpuTp2Gv.py' /usr/bin/python2 -O /tmp/tmpuTp2Gv.py removing /tmp/tmpuTp2Gv.py running install_egg_info running egg_info creating bitmath.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 writing manifest file 'bitmath.egg-info/SOURCES.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.3.1-1.el7.i386/usr/lib/python2.7/site-packages/bitmath-1.3.1.1-py2.7.egg-info running install_scripts Installing bitmath script to /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/bin + mv /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/bin/bitmath /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/bin/bitmath-2.7 + mkdir -p /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/man/man1/ + cp -v bitmath.1 /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/man/man1/ 'bitmath.1' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/man/man1/bitmath.1' + mkdir -p /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs + cp -v -r docsite/source/NEWS.rst docsite/source/appendices docsite/source/appendices.rst docsite/source/classes.rst docsite/source/commandline.rst docsite/source/conf.py docsite/source/conf.py.in docsite/source/contact.rst docsite/source/contributing.rst docsite/source/copyright.rst docsite/source/example_block_devices.rst docsite/source/index.rst docsite/source/index.rst.in docsite/source/instances.rst docsite/source/module.rst docsite/source/query_device_capacity_warning.rst docsite/source/real_life_examples.rst docsite/source/simple_examples.rst /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/ 'docsite/source/NEWS.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/NEWS.rst' 'docsite/source/appendices' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/appendices' 'docsite/source/appendices/mixed_math.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/appendices/mixed_math.rst' 'docsite/source/appendices/on_units.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/appendices/on_units.rst' 'docsite/source/appendices/related_projects.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/appendices/related_projects.rst' 'docsite/source/appendices/who_uses.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/appendices/who_uses.rst' 'docsite/source/appendices.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/appendices.rst' 'docsite/source/classes.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/classes.rst' 'docsite/source/commandline.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/commandline.rst' 'docsite/source/conf.py' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/conf.py' 'docsite/source/conf.py.in' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/conf.py.in' 'docsite/source/contact.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/contact.rst' 'docsite/source/contributing.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/contributing.rst' 'docsite/source/copyright.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/copyright.rst' 'docsite/source/example_block_devices.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/example_block_devices.rst' 'docsite/source/index.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/index.rst' 'docsite/source/index.rst.in' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/index.rst.in' 'docsite/source/instances.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/instances.rst' 'docsite/source/module.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/module.rst' 'docsite/source/query_device_capacity_warning.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/query_device_capacity_warning.rst' 'docsite/source/real_life_examples.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/real_life_examples.rst' 'docsite/source/simple_examples.rst' -> '/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/simple_examples.rst' + rm -f /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386//usr/share/doc/python-bitmath/docs/NEWS.rst + /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.3.1.1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. BUILDSTDERR: 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.3.1-1.el7.i386/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.U23hTG + umask 022 + cd /builddir/build/BUILD + cd bitmath-1.3.1.1 + nosetests -v BUILDSTDERR: Argparse: BitmathType - Unquoted values separated from their units are detected ... usage: nosetests [-h] [--one-arg ONE_ARG] BUILDSTDERR: nosetests: error: argument --one-arg: '1337' can not be parsed into a valid bitmath object BUILDSTDERR: ok BUILDSTDERR: Argparse: BitmathType - Notices when horrendously incorrect args are provided ... usage: nosetests [-h] [--one-arg ONE_ARG] BUILDSTDERR: nosetests: error: argument --one-arg: '2098329324kdsjflksdjf' can not be parsed into a valid bitmath object BUILDSTDERR: ok BUILDSTDERR: Argparse: BitmathType - Works when given a correct parameter ... ok BUILDSTDERR: Argparse: BitmathType - 'Quoted values' can be separated from the units by whitespace ... ok BUILDSTDERR: Argparse: BitmathType - Works when given two correct parameters ... ok BUILDSTDERR: abs(NegativeObject) is positive ... ok BUILDSTDERR: abs(PositiveObject) is positive ... ok BUILDSTDERR: Adding two different bitmath types is equal to another type of the same size ... ok BUILDSTDERR: Adding the same bitmath types is equal to result as the same type ... ok BUILDSTDERR: Adding a bit based type with a byte based type ... ok BUILDSTDERR: bitmath + number = number ... ok BUILDSTDERR: bitmath / bitmath = number ... ok BUILDSTDERR: bitmath / number = bitmath ... ok BUILDSTDERR: bitmath * bitmath = bitmath ... ok BUILDSTDERR: bitmath * number = bitmath ... ok BUILDSTDERR: bitmath - bitmath = bitmath ... ok BUILDSTDERR: bitmath - number = number ... ok BUILDSTDERR: Two different bitmath types are equal ... ok BUILDSTDERR: Negating a positive makes a negative ... ok BUILDSTDERR: Plus'ing a negative makes a positive ... ok BUILDSTDERR: number + bitmath = number ... ok BUILDSTDERR: number / bitmath = number ... ok BUILDSTDERR: number * bitmath = bitmath ... ok BUILDSTDERR: number - bitmath = number ... ok BUILDSTDERR: Two same bitmath types are equal ... ok BUILDSTDERR: Subtracting a bit based type with a byte based type ... ok BUILDSTDERR: A bitmath type is equal to the value it's instanted with ... ok BUILDSTDERR: best_prefix_base: large negative values retain their prefix unit ... ok BUILDSTDERR: best_prefix_base: negative values less than a byte stay as bits ... ok BUILDSTDERR: best_prefix_base: can handle bitmath type inputs ... ok BUILDSTDERR: best_prefix_base: 2 Bytes (as a Bit()) round up into a Byte() ... ok BUILDSTDERR: best_prefix_base: 1 Byte (as a Byte()) best prefix is still a Byte() ... ok BUILDSTDERR: best_prefix_base: 4 Bits (as a Byte()) round down into a Bit() ... ok BUILDSTDERR: NIST: Best prefix uses the current system if no preference set ... ok BUILDSTDERR: NIST: instance.best_prefix returns the same type if nothing changes ... ok BUILDSTDERR: NIST: Best prefix honors a NIST preference when starting with an NIST unit ... ok BUILDSTDERR: NIST: Best prefix honors a NIST preference when starting with an SI unit ... ok BUILDSTDERR: bitmath.best_prefix return a Kibibyte for 1024 ... ok BUILDSTDERR: bitmath.best_prefix return an exbibyte for a huge number of bytes ... ok BUILDSTDERR: NIST: 1 Bit (as a EiB()) rounds down into a Bit() ... ok BUILDSTDERR: NIST: 2048 EiB (as a KiB()) rounds up into an EiB() ... ok BUILDSTDERR: NIST: A very small Pibibyte rounds down into a KibiByte ... ok BUILDSTDERR: NIST: A very large Kibibyte rounds up into a Pibibyte ... ok BUILDSTDERR: NIST: 1 MiB (as a GiB()) rounds down into a MiB() ... ok BUILDSTDERR: NIST: 1 GiB (as a MiB()) rounds up into a GiB() ... ok BUILDSTDERR: SI: Best prefix uses the current system if no preference set ... ok BUILDSTDERR: SI: best_prefix returns the same type when nothing changes ... ok BUILDSTDERR: SI: Best prefix honors a SI preference when starting with a NIST unit ... ok BUILDSTDERR: SI: Best prefix honors a SI preference when starting with an SI unit ... ok BUILDSTDERR: bitmath.best_prefix return a Kilobyte for 1024 ... ok BUILDSTDERR: bitmath.best_prefix return a yottabyte for a huge number of bytes ... ok BUILDSTDERR: SI: 1 Bit (as a EB()) rounds down into a Bit() ... ok BUILDSTDERR: SI: 2048 EB (as a kB()) rounds up into an EB() ... ok BUILDSTDERR: SI: A very small Petabyte rounds down into a Kilobyte ... ok BUILDSTDERR: SI: A very large Kilobyte rounds up into a Petabyte ... ok BUILDSTDERR: SI: 1 MB (as a GB()) rounds down into a MB() ... ok BUILDSTDERR: SI: 1 GB (as a MB()) rounds up into a GB() ... ok BUILDSTDERR: Bits and'd (&) are correct ... ok BUILDSTDERR: Bits left shifted (<<) are increased ... ok BUILDSTDERR: Bits or'd (|) are correct ... ok BUILDSTDERR: Bits right shifted (>>) are decreased ... ok BUILDSTDERR: Bits xor'd (^) are correct ... ok BUILDSTDERR: CLI script returns correct if given FROM and TO units ... ok BUILDSTDERR: CLI script returns correct if given FROM units ... ok BUILDSTDERR: CLI script returns nothing if no input is given ... ok BUILDSTDERR: CLI script works if no to/from units are provided ... ok BUILDSTDERR: CLI script returns correct TO units ... ok BUILDSTDERR: TiB(1/3.0) prints out units in plural form, setting the fmt str in the mgr ... ok BUILDSTDERR: TiB(1/3.0) prints out units in singular form, setting the fmt str in the mgr ... ok BUILDSTDERR: Byte(3.0) prints out units in plural form ... ok BUILDSTDERR: Byte(3.0) prints out units in plural form, setting the fmt str in the mgr ... ok BUILDSTDERR: bitmath.format context mgr sets and restores formatting ... ok BUILDSTDERR: NIST: getsize reports the correct type and size for byte sized files ... ok BUILDSTDERR: SI: getsize reports the correct type and size for byte sized files ... ok BUILDSTDERR: NIST: getsize reports the correct type and size for kibibyte sized files ... ok BUILDSTDERR: SI: getsize reports the correct type and size for kibibyte sized files ... ok BUILDSTDERR: listdir: filtering with nosymlinks returns 0 matches for a filter ... ok BUILDSTDERR: listdir: no symbolic links in tree measures right with a filter ... ok BUILDSTDERR: listdir: no symbolic links in tree measures right ... ok BUILDSTDERR: listdir: symbolic links in tree are followed ... ok BUILDSTDERR: listdir: symlinks followed, absolute paths are returned ... ok BUILDSTDERR: listdir: symbolic links in tree not followed ... ok BUILDSTDERR: truediv: bitmath / bitmath = number ... ok BUILDSTDERR: truediv: bitmath / number = bitmath ... ok BUILDSTDERR: truediv: number / bitmath = number ... ok BUILDSTDERR: truediv: number // bitmath = number ... ok BUILDSTDERR: __init__: can identify (in)valid input parameters, raise ValueError if detected ... ok BUILDSTDERR: __init__: accepts valid inputs ... ok BUILDSTDERR: __init__: respects argument mutual exclusivity ... ok BUILDSTDERR: Instantiation fails if bytes and bits are both provided ... ok BUILDSTDERR: Instantiation fails if value and bits are both provided ... ok BUILDSTDERR: Instantiation fails if value and bytes are both provided ... ok BUILDSTDERR: Instantiation fails if value and bytes and bits are all provided ... ok BUILDSTDERR: Instantiation fails if we try to instantiate bitmath.Bitmath ... ok BUILDSTDERR: Instantiation works with the 'bits' kw arg ... ok BUILDSTDERR: Instantiation works with the 'bytes' kw arg ... ok BUILDSTDERR: Instantiation works with no arguments ... ok BUILDSTDERR: Instantiation works with only 'value' provided ... ok BUILDSTDERR: parse_string works on byte strings ... ok BUILDSTDERR: parse_string works on exbioctet strings ... ok BUILDSTDERR: parse_string works on exaoctet strings ... ok BUILDSTDERR: parse_string works on gigabit strings ... ok BUILDSTDERR: parse_string works on mebibyte strings ... ok BUILDSTDERR: parse_string works on mebioctet strings ... ok BUILDSTDERR: parse_string works on megaoctet strings ... ok BUILDSTDERR: parse_string works on bit strings ... ok BUILDSTDERR: parse_string can identify invalid float values ... ok BUILDSTDERR: parse_string can identify invalid prefix units ... ok BUILDSTDERR: parse_string can identify other prefix units ... ok BUILDSTDERR: parse_string can identify strings without units at all ... ok BUILDSTDERR: parse_string can identify a non-string input ... ok BUILDSTDERR: parse_string can handle a unicode string ... ok BUILDSTDERR: parse_string_unsafe can parse the examples reported in issue #60 ... ok BUILDSTDERR: parse_string_unsafe can convert to NIST on request ... ok BUILDSTDERR: parse_string_unsafe can parse all accepted NIST inputs ... ok BUILDSTDERR: parse_string_unsafe can parse abbreviated NIST units (Gi, Ki, ...) ... ok BUILDSTDERR: parse_string_unsafe can parse all accepted SI inputs ... ok BUILDSTDERR: parse_string_unsafe can identify invalid input types ... ok BUILDSTDERR: parse_string_unsafe can parse unitless number inputs ... ok BUILDSTDERR: parse_string_unsafe can parse the upper/lowercase SI 'thousand' (k) ... ok BUILDSTDERR: parse_string_unsafe explodes when given invalid units ... ok BUILDSTDERR: Widget renders 0 correctly when no seconds have elapsed ... ok BUILDSTDERR: Widget renders a rate after time has elapsed in MB/s ... ok BUILDSTDERR: Widget renders a rate after time has elapsed in MiB/s ... ok BUILDSTDERR: Widget renders a non-zero rate after time has elapsed in Bytes ... ok BUILDSTDERR: Widget renders a custom format string ... ok BUILDSTDERR: Read the 'bits' property of a bitmath type ... ok BUILDSTDERR: Read the 'bytes' property of a bitmath type ... ok BUILDSTDERR: Read the 'value' property of a bitmath type ... ok BUILDSTDERR: bitmath type's properties are read-only ... ok BUILDSTDERR: query device capacity aborts if a non-block-device is provided ... ok BUILDSTDERR: query device capacity works on a happy Linux host ... ok BUILDSTDERR: query device capacity works on a happy Mac OS X host ... ok BUILDSTDERR: query device capacity fails on a non-posix host ... ok BUILDSTDERR: KiB(1.0) looks right if changing fmt str in bitmath.KiB ... ok BUILDSTDERR: MiB(0.5) looks correct in a terminal ... ok BUILDSTDERR: MiB(0.5) looks correct as a string ... ok BUILDSTDERR: kB(1).system is SI ... ok BUILDSTDERR: kB(1).unit is kB ... ok BUILDSTDERR: KiB(1).base is 2 ... ok BUILDSTDERR: KiB(1).bin (binary alias) is binary ... ok BUILDSTDERR: KiB(1).binary is binary ... ok BUILDSTDERR: KiB(1).power (binary alias) is 10 ... ok BUILDSTDERR: KiB(1).system is NIST ... ok BUILDSTDERR: KiB(1).unit is KiB ... ok BUILDSTDERR: KiB(12345) as a MiB (12.0556640625) truncates to 5 digits ... ok BUILDSTDERR: Byte(1.0) prints out units in singular form ... ok BUILDSTDERR: MiB(102.4754) prints out with four digits of precision ... ok BUILDSTDERR: MiB(1/3.0) prints out with two digits of precision ... ok BUILDSTDERR: KiB(1) looks correct in a terminal ... ok BUILDSTDERR: KiB(1) looks correct as a string ... ok BUILDSTDERR: Two equal values are actually equal ... ok BUILDSTDERR: Unequal objects aren't equal ... ok BUILDSTDERR: Unequal objects aren't equal with numbers ... ok BUILDSTDERR: Two equal values are actually equal with numbers ... ok BUILDSTDERR: 1 GiB is greater than 1 Mib ... ok BUILDSTDERR: Greater or equal is more than or equal to one MiB ... ok BUILDSTDERR: Greater or equal is more than or equal to int(1) ... ok BUILDSTDERR: 1 GiB is greater than 0.5 ... ok BUILDSTDERR: One KiB is less than one MiB ... ok BUILDSTDERR: Smaller or equal is less than or equal to one MiB ... ok BUILDSTDERR: Smaller or equal is less than or equal to int(2) ... ok BUILDSTDERR: One KiB is less than int(2) ... ok BUILDSTDERR: Different types in a list can be sorted properly ... ok BUILDSTDERR: Same types in a list can be sorted properly ... ok BUILDSTDERR: Bitmath types can be sorted by 'bits' attribute ... ok BUILDSTDERR: Bitmath types can be sorted by 'bytes' attribute ... ok BUILDSTDERR: Same types can be sorted by 'value' attribute ... ok BUILDSTDERR: Convert an NIST unit into an SI unit ... ok BUILDSTDERR: Convert an SI unit into an NIST unit ... ok BUILDSTDERR: Converted down type has an equivalent value to the original ... ok BUILDSTDERR: Converted up type has an equivalent value to the original ... ok BUILDSTDERR: MiB object from_other object ... ok BUILDSTDERR: from_other raises if "other" isn't a bitmath instance ... ok BUILDSTDERR: Convert to Bit ... ok BUILDSTDERR: Convert to Byte ... ok BUILDSTDERR: Convert a bitmath GiB into a EB ... ok BUILDSTDERR: Convert a bitmath GiB into a Eb ... ok BUILDSTDERR: Convert a bitmath PiB into a EiB ... ok BUILDSTDERR: Convert a bitmath GiB into a Eib ... ok BUILDSTDERR: Convert a bitmath GiB into a GB ... ok BUILDSTDERR: Convert a bitmath GiB into a Gb ... ok BUILDSTDERR: Convert a bitmath TiB into a GiB ... ok BUILDSTDERR: Convert a bitmath GiB into a Gib ... ok BUILDSTDERR: Convert to KiB ... ok BUILDSTDERR: Convert to Kib ... ok BUILDSTDERR: Convert a bitmath GiB into a MB ... ok BUILDSTDERR: Convert a bitmath GiB into a Mb ... ok BUILDSTDERR: Convert a bitmath GiB into a MiB ... ok BUILDSTDERR: Convert a bitmath GiB into a Mib ... ok BUILDSTDERR: Convert a bitmath GiB into a PB ... ok BUILDSTDERR: Convert a bitmath GiB into a Pb ... ok BUILDSTDERR: Convert a bitmath TiB into a PiB ... ok BUILDSTDERR: Convert a bitmath GiB into a PiB ... ok BUILDSTDERR: Convert a bitmath GiB into a TB ... ok BUILDSTDERR: Convert a bitmath GiB into a Tb ... ok BUILDSTDERR: Convert a bitmath PiB into a TiB ... ok BUILDSTDERR: Convert a bitmath GiB into a Tib ... ok BUILDSTDERR: Convert a bitmath GiB into a YB ... ok BUILDSTDERR: Convert a bitmath GiB into a Yb ... ok BUILDSTDERR: Convert a bitmath GiB into a ZB ... ok BUILDSTDERR: Convert a bitmath GiB into a Zb ... ok BUILDSTDERR: Convert to kb ... ok BUILDSTDERR: Convert a bitmath Bit into a MiB ... ok BUILDSTDERR: bitmath type converted to the same unit is properly converted ... ok BUILDSTDERR: float(bitmath) returns a float ... ok BUILDSTDERR: int(bitmath) returns an int ... ok BUILDSTDERR: long(bitmath) returns a long ... ok BUILDSTDERR: capitalize_first doesn't change anything if the input is already correct ... ok BUILDSTDERR: capitalize_first upcases just the first letter in a word ... ok BUILDSTDERR: capitalize_first doesn't change anything if the input begins with a number ... ok BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Ran 211 tests in 0.171s BUILDSTDERR: OK + exit 0 Processing files: python2-bitmath-1.3.1-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GKMqg1 + umask 022 + cd /builddir/build/BUILD + cd bitmath-1.3.1.1 + DOCDIR=/builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/share/doc/python2-bitmath-1.3.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/share/doc/python2-bitmath-1.3.1 + cp -pr README.rst /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/share/doc/python2-bitmath-1.3.1 + cp -pr NEWS.rst /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/share/doc/python2-bitmath-1.3.1 + cp -pr LICENSE /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386/usr/share/doc/python2-bitmath-1.3.1 + exit 0 Provides: python-bitmath = 1.3.1-1.el7 python2-bitmath = 1.3.1-1.el7 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 Obsoletes: python-bitmath < 1.3.1-1.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386 Wrote: /builddir/build/RPMS/python2-bitmath-1.3.1-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VkjMZI + umask 022 + cd /builddir/build/BUILD + cd bitmath-1.3.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-bitmath-1.3.1-1.el7.i386 + exit 0 Child return code was: 0