Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created February 26, 2015 18:42
Show Gist options
  • Save notmyname/5545cde4d726cfa2ce32 to your computer and use it in GitHub Desktop.
Save notmyname/5545cde4d726cfa2ce32 to your computer and use it in GitHub Desktop.
swift icehouse functests
swift@saio:~/swift$ tox -e func
func develop-inst-nodeps: /home/swift/swift
func runtests: commands[0] | nosetests test/functional
TestAccount
test_account_acls OK 0.43
test_admin_acl OK 0.20
test_bad_metadata OK 0.10
test_bad_metadata2 OK 0.13
test_bad_metadata3 OK 0.10
test_invalid_acl_keys OK 0.08
test_invalid_acl_values OK 0.07
test_invalid_acls OK 0.05
test_metadata OK 0.12
test_multi_metadata OK 0.10
test_protected_tempurl OK 0.27
test_read_only_acl OK 0.17
test_read_write_acl OK 0.11
test_swift_account_acls OK 0.17
test_swift_prohibits_garbage_account_acls OK 0.12
test_unicode_metadata OK 0.14
TestContainer
test_POST_bad_metadata OK 0.16
test_POST_bad_metadata2 OK 0.17
test_POST_bad_metadata3 OK 0.14
test_POST_metadata OK 0.19
test_PUT_bad_metadata OK 0.60
test_PUT_metadata OK 0.33
test_admin_acl_listing OK 0.39
test_admin_acl_metadata OK 0.30
test_cross_account_container OK 0.18
test_cross_account_public_container OK 0.31
test_long_name_content_type OK 0.10
test_multi_metadata OK 0.15
test_nonadmin_user OK 0.25
test_null_name OK 0.10
test_protected_container_acl OK 0.37
test_protected_container_sync OK 0.37
test_public_container OK 0.34
test_read_only_acl_listings OK 0.26
test_read_only_acl_metadata OK 0.25
test_read_write_acl_listings OK 0.39
test_read_write_acl_metadata OK 0.33
test_unicode_metadata OK 0.20
TestObject
test_admin OK 0.39
test_copy_object OK 0.34
test_cors OK 0.39
test_delete_content_type OK 0.22
test_delete_if_delete_at_bad OK 0.26
test_if_none_match OK 0.24
test_manifest OK 1.40
test_null_name OK 0.18
test_private_object OK 0.41
test_public_object OK 0.37
test_read_only OK 0.31
test_read_write OK 0.38
TestAccount
testAccountHead OK 0.54
testContainerListing OK 0.04
testContainerSerializedInfo OK 6.08
testContainersOrderedByName OK 0.03
testInvalidAuthToken OK 0.05
testInvalidPath OK 0.00
testInvalidUTF8Path OK 0.00
testLastContainerMarker OK 0.06
testListingLimit OK 0.07
testMarkerLimitContainerList OK 0.35
testNoAuthToken OK 0.10
testPUT OK 0.01
testQuotedWWWAuthenticateHeader OK 0.02
testVersionOnlyPath OK 0.00
TestAccountNoContainers
testGetRequest OK 5.67
TestAccountNoContainersUTF8
testGetRequest OK 0.05
TestAccountUTF8
testAccountHead OK 0.50
testContainerListing OK 0.04
testContainerSerializedInfo OK 7.51
testContainersOrderedByName OK 0.03
testInvalidAuthToken OK 0.05
testInvalidPath OK 0.00
testInvalidUTF8Path OK 0.01
testLastContainerMarker OK 0.06
testListingLimit OK 0.08
testMarkerLimitContainerList OK 0.35
testNoAuthToken OK 0.09
testPUT OK 0.00
testQuotedWWWAuthenticateHeader OK 0.02
testVersionOnlyPath OK 0.00
TestContainer
testContainerExistenceCachingProblem OK 7.20
testContainerFileList OK 0.05
testContainerFileListOnContainerThatDoesNotExist OK 0.04
testContainerFileListWithLimit OK 0.04
testContainerInfo OK 0.01
testContainerInfoOnContainerThatDoesNotExist OK 0.01
testContainerNameLimit OK 0.21
testCreate OK 0.06
testCreateOnExisting OK 0.09
testDelete OK 0.11
testDeleteOnContainerThatDoesNotExist OK 0.01
testDeleteOnContainerWithFiles OK 0.11
testFileCreateInContainerThatDoesNotExist OK 0.02
testFileListingLimitMarkerPrefix OK 1.07
testFileOrder OK 0.03
testFileThenContainerDelete OK 0.18
testLastFileMarker OK 0.06
testMarkerLimitFileList OK 0.35
testPrefixAndLimit OK 1.10
testSlashInName OK 0.03
testTooLongName OK 0.00
testUtf8Container OK 0.12
TestContainerPaths
testContainerListing OK 3.54
testStructure OK 0.12
testTraverseContainer OK 0.16
TestContainerUTF8
testContainerExistenceCachingProblem OK 1.59
testContainerFileList OK 0.04
testContainerFileListOnContainerThatDoesNotExist OK 0.04
testContainerFileListWithLimit OK 0.03
testContainerInfo OK 0.01
testContainerInfoOnContainerThatDoesNotExist OK 0.05
testContainerNameLimit OK 0.20
testCreate OK 0.06
testCreateOnExisting OK 0.09
testDelete OK 0.11
testDeleteOnContainerThatDoesNotExist OK 0.01
testDeleteOnContainerWithFiles OK 0.11
testFileCreateInContainerThatDoesNotExist OK 0.02
testFileListingLimitMarkerPrefix OK 1.16
testFileOrder OK 0.03
testFileThenContainerDelete OK 0.19
testLastFileMarker OK 0.06
testMarkerLimitFileList OK 0.38
testPrefixAndLimit OK 1.16
testSlashInName OK 0.03
testTooLongName OK 0.00
testUtf8Container OK 0.11
TestDlo
test_copy OK 2.80
test_copy_manifest OK 0.12
test_dlo_if_match_get OK 0.10
test_dlo_if_match_head OK 0.07
test_dlo_if_none_match_get OK 0.08
test_dlo_if_none_match_head OK 0.04
test_get_manifest OK 0.16
test_get_manifest_document_itself OK 0.01
test_get_range OK 0.07
test_get_range_out_of_range OK 0.01
TestDloUTF8
test_copy OK 1.10
test_copy_manifest OK 0.14
test_dlo_if_match_get OK 0.10
test_dlo_if_match_head OK 0.07
test_dlo_if_none_match_get OK 0.08
test_dlo_if_none_match_head OK 0.05
test_get_manifest OK 0.17
test_get_manifest_document_itself OK 0.01
test_get_range OK 0.07
test_get_range_out_of_range OK 0.02
TestFile
testBadHeaders OK 0.53
testBlankMetadataName OK 0.01
testChunkedPut OK 0.45
testContentTypeGuessing OK 0.15
testCopy OK 0.46
testCopy404s OK 0.25
testCopyDestinationSlashProblems OK 0.05
testCopyFromHeader OK 0.37
testCopyFromHeader404s OK 0.14
testCopyNoDestinationHeader OK 0.04
testDelete OK 0.08
testDeleteOfFileThatDoesNotExist OK 0.04
testDeleteThen404s OK 0.12
testEtagResponse OK 0.03
testEtagWayoff OK 0.02
testFileCreate OK 0.43
testFileSizeLimit OK 12.03
testGetContentType OK 0.04
testGetOnFileThatDoesNotExist OK 0.04
testHead OK 0.04
testHeadOnFileThatDoesNotExist OK 0.04
testMetadataLengthLimits OK 0.35
testMetadataNumberLimit OK 0.53
testMetadataOnPost OK 0.69
testMetadataOnPut OK 0.43
testNameLimit OK 0.15
testNoContentLengthForPut OK 0.00
testPostOnFileThatDoesNotExist OK 0.03
testQuestionMarkInName OK 0.10
testRangedGets OK 0.35
testRangedGetsWithLWSinHeader OK 0.09
testSerialization OK 0.28
testStackedOverwrite OK 0.68
testTooLongName OK 0.00
testZeroByteFile OK 0.06
TestFileComparison
testIfMatch OK 3.72
testIfMatchAndUnmodified OK 0.87
testIfModifiedSince OK 0.29
testIfNoneMatch OK 0.30
testIfUnmodifiedSince OK 0.47
testLastModified OK 0.08
TestFileComparisonUTF8
testIfMatch OK 1.93
testIfMatchAndUnmodified OK 0.83
testIfModifiedSince OK 0.34
testIfNoneMatch OK 0.35
testIfUnmodifiedSince OK 0.51
testLastModified OK 0.06
TestFileUTF8
testBadHeaders OK 0.81
testBlankMetadataName OK 0.01
testChunkedPut OK 0.49
testContentTypeGuessing OK 0.16
testCopy OK 0.52
testCopy404s OK 0.32
testCopyDestinationSlashProblems OK 0.05
testCopyFromHeader OK 0.41
testCopyFromHeader404s OK 0.16
testCopyNoDestinationHeader OK 0.05
testDelete OK 0.09
testDeleteOfFileThatDoesNotExist OK 0.04
testDeleteThen404s OK 0.14
testEtagResponse OK 0.04
testEtagWayoff OK 0.03
testFileCreate OK 0.46
testFileSizeLimit OK 12.02
testGetContentType OK 0.05
testGetOnFileThatDoesNotExist OK 0.03
testHead OK 0.03
testHeadOnFileThatDoesNotExist OK 0.03
testMetadataLengthLimits OK 0.28
testMetadataNumberLimit OK 0.57
testMetadataOnPost OK 0.74
testMetadataOnPut OK 0.51
testNameLimit OK 0.17
testNoContentLengthForPut OK 0.00
testPostOnFileThatDoesNotExist OK 0.03
testQuestionMarkInName OK 0.08
testRangedGets OK 0.33
testRangedGetsWithLWSinHeader OK 0.09
testSerialization OK 0.28
testStackedOverwrite OK 0.65
testTooLongName OK 0.00
testZeroByteFile OK 0.06
TestObjectVersioning
test_overwriting OK 0.60
TestObjectVersioningUTF8
test_overwriting OK 0.63
TestSlo
test_slo_copy OK 3.88
test_slo_copy_the_manifest OK 0.06
test_slo_etag_is_hash_of_etags OK 0.03
test_slo_etag_is_hash_of_etags_submanifests OK 0.03
test_slo_etag_mismatch OK 0.01
test_slo_get_nested_manifest OK 0.12
test_slo_get_simple_manifest OK 0.10
test_slo_get_the_manifest OK 0.01
test_slo_head_the_manifest OK 0.01
test_slo_if_match_get OK 0.15
test_slo_if_match_head OK 0.06
test_slo_if_none_match_get OK 0.12
test_slo_if_none_match_head OK 0.04
test_slo_ranged_get OK 0.05
test_slo_ranged_submanifest OK 0.06
test_slo_size_mismatch OK 0.01
TestSloTempurl
test_GET OK 0.77
TestSloTempurlUTF8
test_GET OK 0.64
TestSloUTF8
test_slo_copy OK 1.26
test_slo_copy_the_manifest OK 0.06
test_slo_etag_is_hash_of_etags OK 0.03
test_slo_etag_is_hash_of_etags_submanifests OK 0.03
test_slo_etag_mismatch OK 0.01
test_slo_get_nested_manifest OK 0.12
test_slo_get_simple_manifest OK 0.11
test_slo_get_the_manifest OK 0.01
test_slo_head_the_manifest OK 0.01
test_slo_if_match_get OK 0.16
test_slo_if_match_head OK 0.06
test_slo_if_none_match_get OK 0.13
test_slo_if_none_match_head OK 0.04
test_slo_ranged_get OK 0.05
test_slo_ranged_submanifest OK 0.06
test_slo_size_mismatch OK 0.01
TestTempurl
test_GET OK 0.55
test_GET_with_key_2 OK 0.01
test_HEAD OK 0.06
test_PUT OK 0.05
test_changing_expires OK 0.06
test_changing_sig OK 0.06
test_different_object OK 0.05
TestTempurlUTF8
test_GET OK 0.34
test_GET_with_key_2 OK 0.01
test_HEAD OK 0.06
test_PUT OK 0.05
test_changing_expires OK 0.06
test_changing_sig OK 0.07
test_different_object OK 0.06
Name Stmts Miss Branch BrMiss Cover Missing
-------------------------------------------------------------------------
swift 14 6 0 0 57% 28-34, 41
swift.common 0 0 0 0 100%
swift.common.constraints 106 60 43 38 34% 105-139, 154-174, 188-191, 201-205, 217-228, 242-248
swift.common.exceptions 105 46 26 26 45% 22-23, 26, 56-57, 123, 143-153, 156-189
swift.common.http 77 5 0 0 94% 24, 34, 44, 54, 64
swift.common.middleware 0 0 0 0 100%
swift.common.middleware.acl 89 75 55 53 11% 88-117, 136-139, 175, 180, 194-202, 216-224, 238-244, 260-272, 285-294
swift.common.swob 656 449 250 250 23% 118, 122, 137-143, 146-152, 168, 171, 187-190, 193, 208, 211-216, 219, 222-227, 230, 233, 236-242, 251-253, 256-261, 264, 267-272, 275, 278, 281, 284-286, 289, 301, 304-311, 325-330, 333-338, 352-355, 358-361, 374-375, 378, 392-393, 396-400, 413, 416-421, 441-445, 448, 487-512, 515-523, 553-586, 596-601, 604, 626, 629-658, 667-677, 680, 689, 692-695, 708-710, 713-714, 725-735, 768-769, 783-832, 837-843, 849-852, 857, 868-870, 875, 878, 886-895, 901-907, 916-927, 936-937, 960, 976-1002, 1006, 1010, 1014-1021, 1043-1065, 1072-1094, 1097-1183, 1189-1191, 1200-1206, 1210, 1232-1240, 1246-1247, 1256-1272
swift.common.utils 1308 1038 537 508 16% 45-46, 99, 112-113, 117-118, 120, 125-127, 143, 165-174, 189-199, 213-231, 243, 252-260, 264, 268-271, 280-287, 291, 296-301, 310-312, 315, 321-328, 338-355, 365-383, 393-405, 416-417, 423-436, 441-451, 456, 467-476, 485-491, 500-503, 515-521, 537, 560, 570-575, 586-591, 615-638, 650-660, 674-677, 680, 683-688, 703-704, 707, 710-711, 719, 725, 728-733, 736, 739, 742, 745, 748, 751, 754, 757, 760, 766-773, 776-783, 786-798, 801, 804, 807, 810, 813, 816, 820-821, 831-849, 858-864, 867-869, 883-885, 889-890, 894, 898-899, 903, 907, 911, 914, 920-922, 931, 934, 937-963, 972-973, 990-991, 1009-1039, 1068-1181, 1200-1206, 1215-1227, 1237-1264, 1280-1312, 1321-1338, 1350, 1363-1374, 1396-1411, 1426-1451, 1463, 1475-1482, 1495-1497, 1507-1513, 1525-1528, 1540, 1544-1548, 1568, 1572, 1576, 1580-1581, 1586-1588, 1591, 1595-1599, 1615-1622, 1639-1663, 1673-1682, 1690-1693, 1711-1750, 1774-1796, 1803, 1806-1807, 1829-1831, 1834-1837, 1843-1844, 1853-1860, 1863, 1866-1872, 1880-1885, 1889-1894, 1904, 1924-1966, 1990-2022, 2043-2072, 2077-2083, 2090-2098, 2107-2120, 2131-2155, 2159-2164, 2179-2184, 2201-2203, 2213-2218, 2226, 2240-2245, 2254-2257, 2265-2267, 2276-2279, 2288, 2291, 2294-2297, 2308-2318, 2330-2332, 2339-2345, 2352-2358, 2365-2373, 2386-2424, 2435-2445, 2455-2474, 2491-2502, 2509-2519, 2535-2538, 2547-2550, 2562-2587, 2610-2618, 2626-2636, 2643
-------------------------------------------------------------------------
TOTAL 2355 1679 911 875 22%
Slowest 5 tests took 44.84 secs:
12.03 TestFile.testFileSizeLimit
12.02 TestFileUTF8.testFileSizeLimit
7.51 TestAccountUTF8.testContainerSerializedInfo
7.20 TestContainer.testContainerExistenceCachingProblem
6.08 TestAccount.testContainerSerializedInfo
----------------------------------------------------------------------
Ran 279 tests in 120.320s
OK
______________________________________________________________________ summary _______________________________________________________________________
func: commands succeeded
congratulations :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment