← Back to team overview

holland-build team mailing list archive

Build failed in Jenkins: amsterdam-test-runner #248

 

See <http://hudson.hollandbackup.org/job/amsterdam-test-runner/248/changes>

Changes:

[BJ Dierkes] don't test quietly

------------------------------------------
[...truncated 146 lines...]
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   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,[INFO] Testing: <http://hudson.hollandbackup.org/job/amsterdam-test-runner/ws/plugins/holland.backup.random>
 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           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
holland.test                               1      1      0      0   100%   
holland.test.backup                       26     26      4      3    96%   
----------------------------------------------------------------------------------
TOTAL                                   4173   2951   1401    736    66%   
----------------------------------------------------------------------
Ran 107 tests in 2.772s

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

----------------------------------------------------------------------
XML: nosetests.xml
Name                               Stmts   Exec  Cover   Missing
----------------------------------------------------------------
csv                                  251      0     0%   2-435
encodings.utf_8                       15      0     0%   9-34
holland.backup.random                 30     30   100%   
holland.core                           9      9   100%   
holland.core.backup                    5      5   100%   
holland.core.backup.error             10      6    60%   23-26
holland.core.backup.hooks            130    100    76%   28, 31, 41-43, 50-51, 64-65, 69-70, 76, 153-154, 156-157, 160-166, 174, 190, 195-196, 220-222
holland.core.backup.job               50     42    84%   37, 66-72
holland.core.backup.manager           51     14    27%   28, 32-52, 61-65, 72-79, 83-88
holland.core.backup.plugin            23     20    86%   56, 118, 146
holland.core.backup.spool            149     37    24%   28-30, 45-51, 62-70, 82-89, 93-94, 101-106, 114, 122-123, 128-131, 136, 139, 142, 157, 182-193, 202-207, 215-227, 234-241, 261-286, 300-309, 312-314, 317
holl[INFO] Testing: <http://hudson.hollandbackup.org/job/amsterdam-test-runner/ws/plugins/holland.backup.sqlite>
[CRITICAL] FAIL: <http://hudson.hollandbackup.org/job/amsterdam-test-runner/ws/plugins/holland.backup.sqlite>
and.core.backup.util              30      7    23%   20-27, 37-52
holland.core.config                    4      4   100%   
holland.core.config.check            121     73    60%   31, 74-78, 92, 139-140, 161, 170-175, 181-204, 214-222, 235-243, 286
holland.core.config.config           173    122    70%   37, 107-124, 159-160, 182-192, 209-230, 244, 272, 288, 313
holland.core.config.spec             119     69    57%   26-27, 30-43, 71-72, 95, 101-102, 106-107, 112, 119-124, 128-130, 135, 157, 160, 164, 172-173, 178-179, 186-187, 192, 194, 205-217
holland.core.config.util              18     13    72%   25, 27, 36-39, 46
holland.core.config.validation       114     66    57%   46, 76, 83-85, 88, 101-113, 117, 130-131, 142, 144, 148-149, 154, 158, 173-175, 195-196, 202, 206-211, 216-219, 229-230, 238, 242, 273-278, 282-285
holland.core.dispatch                  1      1   100%   
holland.core.dispatch.dispatcher     107     71    66%   7-8, 18, 81-97, 101, 112, 143-156, 217-218, 237-239, 278-281
holland.core.dispatch.saferef         79     20    25%   22-30, 34, 84-93, 109-133, 141, 146, 156, 160-162, 175-180, 213-216, 229-240, 245-250
holland.core.hooks                    28     10    35%   38-40, 54-72
holland.core.plugin                    7      7   100%   
holland.core.plugin.base              14     12    85%   46, 76
holland.core.plugin.error             14      6    42%   25-28, 40-42, 45
holland.core.plugin.manager           65     25    38%   41, 48-49, 76-80, 89-94, 113-126, 132-138, 151-153, 156, 165-168, 171
holland.core.plugin.util              23      3    13%   18-27, 38-48
holland.core.stream                    3      3   100%   
holland.core.stream.base              52     34    65%   37, 44-47, 51, 55, 60, 67, 79, 82, 85-88, 96, 100, 105, 113
holland.core.stream.plugin            33     14    42%   23, 30-34, 42-50, 58-64, 73, 77
holland.core.util                      4      4   100%   
holland.core.util.datastructures     271    107    39%   17-18, 29, 32-37, 40, 43-46, 49-52, 55-62, 65-66, 69-70, 73, 76, 79, 82-85, 92, 102, 112-113, 127-131, 136-141, 144, 153-154, 163-165, 169-171, 174, 181, 184, 187, 190-191, 194-195, 198-202, 205-208, 212, 217-220, 227-229, 236, 239-240, 264, 267, 275-282, 285, 288, 294-301, 304-306, 309-312, 319-325, 332-335, 338, 341-343, 346-348, 352-353, 360, 367-368, 372, 376, 380, 384-385, 389, 396-410, 427-434, 437-440
holland.core.util.fmt                 39     31    79%   32-33, 49, 75-76, 92, 96, 98
holland.core.util.misc                 5      3    60%   33-38
holland.core.util.path                54      7    12%   20-39, 49-55, 66-68, 76-91, 100-106
holland.core.util.pycompat           144     54    37%   23-24, 65, 88, 105, 110-118, 122-146, 149-180, 229-329
holland.core.util.signal              25     18    72%   32-36, 49-51, 66-67
holland.lib                            1      1   100%   
holland.lib.which                    100     17    17%   88-102, 105-109, 119-134, 159-223, 244-248, 268
io                                   942      0     0%   48-1867
pickle                               854      0     0%   27-1383
shlex                                229      0     0%   2-292
subprocess                           512      0     0%   12-1314
tests                                  1      1   100%   
tests.test_random                     69     68    98%   70
weakref                              211      0     0%   12-355
----------------------------------------------------------------
TOTAL                               5189   1134    21%   
----------------------------------------------------------------------
Ran 5 tests in 0.101s

