Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-ofxparse.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-a7f3b20813807dffa5359ab0e834f68562479d02/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-ofxparse.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-ofxparse-0.15-4.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-ofxparse.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-a7f3b20813807dffa5359ab0e834f68562479d02/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-ofxparse.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EzhqOh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ofxparse-0.15 + /usr/bin/gzip -dc /builddir/build/SOURCES/ofxparse-0.15.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ofxparse-0.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DMiOEi + umask 022 + cd /builddir/build/BUILD + cd ofxparse-0.15 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/ofxparse copying ofxparse/ofxparse.py -> build/lib/ofxparse copying ofxparse/mcc.py -> build/lib/ofxparse copying ofxparse/ofxprinter.py -> build/lib/ofxparse copying ofxparse/__init__.py -> build/lib/ofxparse copying ofxparse/ofxutil.py -> build/lib/ofxparse running egg_info writing requirements to ofxparse.egg-info/requires.txt writing ofxparse.egg-info/PKG-INFO writing top-level names to ofxparse.egg-info/top_level.txt writing dependency_links to ofxparse.egg-info/dependency_links.txt writing entry points to ofxparse.egg-info/entry_points.txt reading manifest file 'ofxparse.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'ofxparse.egg-info/SOURCES.txt' + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hQxHym + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch + cd ofxparse-0.15 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr creating /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7/site-packages/ofxparse copying build/lib/ofxparse/ofxparse.py -> /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7/site-packages/ofxparse copying build/lib/ofxparse/mcc.py -> /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7/site-packages/ofxparse copying build/lib/ofxparse/ofxprinter.py -> /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7/site-packages/ofxparse copying build/lib/ofxparse/__init__.py -> /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7/site-packages/ofxparse copying build/lib/ofxparse/ofxutil.py -> /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7/site-packages/ofxparse byte-compiling /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7/site-packages/ofxparse/ofxparse.py to ofxparse.pyc byte-compiling /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7/site-packages/ofxparse/mcc.py to mcc.pyc byte-compiling /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7/site-packages/ofxparse/ofxprinter.py to ofxprinter.pyc byte-compiling /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7/site-packages/ofxparse/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7/site-packages/ofxparse/ofxutil.py to ofxutil.pyc writing byte-compilation script '/tmp/tmpQgW12S.py' /usr/bin/python2 -O /tmp/tmpQgW12S.py removing /tmp/tmpQgW12S.py running install_egg_info running egg_info writing requirements to ofxparse.egg-info/requires.txt writing ofxparse.egg-info/PKG-INFO writing top-level names to ofxparse.egg-info/top_level.txt writing dependency_links to ofxparse.egg-info/dependency_links.txt writing entry points to ofxparse.egg-info/entry_points.txt reading manifest file 'ofxparse.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'ofxparse.egg-info/SOURCES.txt' Copying ofxparse.egg-info to /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/lib/python2.7/site-packages/ofxparse-0.15-py2.7.egg-info running install_scripts + /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/ofxparse-0.15 /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-ofxparse-0.15-4.el7.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.h7oMOT + umask 022 + cd /builddir/build/BUILD + cd ofxparse-0.15 + /usr/bin/python2 setup.py test running test running egg_info writing requirements to ofxparse.egg-info/requires.txt writing ofxparse.egg-info/PKG-INFO writing top-level names to ofxparse.egg-info/top_level.txt writing dependency_links to ofxparse.egg-info/dependency_links.txt writing entry points to ofxparse.egg-info/entry_points.txt reading manifest file 'ofxparse.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'ofxparse.egg-info/SOURCES.txt' running build_ext testTransferAggregate (tests.test_parse.Test401InvestmentStatement) ... ok testThatANewAccountIsValid (tests.test_parse.TestAccount) ... ok testForFourAccounts (tests.test_parse.TestAccountInfoAggregation) ... ok testForUnclosedTags (tests.test_parse.TestFidelityInvestmentStatement) ... ok testSecurityListSuccess (tests.test_parse.TestFidelityInvestmentStatement) ... ok testDateFieldMissing (tests.test_parse.TestGracefulFailures) The test file contains three transactions in a single ... ok testDecimalConversionError (tests.test_parse.TestGracefulFailures) The test file contains a transaction that has a poorly formatted ... ok testEmptyBalance (tests.test_parse.TestGracefulFailures) The test file contains empty or blank strings in the balance ... ok testThatParseCanCreateAnInvestmentAccount (tests.test_parse.TestInvestmentAccount) ... ok testBrokenLineEndings (tests.test_parse.TestOfxFile) ... ok testCP1252 (tests.test_parse.TestOfxFile) ... ok testHeaders (tests.test_parse.TestOfxFile) ... ok testUTF8 (tests.test_parse.TestOfxFile) ... ok testUTF8Japanese (tests.test_parse.TestOfxFile) ... ok testBrokenLineEndings (tests.test_parse.TestOfxPreprocessedFile) ... ok testCP1252 (tests.test_parse.TestOfxPreprocessedFile) ... ok testHeaders (tests.test_parse.TestOfxPreprocessedFile) ... ok testPreprocess (tests.test_parse.TestOfxPreprocessedFile) ... ok testUTF8 (tests.test_parse.TestOfxPreprocessedFile) ... ok testUTF8Japanese (tests.test_parse.TestOfxPreprocessedFile) ... ok testEmptyFile (tests.test_parse.TestParse) ... ok testEverything (tests.test_parse.TestParse) ... ok testMultipleAccounts (tests.test_parse.TestParse) ... ok testThatParseFailsIfAPathIsPassedIn (tests.test_parse.TestParse) ... ok testThatParseFailsIfNothingToParse (tests.test_parse.TestParse) ... ok testThatParseReturnsAResultWithABankAccount (tests.test_parse.TestParse) ... ok testThatParseWorksWithoutErrors (tests.test_parse.TestParse) ... ok testFailure (tests.test_parse.TestParseSonrs) ... ok testSuccess (tests.test_parse.TestParseSonrs) ... ok testThatParseStatementReturnsAStatement (tests.test_parse.TestParseStatement) ... ok testThatParseStatementWithBlankDatesReturnsAStatement (tests.test_parse.TestParseStatement) ... ok testThatParseStmtrsReturnsAnAccount (tests.test_parse.TestParseStmtrs) ... ok testThatReturnedAccountAlsoHasAStatement (tests.test_parse.TestParseStmtrs) ... ok testThatParseTransactionReturnsATransaction (tests.test_parse.TestParseTransaction) ... ok testThatParseTransactionWithCommaAsDecimalPoint (tests.test_parse.TestParseTransaction) ... ok testThatParseTransactionWithCommaAsDecimalPointAndDotAsSeparator (tests.test_parse.TestParseTransaction) ... ok testThatParseTransactionWithFieldCheckNum (tests.test_parse.TestParseTransaction) ... ok testThatParseTransactionWithNullAmountIgnored (tests.test_parse.TestParseTransaction) A null transaction value is converted to 0. ... ok testThatANewStatementIsValid (tests.test_parse.TestStatement) ... ok test_bad_format (tests.test_parse.TestStringToDate) A poorly formatted string should throw a ValueError ... ok test_parses_correct_time (tests.test_parse.TestStringToDate) Test whether it can parse correct time for some valid time fields ... ok test_parses_time_offset (tests.test_parse.TestStringToDate) Test that we handle GMT offset ... ok test_returns_none (tests.test_parse.TestStringToDate) ... ok testCDATATransactions (tests.test_parse.TestSuncorpBankStatement) ... ERROR testThatAnEmptyTransactionIsValid (tests.test_parse.TestTransaction) ... ok testReadTransfer (tests.test_parse.TestVanguard401kStatement) ... ok testForUnclosedTags (tests.test_parse.TestVanguardInvestmentStatement) ... ok testSecurityListSuccess (tests.test_parse.TestVanguardInvestmentStatement) ... ok test_write (tests.test_write.TestOfxWrite) ... ok ====================================================================== ERROR: testCDATATransactions (tests.test_parse.TestSuncorpBankStatement) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/ofxparse-0.15/tests/test_parse.py", line 683, in testCDATATransactions ofx = OfxParser.parse(open_file('suncorp.ofx')) File "/builddir/build/BUILD/ofxparse-0.15/ofxparse/ofxparse.py", line 406, in parse raise OfxParserException('The ofx file is empty!') OfxParserException: The ofx file is empty! ---------------------------------------------------------------------- Ran 49 tests in 13.063s FAILED (errors=1) + : + exit 0 Processing files: python2-ofxparse-0.15-4.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Lwtb63 + umask 022 + cd /builddir/build/BUILD + cd ofxparse-0.15 + DOCDIR=/builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/share/doc/python2-ofxparse-0.15 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/share/doc/python2-ofxparse-0.15 + cp -pr README.rst /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/share/doc/python2-ofxparse-0.15 + cp -pr AUTHORS /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/share/doc/python2-ofxparse-0.15 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.MSbUc8 + umask 022 + cd /builddir/build/BUILD + cd ofxparse-0.15 + LICENSEDIR=/builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/share/licenses/python2-ofxparse-0.15 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/share/licenses/python2-ofxparse-0.15 + cp -pr LICENSE /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch/usr/share/licenses/python2-ofxparse-0.15 + exit 0 Provides: python-ofxparse = 0.15-4.el7 python2-ofxparse = 0.15-4.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: python(abi) = 2.7 Obsoletes: python-ofxparse < 0.15-4.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch Wrote: /builddir/build/RPMS/python2-ofxparse-0.15-4.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UsbjOQ + umask 022 + cd /builddir/build/BUILD + cd ofxparse-0.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-ofxparse-0.15-4.el7.noarch + exit 0 Child return code was: 0