Ran
|
Jobs
1
|
Files
20
|
Run time
39min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
Reject expired metadata without loading. Reject downloaded metadata as early as possible. The top-level roles were all downloaded as a group and then their expiration inspected. All metadata provided by a mirror that has already expired is discarded immediately and the next mirror tried. The update process stops if a requested role cannot be successfully validated, or one of its parents. [2014-04-29 02:00:32,308 UTC] [tuf.download] [INFO] [_download_file:745@download.py] Downloading: http://localhost:8001/metadata/timestamp.json [2014-04-29 02:00:32,324 UTC] [tuf.download] [INFO] [_check_downloaded_length:676@download.py] Downloaded 544 bytes out of an upper limit of 16384 bytes. [2014-04-29 02:00:32,324 UTC] [tuf.client.updater] [INFO] [_get_file:1189@updater.py] Not decompressing http://localhost:8001/metadata/timestamp.json [2014-04-29 02:00:32,331 UTC] [tuf.download] [INFO] [_download_file:745@download.py] Downloading: http://localhost:8001/metadata/snapshot.json [2014-04-29 02:00:32,333 UTC] [tuf.download] [INFO] [_check_downloaded_length:654@download.py] Downloaded 1003 bytes out of the expected 1003 bytes. [2014-04-29 02:00:32,334 UTC] [tuf.client.updater] [INFO] [_get_file:1189@updater.py] Not decompressing http://localhost:8001/metadata/snapshot.json [2014-04-29 02:00:32,334 UTC] [tuf.client.updater] [INFO] [_check_hashes:696@updater.py] The file's sha256 hash is correct: 5b3aec7cf6d27f9e86fb7e439c82e0ec7 [2014-04-29 02:00:32,335 UTC] [tuf.client.updater] [ERROR] [_ensure_not_expired:1789@updater.py] Metadata 'snapshot' expired on Tue Apr 29 01:59:01 2014 (UTC). Do not request, download, and install top-level roles if the root of trust has already expired after the inital load. If requested, update an expired root role: [2014-04-29 01:18:02,457 UTC] [tuf.client.updater] [ERROR] [_ensure_not_expired:1789@updater.py] Metadata 'root' expired on Mon Apr 28 23:23:57 2014 (UTC). [2014-04-29 01:18:02,458 UTC] [tuf.client.updater] [INFO] [refresh:628@updater.py] Expired Root metadata was loaded from disk. Try to update it now. [2014-04-29 01:18:02,458 UTC] [tuf.download] [INFO] [_download_file:745@download.py] Downloading: http://localhost:8001/metadata/root.json [2014-04-29 01:18:02,461 UTC] [tuf.download] [INFO] [_check_downloaded_length:676@download.py] Downloaded 1198 bytes out of an upper limit of 512000 bytes. [2014-04-29 01:18:02,461 UTC] [tuf.client.updater] [INFO] [_get_file:1189@updater.py] Not decompressing http://localhost:8001/metadata/root.json [2014-04-29 01:18:02,462 UTC] [tuf.client.updater] [ERROR] [_ensure_not_expired:1789@updater.py] Metadata 'root' expired on Mon Apr 28 23:23:57 2014 (UTC). Note: An expired 'root' was provided by the server. The requested root must also be signed by keys trusted by the client.
3217 of 3694 relevant lines covered (87.09%)
0.87 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 7.1 | 20 |
87.09 |
Travis Job 7.1 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|---|---|---|---|---|---|---|
0.0 | ...python2.7/site-packages/tuf/client/basic_client.py | 220 | 48 | 0 | 48 | 0.0 | |
79.63 | ...f/.tox/py27/lib/python2.7/site-packages/tuf/log.py | 341 | 54 | 43 | 11 | 1.0 | |
81.08 | ...27/lib/python2.7/site-packages/tuf/ed25519_keys.py | 386 | 74 | 60 | 14 | 1.0 | |
81.22 | ...x/py27/lib/python2.7/site-packages/tuf/download.py | 796 | 213 | 173 | 40 | 1.0 | |
84.11 | ...lib/python2.7/site-packages/tuf/repository_tool.py | 4746 | 1208 | 1016 | 192 | 1.0 | |
85.66 | .../lib/python2.7/site-packages/tuf/client/updater.py | 2700 | 579 | 496 | 83 | 1.0 | |
85.9 | ...7/lib/python2.7/site-packages/tuf/pycrypto_keys.py | 955 | 156 | 134 | 22 | 1.0 | |
89.55 | ...f/.tox/py27/lib/python2.7/site-packages/tuf/sig.py | 308 | 67 | 60 | 7 | 1.0 | |
91.3 | ....tox/py27/lib/python2.7/site-packages/tuf/keydb.py | 270 | 46 | 42 | 4 | 1.0 | |
92.42 | .../.tox/py27/lib/python2.7/site-packages/tuf/util.py | 920 | 211 | 195 | 16 | 1.0 | |
93.33 | ...ox/py27/lib/python2.7/site-packages/tuf/mirrors.py | 117 | 30 | 28 | 2 | 1.0 |