← Back to team overview

holland-build team mailing list archive

Build failed in Jenkins: holland-amsterdam #235

 

See <http://hudson.hollandbackup.org/job/holland-amsterdam/235/changes>

Changes:

[BJ Dierkes] add where=tests back in

[BJ Dierkes] updating mailing list

[BJ Dierkes] look for sqlite, sqlite2, and sqlite3

[BJ Dierkes] use os.istty to protect use of curses

------------------------------------------
[...truncated 15 lines...]
Checking out Revision bf3c064faf1fb006efedabfdd840977cfbdad961 (origin/amsterdam)
[holland-amsterdam] $ git checkout -f bf3c064faf1fb006efedabfdd840977cfbdad961
[holland-amsterdam] $ git tag -a -f -m "Hudson Build #235" hudson-holland-amsterdam-235
Recording changes in branch origin/amsterdam
[holland-amsterdam] $ git whatchanged --no-abbrev -M --pretty=raw 1f3b5a931a28d512c9f58d3e8340ca6766076043..bf3c064faf1fb006efedabfdd840977cfbdad961
[holland-amsterdam] $ /bin/sh -xe /tmp/hudson6692448738060474080.sh
+ python test_runner.py
[INFO] Verifying paths...
[INFO] Testing: <http://hudson.hollandbackup.org/job/holland-amsterdam/ws/>
nose.config: INFO: Set working dir to <http://hudson.hollandbackup.org/job/holland-amsterdam/ws/tests>
nose.config: INFO: Working directory <http://hudson.hollandbackup.org/job/holland-amsterdam/ws/tests> is a package; adding to sys.path
nose.plugins.cover: INFO: Coverage report will include only packages: ['holland']
tests.cli.test_cmds.test_cmd_base_command ... ok
tests.cli.test_cmds.test_argparse_command ... unrecognized arguments: nosetests --verbosity=3
usage: test [--help]

optional arguments:
  --help, -h

ok
tests.cli.test_cmds.test_cmd_backup ... Could not open config file. [Errno 2] No such file or directory: '<http://hudson.hollandbackup.org/job/holland-amsterdam/ws/tests/backupsets/test.conf'>
Could not open config file. [Errno 2] No such file or directory: '<http://hudson.hollandbackup.org/job/holland-amsterdam/ws/tests/backupsets/default.conf'>
ok
tests.cli.test_main.test_holland_main ... ok
tests.cli.test_main.test_help ... usage: holland [--help] [--config <file>] [--log-level <log-level>] [--debug]
               [--verbose] [--quiet]
               [subcommand] ...

Holland Backup v1.1.0
Copyright (c) 2008-2011 Rackspace US, Inc.
More info available at http://hollandbackup.org

[[[[[[[]]]]]]] [[[[[[[]]]]]]]
[[[[[[[]]]]]]]       [[[[[[[]]]]]]]
[[[[[[[]]]]]]] [[[[[[[]]]]]]]
[[[[[[[]]]]]]] [[[[[[[]]]]]]]

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/tmpRhRtxO/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 ... ok
tests.core.test_util.test_directory_size ... ok
tests.core.test_util.test_scanner ... ok
tests.core.test_util.test_template ... ok

