holland-build team mailing list archive
-
holland-build team
-
Mailing list archive
-
Message #00067
Build failed in Jenkins: amsterdam-test-runner #285
See <http://hudson.hollandbackup.org/job/amsterdam-test-runner/285/>
------------------------------------------
[...truncated 68 lines...]
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/amsterdam-test-runner/ws/tests/backupsets/test.conf'>
Could not open config file. [Errno 2] No such file or directory: '<http://hudson.hollandbackup.org/job/amsterdam-test-runner/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/tmpvMEtB0/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
----------------------------------------------------------------------
XML: nosetests.xml
Name Stmts Miss Branch BrPart Cover Missing
---------------------------------------------------------------------------------------
holland 1 1 0 0 0% 1
holland.backup 6 6 0 0 0% 1-6
holland.backup.mysqldump.mock 2 0 0 0 100%
holland.backup.mysqldump.mock._subprocess 19 13 4 4 26% 10-15, 19, 26-28, 31-33
holland.backup.mysqldump.mock.env 52 39 2 2 24% 10-13, 16, 22, 30-46, 55-66, 69-72, 80-87
holland.backup.mysqldump.mock.mocker 1028 772 456 451 18% 18, 60-61, 64, 67-68, 98-144, 147-154, 157, 171-188, 199-204, 208-209, 213-214, 218-219, 223-224, 229-230, 235-236, 241-242, 247-248, 252-253, 259-260, 275-291, 395-399, 406, 430-436, 446-449, 457-460, 464, 472-478, 486-502, 524-526, 565-587, 622-625, 665-673, 681-705, 713, 742, 750, 757-760, 767-769, 778, 790-794, 801, 808-809, 851-873, 895-897, 919-921, 935-938, 950-953, 957-958, 967-970, 981-983, 989, 992, 995, 1012-1021, 1024-1045, 1049-1055, 1058-1060, 1063, 1066, 1069, 1072, 1075, 1078, 1084-1090, 1093-1096, 1103-1106, 1114-1131, 1140-1144, 1153, 1158, 1161, 1170-1203, 1209-1212, 1215-1217, 1222, 1231-1238, 1246-1252, 1257-1259, 1263-1296, 1312, 1315, 1339, 1342, 1348-1359, 1365, 1371, 1374, 1380-1450, 1468-1470, 1474-1475, 1478, 1481, 1485-1488, 1491, 1499-1502, 1516-1539, 1546-1551, 1561-1575, 1580-1582, 1586-1587, 1594, 1608, 1612, 1647, 1650, 1657, 1660, 1663, 1673-1680, 1683, 1686, 1689-1691, 1694-1695, 1709-1710, 1720-1726, 1735, 1738, 1742-1750, 1763, 1766-1767, 1774, 1777, 1780-1783, 1794-1796, 1799, 1802, 1805-1808, 1811-1814, 1817, 1820, 1828-1841, 1844, 1847, 1853, 1857-1861, 1864-1882, 1885-1895, 1908-1909, 1912, 1915, 1920-1925, 1939-1941, 1944-1954, 1957-1959, 1962-1964, 1967-1984, 1987-1989, 1992-2005, 2009-2014, 2017-2033, 2039-2041, 2044-2052, 2059, 2063-2066
holland.backup.mysqldump.mock.storage 244 175 94 93 21% 33-34, 49, 54, 59, 64, 69, 74, 82-111, 118-123, 127, 131-135, 139-144, 153-176, 184-201, 211-215, 228, 242-255, 260, 265-267, 272, 279, 284, 289-294, 303-336, 345-354, 362, 366, 369, 379-389, 397-404, 409, 414, 423, 430-431, 435-436, 445, 449, 453, 457
holland.backup.random 30 19 2 2 34% 20, 23-43, 46, 50
holland.backup.script 1 0 0 0 100%
holland.backup.script.plugin 42 26 6 6 33% 24, 27-55, 58-61, 81-82
holland.backup.script.util 28 20 8 8 22% 13-16, 24-34, 43-52
holland.backup.sqlite 74 53 26 26 21% 39-69, 76-82, 90-126, 133-134, 138
holland.cli 2 0 0 0 100%
holland.cli.backports 9 0 6 2 87%
holland.cli.backports.argparse 1148 406 471 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 44 10 8 4 73% 35, 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 23 1 10 5 82% 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 23 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 6 2 94%
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 9 12 3 80% 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.safefilename 13 10 14 14 11% 25-37, 41-54
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.lib.lvm 6 0 0 0 100%
holland.lib.lvm.base 122 77 19 19 32% 21-24, 27, 31-34, 71, 81-85, 99-100, 111, 121-125, 138-139, 156-161, 171-172, 184-185, 190, 202-208, 215-221, 229-234, 238-243, 253-258, 265-268, 275, 282, 289-296
holland.lib.lvm.constants 3 0 0 0 100%
holland.lib.lvm.errors 10 6 0 0 40% 15-19, 22
holland.lib.lvm.raw 98 78 34 34 15% 21-41, 49-69, 80-100, 105-107, 117-144, 154-174, 186-203, 210-216, 223-243, 250-262
holland.lib.lvm.snapshot 120 99 22 22 15% 19-23, 30-35, 42-54, 59-74, 78-90, 94-106, 110-117, 121-142, 148, 152-158, 162-174, 181-182
holland.lib.lvm.util 70 55 24 24 16% 25-31, 44-64, 70-82, 87-92, 105-123, 129-130, 134-136, 140-141, 147-150
holland.test 1 0 0 0 100%
holland.test.backup 26 0 4 1 97%
---------------------------------------------------------------------------------------
TOTAL 6326 2777 2148 1403 51%
----------------------------------------------------------------------
Ran 107 tests in 3.117s
OK
[INFO] + coverage xml
Traceback (most recent call last):
File "scripts/test_runner.py", line 218, in <module>
sys.exit(main(sys.argv))
File "scripts/test_runner.py", line 214, in main
runner.run(paths)
File "scripts/test_runner.py", line 159, in run
if not self._run_tests(paths):
File "scripts/test_runner.py", line 110, in _run_tests
close_fds=True)
File "scripts/test_runner.py", line 31, in exec_command
proc = Popen(argv, *args, **kwargs)
File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Recording test results
Skipping Cobertura coverage report as build was not SUCCESS or better ...