← Back to team overview

holland-build team mailing list archive

Build failed in Jenkins: amsterdam-build-rpms #3

 

See <http://hudson.hollandbackup.org/job/amsterdam-build-rpms/3/changes>

Changes:

[BJ Dierkes] sys.exit(1) on if tests failed

------------------------------------------
[...truncated 792 lines...]
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/mysql_lvm/actions/mysql/innodb.py to innodb.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/mysql_lvm/actions/mysql/replication.py to replication.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/mysql_lvm/actions/mysql/mysqldump.py to mysqldump.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/mysql_lvm/actions/mysql/_mysqld.py to _mysqld.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/mysql_lvm/plugin/common.py to common.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/mysql_lvm/plugin/__init__.py to __init__.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/mysql_lvm/plugin/mysqldump/util.py to util.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/mysql_lvm/plugin/mysqldump/__init__.py to __init__.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/mysql_lvm/plugin/mysqldump/plugin.py to plugin.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/mysql_lvm/plugin/raw/util.py to util.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/mysql_lvm/plugin/raw/__init__.py to __init__.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/mysql_lvm/plugin/raw/plugin.py to plugin.pyc
writing byte-compilation script '/tmp/tmp8KOPA6.py'
/usr/bin/python -O /tmp/tmp8KOPA6.py
removing /tmp/tmp8KOPA6.py
running install_egg_info
running egg_info
writing holland.backup.mysql_lvm.egg-info/PKG-INFO
writing namespace_packages to holland.backup.mysql_lvm.egg-info/namespace_packages.txt
writing top-level names to holland.backup.mysql_lvm.egg-info/top_level.txt
writing dependency_links to holland.backup.mysql_lvm.egg-info/dependency_links.txt
writing entry points to holland.backup.mysql_lvm.egg-info/entry_points.txt
reading manifest file 'holland.backup.mysql_lvm.egg-info/SOURCES.txt'
writing manifest file 'holland.backup.mysql_lvm.egg-info/SOURCES.txt'
Copying holland.backup.mysql_lvm.egg-info to /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.backup.mysql_lvm-1.1.0-py2.4.egg-info
Installing /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.backup.mysql_lvm-1.1.0-py2.4-nspkg.pth
running install_scripts
+ cd -
<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0>
+ install -m 0640 config/providers/mysql-lvm.conf /var/tmp/holland-1.1.0-3-root-root/etc/holland/providers/
+ cd plugins/holland.backup.pgdump
+ /usr/bin/python setup.py install -O1 --skip-build --root /var/tmp/holland-1.1.0-3-root-root
running install
running install_lib
Skipping installation of /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/__init__.py (namespace package)
Skipping installation of /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/__init__.py (namespace package)
copying holland/backup/pgdump/__init__.py -> /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/pgdump
copying holland/backup/pgdump/plugin.py -> /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/pgdump
copying holland/backup/pgdump/base.py -> /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/pgdump
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/pgdump/__init__.py to __init__.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/pgdump/plugin.py to plugin.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/pgdump/base.py to base.pyc
writing byte-compilation script '/tmp/tmpPVPvLD.py'
/usr/bin/python -O /tmp/tmpPVPvLD.py
removing /tmp/tmpPVPvLD.py
running install_egg_info
running egg_info
creating holland.backup.pgdump.egg-info
writing holland.backup.pgdump.egg-info/PKG-INFO
writing namespace_packages to holland.backup.pgdump.egg-info/namespace_packages.txt
writing top-level names to holland.backup.pgdump.egg-info/top_level.txt
writing dependency_links to holland.backup.pgdump.egg-info/dependency_links.txt
writing entry points to holland.backup.pgdump.egg-info/entry_points.txt
writing manifest file 'holland.backup.pgdump.egg-info/SOURCES.txt'
reading manifest file 'holland.backup.pgdump.egg-info/SOURCES.txt'
writing manifest file 'holland.backup.pgdump.egg-info/SOURCES.txt'
Copying holland.backup.pgdump.egg-info to /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.backup.pgdump-1.1.0-py2.4.egg-info
Installing /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.backup.pgdump-1.1.0-py2.4-nspkg.pth
running install_scripts
+ cd -
<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0>
+ install -m 0640 config/providers/pgdump.conf /var/tmp/holland-1.1.0-3-root-root/etc/holland/providers/
+ cd plugins/holland.backup.sqlite
+ /usr/bin/python setup.py install -O1 --skip-build --root /var/tmp/holland-1.1.0-3-root-root
running install
running install_lib
Skipping installation of /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/__init__.py (namespace package)
Skipping installation of /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/__init__.py (namespace package)
copying holland/backup/sqlite.py -> /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/sqlite.py to sqlite.pyc
writing byte-compilation script '/tmp/tmpL35QOG.py'
/usr/bin/python -O /tmp/tmpL35QOG.py
removing /tmp/tmpL35QOG.py
running install_egg_info
running egg_info
writing holland.backup.sqlite.egg-info/PKG-INFO
writing namespace_packages to holland.backup.sqlite.egg-info/namespace_packages.txt
writing top-level names to holland.backup.sqlite.egg-info/top_level.txt
writing dependency_links to holland.backup.sqlite.egg-info/dependency_links.txt
writing entry points to holland.backup.sqlite.egg-info/entry_points.txt
reading manifest file 'holland.backup.sqlite.egg-info/SOURCES.txt'
writing manifest file 'holland.backup.sqlite.egg-info/SOURCES.txt'
Copying holland.backup.sqlite.egg-info to /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.backup.sqlite-1.1.0-py2.4.egg-info
Installing /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.backup.sqlite-1.1.0-py2.4-nspkg.pth
running install_scripts
+ cd -
<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0>
+ install -m 0640 config/providers/sqlite.conf /var/tmp/holland-1.1.0-3-root-root/etc/holland/providers/
+ cd plugins/holland.backup.xtrabackup
+ /usr/bin/python setup.py install -O1 --skip-build --root /var/tmp/holland-1.1.0-3-root-root
running install
running install_lib
Skipping installation of /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/__init__.py (namespace package)
Skipping installation of /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/__init__.py (namespace package)
copying holland/backup/xtrabackup/__init__.py -> /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/xtrabackup
copying holland/backup/xtrabackup/base.py -> /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/xtrabackup
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/xtrabackup/__init__.py to __init__.pyc
byte-compiling /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland/backup/xtrabackup/base.py to base.pyc
writing byte-compilation script '/tmp/tmpS6VoNt.py'
/usr/bin/python -O /tmp/tmpS6VoNt.py
removing /tmp/tmpS6VoNt.py
running install_egg_info
running egg_info
writing holland.backup.xtrabackup.egg-info/PKG-INFO
writing namespace_packages to holland.backup.xtrabackup.egg-info/namespace_packages.txt
writing top-level names to holland.backup.xtrabackup.egg-info/top_level.txt
writing dependency_links to holland.backup.xtrabackup.egg-info/dependency_links.txt
writing entry points to holland.backup.xtrabackup.egg-info/entry_points.txt
reading manifest file 'holland.backup.xtrabackup.egg-info/SOURCES.txt'
writing manifest file 'holland.backup.xtrabackup.egg-info/SOURCES.txt'
Copying holland.backup.xtrabackup.egg-info to /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.backup.xtrabackup-1.1.0-py2.4.egg-info
Installing /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.backup.xtrabackup-1.1.0-py2.4-nspkg.pth
running install_scripts
+ cd -
<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0>
+ install -m 0640 config/providers/xtrabackup.conf /var/tmp/holland-1.1.0-3-root-root/etc/holland/providers/
+ rm -f /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.backup.mysqldump-1.1.0-py2.4-nspkg.pth /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.backup.mysql_lvm-1.1.0-py2.4-nspkg.pth /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.backup.pgdump-1.1.0-py2.4-nspkg.pth /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.backup.sqlite-1.1.0-py2.4-nspkg.pth /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.backup.xtrabackup-1.1.0-py2.4-nspkg.pth /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.lib.common-1.1.0-py2.4-nspkg.pth /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.lib.lvm-1.1.0-py2.4-nspkg.pth /var/tmp/holland-1.1.0-3-root-root/usr/lib/python2.4/site-packages/holland.lib.mysql-1.1.0-py2.4-nspkg.pth
+ /bin/mkdir -p /var/tmp/holland-1.1.0-3-root-root/etc/logrotate.d
+ cat
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.93936
+ umask 022
+ cd <http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD>
+ cd holland-1.1.0
+ /usr/bin/python test_runner.py --quiet
[INFO] Verifying paths...
[INFO] Testing: <http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0>
[INFO] Testing: <http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/plugins/holland.backup.random>
[INFO] Testing: <http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/plugins/holland.backup.sqlite>
[CRITICAL] FAIL: <http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/plugins/holland.backup.sqlite>
nose.plugins.cover: INFO: Coverage report will include only packages: ['holland.backup.sqlite']
tests.test_sqlite.test_sqlite_dry_run ... ok
tests.test_sqlite.test_sqlite_bad_binary ... ok
tests.test_sqlite.test_sqlite_bad_databases ... ok
tests.test_sqlite.test_sqlite_no_databases ... ok
tests.test_sqlite.test_sqlite_estimate ... ok
tests.test_sqlite.test_sqlite_backup ... ERROR
tests.test_sqlite.test_sqlite_bad_backup ... ERROR
tests.test_sqlite.test_sqlite_configspec ... ok
tests.test_sqlite.test_sqlite_info ... ok