Name                                   Stmts   Exec Branch BrExec  Cover   Missing
----------------------------------------------------------------------------------
holland                                    1      1      0      0   100%   
holland.cli                                2      2      0      0   100%   
holland.cli.backports                      9      9      6      4    86%   
holland.cli.backports.argparse          1148    742    471    246    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    168    292     53    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      4      0      0   100%   
holland.cli.cmd.base                      82     81     12     11    97%   52
holland.cli.cmd.builtin                    6      6      0      0   100%   
holland.cli.cmd.builtin.cmd_backup        50     37      9      4    69%   45-48, 61, 65-69, 75-82
holland.cli.cmd.builtin.cmd_help          32     31      6      5    94%   45
holland.cli.cmd.builtin.cmd_list          73     65     12     10    88%   73-78, 126-127, 136
holland.cli.cmd.builtin.cmd_mkconfig      31     22      4      2    68%   29-31, 42-43, 46, 49-51
holland.cli.cmd.builtin.cmd_purge         45     13     14      0    22%   29-34, 39-70, 78-84
holland.cli.cmd.error                      8      7      0      0    87%   23
holland.cli.cmd.util                      11     10      0      0    90%   30
holland.cli.config                        38     27      8      3    65%   59-71, 93
holland.cli.log                           44     34      8      4    73%   35, 38, 59-69, 92
holland.cli.main                          64     46     10      9    74%   40-41, 87-89, 94-95, 114-125, 131
holland.core                               9      9      0      0   100%   
holland.core.backup                        5      5      0      0   100%   
holland.core.backup.error                 10      6      2      0    50%   23-26
holland.core.backup.hooks                129    102     32     18    74%   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     46     10      7    88%   37, 66-68
holland.core.backup.manager               51     29      2      0    54%   39-44, 61-65, 72-79, 83-88
holland.core.backup.plugin                23     22     10      5    81%   56
holland.core.backup.spool                149    127     40     25    80%   28-30, 103-105, 189, 202-207, 264-266, 271-274, 279-282, 301
holland.core.backup.util                  30     18      4      2    58%   22, 26-27, 43-51
holland.core.config                        4      4      0      0   100%   
holland.core.config.check                117    108     40     31    88%   76, 139-140, 161, 171, 187, 202, 238, 241
holland.core.config.config               171    164     52     43    92%   37, 110, 124, 187, 216, 272, 288
holland.core.config.spec                 108     96     34     29    88%   64-65, 71-72, 135, 164, 172-173, 186-187, 207, 216
holland.core.config.util                  18     15      4      4    86%   36-39, 46
holland.core.config.validation   [INFO] Testing: <http://hudson.hollandbackup.org/job/holland-amsterdam/ws/plugins/holland.backup.random>
[INFO] Testing: <http://hudson.hollandbackup.org/job/holland-amsterdam/ws/plugins/holland.backup.sqlite>
        114     90     23     16    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      1      0      0   100%   
holland.core.dispatch.dispatcher         107     90     48     41    84%   7-8, 81-97, 278-281
holland.core.dispatch.saferef             79     59     24     15    71%   115-116, 121-125, 146, 156, 161, 180, 213-216, 229-240, 250
holland.core.hooks                        28     28      4      3    96%   
holland.core.plugin                        7      7      0      0   100%   
holland.core.plugin.                       7      7      0      0   100%   
holland.core.plugin.base                  14     13      0      0    92%   84
holland.core.plugin.error                 14     14      0      0   100%   
holland.core.plugin.manager               65     40     10      4    58%   41, 48-49, 76-80, 89-94, 116, 120, 151-153, 156, 165-168, 171
holland.core.plugin.util                  23     23     12     12   100%   
holland.core.stream                        3      3      0      0   100%   
holland.core.stream.base                  48     39     12      9    80%   46, 79, 82, 85-88, 96, 100, 113
holland.core.stream.plugin                33     33      4      4   100%   
holland.core.util                          4      4      0      0   100%   
holland.core.util.datastructures         264    226     74     53    82%   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     39     14     14   100%   
holland.core.util.misc                     5      5      0      0   100%   
holland.core.util.path                    54     39     20     15    72%   32, 37-39, 82-83, 89-90, 100-106
holland.core.util.pycompat               143     90     60     26    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     18     10      6    68%   32-36, 49-51, 66-67
----------------------------------------------------------------------------------
TOTAL                                   4146   2924   1397    733    65%   
----------------------------------------------------------------------
Ran 107 tests in 3.743s

OK

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.088s

OK

nose.plugins.cover: INFO: Coverage report will include only packages: ['holland.backup.sqlite']
Failure: SkipTest (Unable to find sqlite binary) ... SKIP: Unable to find sqlite binary

Name                    Stmts   Exec  Cover   Missing
-----------------------------------------------------
holland.backup.sqlite      74     14    18%   27-32, 39-69, 76-82, 90-126, 133-134, 138, 142
----------------------------------------------------------------------
Ran 1 test in 0.095s

OK (SKIP=1)

Recording test results
Test reports were found but none of them are new. Did tests run? 
For example, <http://hudson.hollandbackup.org/job/holland-amsterdam/ws/nosetests.xml> is 15 min old

Skipping Cobertura coverage report as build was not SUCCESS or better ...



Follow ups

References