OK

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/pymodules/python2.6/nose/case.py", line 183, in runTest
    self.test(*self.arg)
  File "<http://hudson.hollandbackup.org/job/amsterdam-test-runner/ws/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-test-runner/ws/holland/core/backup/job.py";,> line 61, in run
    self.plugin.backup()
  File "<http://hudson.hollandbackup.org/job/amsterdam-test-runner/ws/plugins/holland.backup.sqlite/holland/backup/sqlite.py";,> line 112, in backup
    % (error.args, dest)
BackupError: SQLite IOError ("No stream found for method 'gzip': No plugin gzip in group holland.stream",) /tmp/tmp0d4SIA/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/tmp0d4SIA has 32.00MB available
holland.core.backup.hooks: INFO: + Saved config to /tmp/tmp0d4SIA/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-test-runner/ws/plugins/holland.backup.sqlite/tests/example_data.db]>
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/pymodules/python2.6/nose/case.py", line 183, in runTest
    self.test(*self.arg)
  File "<http://hudson.hollandbackup.org/job/amsterdam-test-runner/ws/plugins/holland.backup.sqlite/tests/test_sqlite.py";,> line 201, in test_sqlite_bad_backup
    job.run(dry_run=False)
  File "<http://hudson.hollandbackup.org/job/amsterdam-test-runner/ws/holland/core/backup/job.py";,> line 61, in run
    self.plugin.backup()
  File "<http://hudson.hollandbackup.org/job/amsterdam-test-runner/ws/plugins/holland.backup.sqlite/holland/backup/sqlite.py";,> line 112, in backup
    % (error.args, dest)
BackupError: SQLite IOError ("No stream found for method 'gzip': No plugin gzip in group holland.stream",) /tmp/tmpoWZlJw/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/tmpoWZlJw has 32.00MB available
holland.core.backup.hooks: INFO: + Saved config to /tmp/tmpoWZlJw/backup.conf
holland.cor[CRITICAL] Unable to continue.  See errors above.
e.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-test-runner/ws/plugins/holland.backup.sqlite/tests/example_data.db]>
holland.core.backup.job: DEBUG: + Ran plugin post
holland.core.backup.job: INFO: + Running backup failure hooks
--------------------- >> end captured logging << ---------------------

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

FAILED (errors=2)

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



Follow ups

References