======================================================================
ERROR: tests.test_sqlite.test_sqlite_backup
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/nose/case.py", line 186, in runTest
    self.test(*self.arg)
  File "<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/plugins/holland.backup.sqlite/tests/test_sqlite.py";,> line 194, in test_sqlite_backup
    job.run(dry_run=False)
  File "<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/holland/core/backup/job.py";,> line 61, in run
    self.plugin.backup()
  File "<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/plugins/holland.backup.sqlite/holland/backup/sqlite.py";,> line 111, in backup
    raise BackupError, "SQLite IOError %s %s" \
BackupError: SQLite IOError ("No stream found for method 'gzip': ('holland.stream', 'gzip', <exceptions.ImportError instance at 0x23d84d0>)",) /tmp/tmpgZTLnZ/example_data.db.sql
-------------------- >> begin captured logging << --------------------
holland.core.backup.job: INFO: + Running setup-backup hooks
holland.core.backup.job: INFO: + Configured plugin
holland.core.backup.job: DEBUG: + Ran plugin setup
holland.backup.sqlite: INFO: Checking that SQLite backups can run.
holland.core.backup.job: INFO: + Ran plugin pre
holland.core.backup.job: INFO: + Running before-backup hooks
holland.core.backup.hooks: INFO: + Estimating backup size
holland.core.backup.hooks: INFO:  * Using plugin estimate 2.00KB
holland.core.backup.hooks: INFO: + Plugin estimated backup size of 2.00KB
holland.core.backup.hooks: INFO: + Adjusted estimated size by 100.00% to 2.00KB
holland.core.backup.hooks: INFO: + Spool directory /tmp/tmpgZTLnZ has 32.00MB available
holland.core.backup.hooks: INFO: + Saved config to /tmp/tmpgZTLnZ/backup.conf
holland.core.backup.job: INFO: Running backup
holland.backup.sqlite: INFO: SQLite binary is [/usr/bin/sqlite3]
holland.backup.sqlite: INFO: Backing up SQLite database at [<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/plugins/holland.backup.sqlite/tests/example_data.db]>
holland.core.plugin.manager: ERROR: Exception when loading plugin
Traceback (most recent call last):
  File "<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/holland/core/plugin/manager.py";,> line 112, in load
    return plugin.load()(plugin.name)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1830, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/plugins/holland.lib.common/holland/lib/compression.py";,> line 6, in ?
    from subprocess import Popen, PIPE, STDOUT, check_call, CalledProcessError
