← Back to team overview

holland-build team mailing list archive

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

 

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

Changes:

[Andrew Garner] remove the deprecated safefilename module from holland-common in contrib/holland.spec

------------------------------------------
[...truncated 1496 lines...]
[[[[[[[]]]]]]] [[[[[[[]]]]]]]
[[[[[[[]]]]]]] [[[[[[[]]]]]]]

positional arguments:
  subcommand
  args

optional arguments:
  --help, -h
  --config <file>, -c <file>
                        Read configuration from the given file
  --log-level <log-level>, -l <log-level>
                        Specify the log level.
  --debug, -d           Log debug output (alias for --log-level=debug)
  --verbose, -v         Log verbose output (alias for --log-level=info)
  --quiet, -q           Disable all console output.

No command 'does-not-exist'
ok
tests.cli.test_main.test_list_commands ... ok
tests.cli.test_main.test_list_backups ... ok
tests.cli.test_main.test_list_plugins ... ok
tests.cli.test_main.test_mkconfig ... ok
tests.cli.test_main.test_holland_backup ... Nothing to backup
Could not open config file. [Errno 2] No such file or directory: '/tmp/tmpThyl3n/holland/backupsets/default.conf'
ok
tests.core.backup.test_job.test_job ... ok
tests.core.backup.test_job.test_job_failure ... ok
tests.core.backup.test_manager.test_backup_manager ... ok
tests.core.backup.test_spool.test_backups ... ok
tests.core.backup.test_spool.test_str_and_repr ... ok
Test that list_backups() doesn't treat a file like a backup store ... ok
Test each backup precedes the next ... ok
Test that each backup is a previous backup of the next ... ok
tests.core.backup.test_spool.test_backupstore_previous_of_first_is_none ... ok
tests.core.backup.test_spool.test_backupstore_capacity ... ok
tests.core.backup.test_spool.test_backupstore_latest ... ok
tests.core.backup.test_spool.test_backupstore_w_nullspool ... ok
tests.core.backup.test_spool.test_backupsets ... ok
tests.core.backup.test_spool.test_backupsets_ordering ... ok
tests.core.backup.test_spool.test_spool_iteration ... ok
tests.core.backup.test_spool.test_backupset_purge ... ok
tests.core.backup.test_spool.test_backupset_purge_with_retention ... ok
tests.core.backup.test_spool.test_backupstore_purged ... ok
tests.core.backup.test_spool.test_backupstore_purged_latest_is_none ... ok
tests.core.config.test_checks.test_bool ... ok
tests.core.config.test_checks.test_int ... ok
tests.core.config.test_checks.test_float ... ok
tests.core.config.test_checks.test_string ... ok
tests.core.config.test_checks.test_list ... ok
tests.core.config.test_checks.test_cmdline ... ok
tests.core.config.test_config.test_basic ... ok
tests.core.config.test_config.test_meld ... ok
tests.core.config.test_config.test_read ... ok
tests.core.config.test_config.test_str ... ok
tests.core.config.test_config.test_write ... ok
tests.core.config.test_config.test_write_fileobj ... ok
tests.core.config.test_parsing.test_simple ... ok
tests.core.config.test_parsing.test_args ... ok
tests.core.config.test_parsing.test_kwargs ... ok
tests.core.config.test_parsing.test_quoted ... ok
tests.core.config.test_parsing.test_none ... ok
tests.core.config.test_parsing.test_list_values ... ok
tests.core.config.test_spec.test_spec ... ok
tests.core.config.test_spec.test_validate_missing ... ok
tests.core.config.test_spec.test_unknown_check ... ok
tests.core.config.test_spec.test_source_merge ... ok
testDisconnection (tests.core.dispatch.test_dispatcher.DispatcherTests) ... ok
testExact (tests.core.dispatch.test_dispatcher.DispatcherTests) ... ok
testGarbageCollected (tests.core.dispatch.test_dispatcher.DispatcherTests) ... ok
testIgnoredSender (tests.core.dispatch.test_dispatcher.DispatcherTests) ... ok
testMultipleRegistration (tests.core.dispatch.test_dispatcher.DispatcherTests) ... ok
Test the sendRobust function ... ok
testUidRegistration (tests.core.dispatch.test_dispatcher.DispatcherTests) ... ok
Test the "in" operator for safe references (cmp) ... ok
Test that the reference object's representation works ... ok
Test that creation short-circuits to reuse existing references ... ok
Test that the references are valid (return instance methods) ... ok
tests.core.plugin.test_plugin.test_load_plugin ... ok
tests.core.plugin.test_util.test_bad_import ... ok
tests.core.plugin.test_util.test_relative_import ... ok
tests.core.plugin.test_util.test_bad_package_arg ... ok
tests.core.stream.test_base.test_filelike ... ok
tests.core.stream.test_base.test_realfilelike ... ok
tests.core.stream.test_stream.test_available_methods ... ok
tests.core.stream.test_stream.test_open_stream ... ok
tests.core.stream.test_stream.test_missing_method ... ok
tests.core.stream.test_stream.test_default_method ... ok
tests.core.stream.test_stream.test_stream_info ... ok
tests.core.stream.test_stream.test_open_stream_wrapper ... ok
test_custom_warning (tests.core.test_datastructures.ImmutableListTests) ... ok
test_sort (tests.core.test_datastructures.ImmutableListTests) ... ok
MergeDict can merge MultiValueDicts ... ok
test_simple_mergedict (tests.core.test_datastructures.MergeDictTests) ... ok
test_copy (tests.core.test_datastructures.MultiValueDictTests) ... ok
test_multivaluedict (tests.core.test_datastructures.MultiValueDictTests) ... ok
test_append (tests.core.test_datastructures.SortedDictTests) ... ok
New items go to the end. ... ok
test_basic_methods (tests.core.test_datastructures.SortedDictTests) ... ok
Changing the keys won't do anything, it's only a copy of the ... ok
test_clear (tests.core.test_datastructures.SortedDictTests) ... ok
test_copy (tests.core.test_datastructures.SortedDictTests) ... ok
Deleting an item, then inserting the same key again will place it ... ok
test_dict_equality (tests.core.test_datastructures.SortedDictTests) ... ok
Initialising a SortedDict with two keys will just take the first one. ... ok
test_overwrite (tests.core.test_datastructures.SortedDictTests) ... ok
Overwriting an item keeps it's place. ... ok
test_pickle (tests.core.test_datastructures.SortedDictTests) ... ok
test_pop (tests.core.test_datastructures.SortedDictTests) ... ok
test_rename_key (tests.core.test_datastructures.SortedDictTests) ... ok
test_tuple_init (tests.core.test_datastructures.SortedDictTests) ... ok
tests.core.test_hooks.test_load_hooks_from_config ... ok
tests.core.test_util.test_format_interval ... ok
tests.core.test_util.test_format_datetime ... ok
tests.core.test_util.test_format_bytes ... ok
tests.core.test_util.test_parse_bytes ... ok
tests.core.test_util.test_run_command ... ok
tests.core.test_util.test_relpath ... ok
tests.core.test_util.test_getmount ... ok
tests.core.test_util.test_diskfree ... FAIL
tests.core.test_util.test_directory_size ... ok
tests.core.test_util.test_scanner ... ok
tests.core.test_util.test_template ... ok

