Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If I remove r1 in remakerings scripts got executed.

Then If i run

~/swift/.unittests (error is below) startmain (error Unable to locate config file for main-server. /etc/swift/main-server.conf does not exist?)

[root@localhost ~]# ~/swift/.unittests

E

ERROR: Failure: ImportError (No module named pbr.version)

Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 382, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/root/swift/test/__init__.py", line 37, in <module> import swift File "/root/swift/swift/__init__.py", line 19, in <module> import pbr.version ImportError: No module named pbr.version

Name Stmts Exec Cover Missing

/root/swift/swift/__init__ 10 3 30% 22-32 /root/swift/test/__init__ 33 5 15% 23-34, 38-77 /usr/lib/python2.7/site-packages/nose/case 195 50 25% 5-26, 29, 34, 43, 46, 49, 52-55, 60-61, 65, 70-71, 75-97, 104-114, 133-137, 141, 149, 152, 155, 173, 177-383 /usr/lib/python2.7/site-packages/nose/core 154 22 14% 3-32, 35, 40, 46, 52, 57, 64-170, 180, 184, 195, 197-322 /usr/lib/python2.7/site-packages/nose/failure 22 9 40% 1-20, 28, 32-35, 39 /usr/lib/python2.7/site-packages/nose/importer 92 44 47% 7-21, 23, 26, 35, 41, 52, 66, 77-84, 89, 91-123, 132, 146-147, 151-154 /usr/lib/python2.7/site-packages/nose/loader 331 37 11% 9-55, 76, 83-84, 94-326, 341, 354-365, 371, 387, 392-433, 441, 447-579 /usr/lib/python2.7/site-packages/nose/plugins/capture 53 14 26% 12-54, 60-65, 70, 80-92, 97, 101-107, 111 /usr/lib/python2.7/site-packages/nose/plugins/cover 164 3 1% 13-150, 157-291 /usr/lib/python2.7/site-packages/nose/plugins/errorclass 65 10 15% 95-139, 142, 145-147, 149, 156-215 /usr/lib/python2.7/site-packages/nose/plugins/logcapture 120 15 12% 18-82, 84-167, 171-177, 191-204, 209, 214-219, 226-229, 233-234 /usr/lib/python2.7/site-packages/nose/plugins/manager 261 39 14% 47-81, 84-85, 92, 95, 103-104, 107, 124, 140, 144-157, 163-165, 173-177, 181-239, 247-448 /usr/lib/python2.7/site-packages/nose/proxy 101 40 39% 18-29, 31-42, 44, 49, 61, 63, 67-77, 79, 85-88, 99, 103-105, 109-111, 116, 124-154, 159-162, 168-174 /usr/lib/python2.7/site-packages/nose/result 132 33 25% 11-36, 42, 46-54, 62-64, 70-74, 80, 84-86, 91-96, 100, 107, 112-154, 161-181, 185, 189-199 /usr/lib/python2.7/site-packages/nose/selector 134 22 16% 9-34, 36, 39, 47-221, 223, 230-231, 243, 246-250 /usr/lib/python2.7/site-packages/nose/suite 392 156 39% 10-49, 54-66, 70-77, 81-92, 98-101, 105, 109-110, 115-145, 151, 159-171, 175, 178-196, 206, 209-214, 218-219, 228-267, 271-272, 274-275, 278, 293-295, 299, 304, 316-321, 324-327, 331-332, 342-343, 352-354, 358, 370, 375-392, 394, 397, 408, 424-425, 428, 436, 441, 444-447, 453, 455, 461, 464-465, 470, 485-535, 538-539, 546, 554-602

/usr/lib/python2.7/site-packages/nose/util 352 62 17% 3-139, 150-176, 184-193, 216, 220-255, 287, 290, 304-319, 336-339, 348, 367-462, 472-489, 494, 500, 502, 505, 509-528, 540, 544, 550-675

TOTAL 2611 564 21%

Ran 1 test in 0.003s

FAILED (errors=1) /root [root@localhost ~]# startmain Unable to locate config file for main-server. /etc/swift/main-server.conf does not exist?