ImportError: cannot import name check_call
holland.core.backup.job: DEBUG: + Ran plugin post
holland.core.backup.job: INFO: + Running backup failure hooks
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: tests.test_sqlite.test_sqlite_bad_backup
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/nose/case.py", line 186, in runTest
    self.test(*self.arg)
  File "<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/plugins/holland.backup.sq[CRITICAL]> Unable to continue.  See errors above.
lite/tests/test_sqlite.py", line 201, in test_sqlite_bad_backup
    job.run(dry_run=False)
  File "<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/holland/core/backup/job.py";,> line 61, in run
    self.plugin.backup()
  File "<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/plugins/holland.backup.sqlite/holland/backup/sqlite.py";,> line 111, in backup
    raise BackupError, "SQLite IOError %s %s" \
BackupError: SQLite IOError ("No stream found for method 'gzip': ('holland.stream', 'gzip', <exceptions.ImportError instance at 0x23da128>)",) /tmp/tmp7cCEu9/example_data.db.sql
-------------------- >> begin captured logging << --------------------
holland.core.backup.job: INFO: + Running setup-backup hooks
holland.core.backup.job: INFO: + Configured plugin
holland.core.backup.job: DEBUG: + Ran plugin setup
holland.backup.sqlite: INFO: Checking that SQLite backups can run.
holland.core.backup.job: INFO: + Ran plugin pre
holland.core.backup.job: INFO: + Running before-backup hooks
holland.core.backup.hooks: INFO: + Estimating backup size
holland.core.backup.hooks: INFO:  * Using plugin estimate 2.00KB
holland.core.backup.hooks: INFO: + Plugin estimated backup size of 2.00KB
holland.core.backup.hooks: INFO: + Adjusted estimated size by 100.00% to 2.00KB
holland.core.backup.hooks: INFO: + Spool directory /tmp/tmp7cCEu9 has 32.00MB available
holland.core.backup.hooks: INFO: + Saved config to /tmp/tmp7cCEu9/backup.conf
holland.core.backup.job: INFO: Running backup
holland.backup.sqlite: INFO: SQLite binary is [/usr/bin/sqlite3]
holland.backup.sqlite: INFO: Backing up SQLite database at [<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/plugins/holland.backup.sqlite/tests/example_data.db]>
holland.core.plugin.manager: ERROR: Exception when loading plugin
Traceback (most recent call last):
  File "<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/holland/core/plugin/manager.py";,> line 112, in load
    return plugin.load()(plugin.name)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1830, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "<http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/BUILD/holland-1.1.0/plugins/holland.lib.common/holland/lib/compression.py";,> line 6, in ?
    from subprocess import Popen, PIPE, STDOUT, check_call, CalledProcessError
ImportError: cannot import name check_call
holland.core.backup.job: DEBUG: + Ran plugin post
holland.core.backup.job: INFO: + Running backup failure hooks
--------------------- >> end captured logging << ---------------------

Name                    Stmts   Exec  Cover   Missing
-----------------------------------------------------
holland.backup.sqlite      74     67    90%   63-64, 79, 97-98, 121-122
----------------------------------------------------------------------
Ran 9 tests in 1.001s

FAILED (errors=2)

error: Bad exit status from /var/tmp/rpm-tmp.93936 (%check)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.93936 (%check)
git archive --prefix=holland-1.1.0/ HEAD > <http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/SOURCES/holland-1.1.0.tar.gz>
rpmbuild -bb <http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging/SPECS/holland.spec> --define='_topdir <http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging'>  

-----------------------------------------------------------------------------

Holland 1.1.0 build FAILED!  Files in <http://hudson.hollandbackup.org/job/amsterdam-build-rpms/ws/staging>
Archiving artifacts



Follow ups