======================================================================
FAIL: tests.core.test_util.test_diskfree
----------------------------------------------------------------------
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/tests/core/test_util.py";,> line 99, in test_diskfree
    assert_equals(path.disk_free("/"), actual_bytes)
AssertionError: 16493154304 != 16493162496
>>  raise self.failureException, \
          (None or '%r != %r' % (16493154304, 16493162496))
    

Name                                   Stmts   Miss Branch BrPart  Cover   Missing
----------------------------------------------------------------------------------
holland                                    1      1      0      0     0%   1
holland.cli                                2      0      0      0   100%   
holland.cli.backports                      9      0      6      2    87%   
holland.cli.backports.argparse          1147    406    470    225    61%   88-89, 127-129, 132, 136-138, 258, 294, 298, 358-372, 385-401, 410-414, 422-423, 456, 475, 514, 518, 522, 554-555, 561, 575, 578-582, 589, 592, 604-607, 614-615, 641, 652-658, 666-675, 686-687, 690-694, 781-792, 812, 816, 881, 903-909, 922-924, 937, 948-950, 961, 970-971, 981, 989-990, 1001-1007, 1010-1015, 1023-1024, 1034-1039, 1049-1061, 1064, 1067-1083, 1104-1105, 1109-1122, 1142, 1147, 1150, 1153, 1230-1233, 1251, 1262, 1264, 1269, 1275, 1285-1287, 1304-1305, 1311, 1315-1351, 1356-1357, 1376-1379, 1394, 1397-1398, 1413-1415, 1423-1424, 1428-1429, 1432-1436, 1441-1450, 1482-1483, 1489-1491, 1494-1499, 1502-1503, 1539-1540, 1554, 1577, 1581, 1588-1594, 1600-1609, 1615-1643, 1653, 1694, 1699-1701, 1706, 1712-1716, 1728-1730, 1760-1763, 1791-1822, 1911, 1917-1918, 1922-1933, 1940-1965, 1968, 1977-1984, 2008, 2021, 2027-2028, 2036-2039, 2044-2045, 2051-2052, 2056, 2076-2101, 2125, 2133, 2158, 2162-2163, 2172, 2187-2188, 2202-2203, 2210-2219, 2227-2229, 2235-2238, 2264-2271, 2280-2282, 2290-2295, 2300, 2307-2309, 2320-2321
holland.cli.backports.subprocess         547    379    292    239    26%   369-370, 372, 376-399, 410-411, 416-418, 424-430, 444, 457-463, 494-531, 545, 548-552, 557, 560, 602-610, 613, 616, 621, 627-629, 635, 640, 655-668, 674, 681-916, 932-938, 941, 944-948, 951, 954-960, 970-971, 978-984, 992-996, 1001-1008, 1015-1019, 1023-1030, 1034-1041, 1054, 1074-1077, 1081-1134, 1141, 1151-1153, 1158, 1163, 1170-1176, 1198-1202, 1214-1217, 1223-1227, 1254-1257, 1267-1301, 1308-1318
holland.cli.cmd                            4      0      0      0   100%   
holland.cli.cmd.base                      82      1     12      1    98%   52
holland.cli.cmd.builtin                    6      0      0      0   100%   
holland.cli.cmd.builtin.cmd_backup        50     13      9      5    69%   45-48, 61, 65-69, 75-82
holland.cli.cmd.builtin.cmd_help          32      1      6      1    95%   45
holland.cli.cmd.builtin.cmd_list          73      8     12      2    88%   73-78, 126-127, 136
holland.cli.cmd.builtin.cmd_mkconfig      31      9      4      2    69%   29-31, 42-43, 46, 49-51
holland.cli.cmd.builtin.cmd_purge         45     32     14     14    22%   29-34, 39-70, 78-84
holland.cli.cmd.error                      8      1      0      0    88%   23
holland.cli.cmd.util                      11      1      0      0    91%   30
holland.cli.config                        38     11      8      5    65%   59-71, 93
holland.cli.log                           43      9      8      4    75%   38, 59-69, 92
holland.cli.main                          64     18     10      1    74%   40-41, 87-89, 94-95, 114-125, 131
holland.core                               9      0      0      0   100%   
holland.core.backup                        5      0      0      0   100%   
holland.core.backup.error                 10      4      2      2    50%   23-26
holland.core.backup.hooks                129     27     32     14    75%   31, 41-43, 50-51, 69-70, 74, 153-154, 156-157, 160-166, 174, 190, 195-196, 220-222
holland.core.backup.job                   50      4     10      3    88%   37, 66-68
holland.core.backup.manager               51     22      2      2    55%   39-44, 61-65, 72-79, 83-88
holland.core.backup.plugin      [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>
          23      1      0      0    96%   56
holland.core.backup.spool                157     24     40     15    80%   28-30, 103-105, 194, 202-203, 213-218, 275-277, 282-285, 290-293, 312
holland.core.backup.util                  30     12      4      2    59%   22, 26-27, 43-51
holland.core.config                        4      0      0      0   100%   
holland.core.config.check                117      9     40      9    89%   76, 139-140, 161, 171, 187, 202, 238, 241
holland.core.config.config               171      7     52      9    93%   37, 110, 124, 187, 216, 272, 288
holland.core.config.spec                 108     12     34      5    88%   64-65, 71-72, 135, 164, 172-173, 186-187, 207, 216
holland.core.config.util                  18      3      4      0    86%   36-39, 46
holland.core.config.validation           114     24     22      7    77%   88, 130-131, 148-149, 154, 158, 175, 195-196, 208-211, 229-230, 238, 242, 274, 277-278, 282-285
holland.core.dispatch                      1      0      0      0   100%   
holland.core.dispatch.dispatcher         107     17     48      7    85%   7-8, 81-97, 278-281
holland.core.dispatch.saferef             79     20     24      9    72%   115-116, 121-125, 146, 156, 161, 180, 213-216, 229-240, 250
holland.core.hooks                        28      0      2      0   100%   
holland.core.plugin                        7      0      0      0   100%   
holland.core.plugin.                       7      0      0      0   100%   
holland.core.plugin.base                  14      1      0      0    93%   84
holland.core.plugin.error                 14      0      0      0   100%   
holland.core.plugin.manager               65     25     10      6    59%   41, 48-49, 76-80, 89-94, 116, 120, 151-153, 156, 165-168, 171
holland.core.plugin.util                  23      0     12      0   100%   
holland.core.stream                        3      0      0      0   100%   
holland.core.stream.base                  48     11      2      1    76%   16-17, 46, 79, 82, 85-88, 96, 100, 113
holland.core.stream.plugin                33      0      4      0   100%   
holland.core.util                          4      0      0      0   100%   
holland.core.util.datastructures         264     38     74     21    83%   17-18, 131, 194-195, 212, 281-282, 285, 294-301, 304-306, 309-312, 324, 341-343, 347, 352-353, 360, 397, 401-402, 407-408, 410, 438
holland.core.util.fmt                     39      0     14      0   100%   
holland.core.util.misc                     5      0      0      0   100%   
holland.core.util.path                    54     15     20      5    73%   32, 37-39, 82-83, 89-90, 100-106
holland.core.util.pycompat               143     53     60     34    57%   23-24, 65, 88, 113-114, 124, 127-130, 144, 151, 154-157, 162-167, 172-173, 175, 178, 229-329
holland.core.util.signal                  25      7     10      4    69%   32-36, 49-51, 66-67
holland.lib                                1      1      0      0     0%   1
holland.lib.compression                  143     85     30     28    35%   9-41, 53-66, 69-74, 92-93, 96-107, 113-116, 125-133, 136, 139-142, 145-148, 151, 156-170, 173-181, 184, 187, 190, 193, 196
holland.lib.hooks                         33     18      4      4    41%   3-4, 15, 18-21, 24-44, 48
holland.test                               1      0      0      0   100%   
holland.test.backup                       26      0      2      0   100%   
----------------------------------------------------------------------------------
TOTAL                                   4356   1330   1409    688    65%   
----------------------------------------------------------------------
Ran 107 tests in 4.734s

FAILED (failures=1)

tests.test_random.test_random_dry_run ... ok
tests.test_random.test_random_backup ... ok
tests.test_random.test_random_backup_bad_directory ... ok
tests.test_random.test_random_configspec ... ok
tests.test_random.test_random_plugin_info ... ok

----------------------------------------------------------------------
Ran 5 tests in 0.110s

OK

nose.plugi[CRITICAL] Unable to continue.  See errors above.
ns.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 ... ok
tests.test_sqlite.test_sqlite_bad_backup ... ok
tests.test_sqlite.test_sqlite_configspec ... ok
tests.test_sqlite.test_sqlite_info ... ok

Name                    Stmts   Miss  Cover   Missing
-----------------------------------------------------
holland.backup.sqlite      74      7    91%   79, 97-98, 110-111, 121-122
----------------------------------------------------------------------
Ran 9 tests in 1.209s

OK

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


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.3159 (%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

References