Opened at 2010-07-18T06:35:03Z
Closed at 2010-07-20T03:31:41Z
#1123 closed defect (fixed)
unit tests getting unicode when they expect str
Reported by: | zooko | Owned by: | zooko |
---|---|---|---|
Priority: | major | Milestone: | 1.7.1 |
Component: | code | Version: | 1.7.0 |
Keywords: | unicode | Cc: | |
Launchpad Bug: |
Description
Since this isn't happening on any other buildslaves, I assume it is a misconfiguration of my personal laptop, zomp. It did got from green to red between build 41 and build 42 though. I will look into it in the morning.
[FAIL]: allmydata.test.test_dirnode.Dirnode.test_create_subdirectory Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_dirnode.py", line 1180, in _check_kids self.failUnlessReallyEqual(kids2[u"kid2"][1]["metakey"], "metavalue") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'metavalue', b :: 'metavalue', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_dirnode.Dirnode.test_immutable Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_dirnode.py", line 244, in _check_kids self.failUnlessReallyEqual(two_metadata["metakey"], "metavalue") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'metavalue', b :: 'metavalue', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_dirnode.Dirnode.test_initial_children Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_dirnode.py", line 130, in _check_kids self.failUnlessReallyEqual(two_metadata["metakey"], "metavalue") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'metavalue', b :: 'metavalue', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Grid.test_deep_check Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 3745, in _done self.failUnlessReallyEqual(u0["type"], "directory") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'directory', b :: 'directory', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Grid.test_deep_check_and_repair Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 3925, in _done self.failUnlessReallyEqual(u0["type"], "directory") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'directory', b :: 'directory', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Grid.test_filecheck Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 3226, in _got_json_good self.failUnlessReallyEqual(r["summary"], "Healthy") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'Healthy', b :: 'Healthy', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Grid.test_immutable_unknown Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 3475, in _check_directory_json self.failUnlessReallyEqual(data[0], "dirnode") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'dirnode', b :: 'dirnode', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Grid.test_mutant_dirnodes_are_omitted Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 3678, in _check_json self.failUnlessReallyEqual(data[0], "dirnode") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'dirnode', b :: 'dirnode', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Grid.test_repair_json Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 3416, in _got_json_sick "Not Healthy: 9 shares (enc 3-of-10)") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'Not Healthy: 9 shares (enc 3-of-10)', b :: 'Not Healthy: 9 shares (enc 3-of-10)', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Grid.test_unknown Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 3475, in _check_directory_json self.failUnlessReallyEqual(data[0], "dirnode") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'dirnode', b :: 'dirnode', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_GET_DIRURL_json Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 228, in failUnlessIsFooJSON self.failUnlessReallyEqual(data[0], "dirnode", res) File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'dirnode', b :: 'dirnode', '[\n "dirnode", \n {\n "rw_uri": "URI:DIR2:lrjsjbiy34goh6lzdy7dsveupm:kb4mtpurb4hvgmyk2bvatdlex4w46th2xyabypq4nxyq7y5kpada", \n "verify_uri": "URI:DIR2-Verifier:rqus2rjz3uqa4lu5nrskwprrja:kb4mtpurb4hvgmyk2bvatdlex4w46th2xyabypq4nxyq7y5kpada", \n "ro_uri": "URI:DIR2-RO:4yhe6cvwwaphw3f4qvugw7ykb4:kb4mtpurb4hvgmyk2bvatdlex4w46th2xyabypq4nxyq7y5kpada", \n "children": {\n "n\\u00fc.txt": [\n "filenode", \n {\n "mutable": false, \n "verify_uri": "URI:CHK-Verifier:qiorlliasaheukw4tjjlrqp3um:3rjmi7ggwbewazzhn6qwhbb73ru6tgdad4fta624m6t2dgcl5r3a:3:10:19", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433021.690105, \n "linkcrtime": 1279433021.690105\n }\n }, \n "ro_uri": "URI:CHK:xftg3pqalhjxcsw4nwknwlei2e:3rjmi7ggwbewazzhn6qwhbb73ru6tgdad4fta624m6t2dgcl5r3a:3:10:19", \n "size": 19\n }\n ], \n "bar.txt": [\n "filenode", \n {\n "mutable": false, \n "verify_uri": "URI:CHK-Verifier:qiorlliasaheukw4tjjlrqp3um:3rjmi7ggwbewazzhn6qwhbb73ru6tgdad4fta624m6t2dgcl5r3a:3:10:19", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433021.657161, \n "linkcrtime": 1279433021.657161\n }\n }, \n "ro_uri": "URI:CHK:xftg3pqalhjxcsw4nwknwlei2e:3rjmi7ggwbewazzhn6qwhbb73ru6tgdad4fta624m6t2dgcl5r3a:3:10:19", \n "size": 19\n }\n ], \n "sub": [\n "dirnode", \n {\n "mutable": true, \n "verify_uri": "URI:DIR2-Verifier:jtwkjauklawpid7uvsqjeppypy:f6x2vla4vs4evbqhyovmmo4u4tharn4bvolsdb5uimuehtyh4nuq", \n "ro_uri": "URI:DIR2-RO:nzl7w55mdrep4dzh5fpijesypq:f6x2vla4vs4evbqhyovmmo4u4tharn4bvolsdb5uimuehtyh4nuq", \n "rw_uri": "URI:DIR2:iaatxwywcutepvbv2hnf5acw3y:f6x2vla4vs4evbqhyovmmo4u4tharn4bvolsdb5uimuehtyh4nuq", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433021.673943, \n "linkcrtime": 1279433021.673943\n }\n }\n }\n ], \n "empty": [\n "dirnode", \n {\n "mutable": true, \n "verify_uri": "URI:DIR2-Verifier:jpjsubpuvlrj6qo7tvlfqms2ee:lvvbvwrkku7bwoa4tht7eh7ot22h3x7oxdbecvmogjdssy6uk4xa", \n "ro_uri": "URI:DIR2-RO:elvrkueckiq6w52qvmca3jrqke:lvvbvwrkku7bwoa4tht7eh7ot22h3x7oxdbecvmogjdssy6uk4xa", \n "rw_uri": "URI:DIR2:r3kkubtgr2itpi6nc64io4eysa:lvvbvwrkku7bwoa4tht7eh7ot22h3x7oxdbecvmogjdssy6uk4xa", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433021.6633439, \n "linkcrtime": 1279433021.6633439\n }\n }\n }\n ], \n "blockingfile": [\n "filenode", \n {\n "mutable": false, \n "verify_uri": "URI:CHK-Verifier:djtsk4zbsrslahlgcy4xyzbi24:jwnboyojjvkqe7cwsequkip26zvutcaki5qulqgokmw64teryuaq:3:10:19", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433021.6835461, \n "linkcrtime": 1279433021.6835461\n }\n }, \n "ro_uri": "URI:CHK:nivgu7j25vo6fe7xflortg3lhi:jwnboyojjvkqe7cwsequkip26zvutcaki5qulqgokmw64teryuaq:3:10:19", \n "size": 19\n }\n ]\n }, \n "mutable": true\n }\n]\n' not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_GET_FILEURL_json Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 953, in _check1 self.failUnlessIsBarJSON(data) File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 217, in failUnlessIsBarJSON self.failUnlessReallyEqual(data[0], "filenode") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'filenode', b :: 'filenode', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_GET_URI_URL_dir Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 228, in failUnlessIsFooJSON self.failUnlessReallyEqual(data[0], "dirnode", res) File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'dirnode', b :: 'dirnode', '[\n "dirnode", \n {\n "rw_uri": "URI:DIR2:ikjvggiag5zenvwxe2o6p2nse4:rwjngpdxm7q6str7ha6fm574vjh75qabffytydzg7dtghwq2bg2a", \n "verify_uri": "URI:DIR2-Verifier:vjwgnusk7lrmxsnlnymk4watiu:rwjngpdxm7q6str7ha6fm574vjh75qabffytydzg7dtghwq2bg2a", \n "ro_uri": "URI:DIR2-RO:ce4pohva4kk56go3pi3jstxu5a:rwjngpdxm7q6str7ha6fm574vjh75qabffytydzg7dtghwq2bg2a", \n "children": {\n "n\\u00fc.txt": [\n "filenode", \n {\n "mutable": false, \n "verify_uri": "URI:CHK-Verifier:f4byo2yzjdeuyflhfvxz7hbk7i:5f52arnr3cc65jetp6xloyux2gtrnv5faufy3bxyfwsff5rmptka:3:10:19", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433049.883801, \n "linkcrtime": 1279433049.883801\n }\n }, \n "ro_uri": "URI:CHK:jhc62hnxonedu5iansx2qrnolq:5f52arnr3cc65jetp6xloyux2gtrnv5faufy3bxyfwsff5rmptka:3:10:19", \n "size": 19\n }\n ], \n "bar.txt": [\n "filenode", \n {\n "mutable": false, \n "verify_uri": "URI:CHK-Verifier:f4byo2yzjdeuyflhfvxz7hbk7i:5f52arnr3cc65jetp6xloyux2gtrnv5faufy3bxyfwsff5rmptka:3:10:19", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433049.8577681, \n "linkcrtime": 1279433049.8577681\n }\n }, \n "ro_uri": "URI:CHK:jhc62hnxonedu5iansx2qrnolq:5f52arnr3cc65jetp6xloyux2gtrnv5faufy3bxyfwsff5rmptka:3:10:19", \n "size": 19\n }\n ], \n "sub": [\n "dirnode", \n {\n "mutable": true, \n "verify_uri": "URI:DIR2-Verifier:vlfg2qvolhqupt6zmxexu74swy:wayu367rjzpmsto7owmgt7zjfxb5vycwshoogv6flcknm4xrv63a", \n "ro_uri": "URI:DIR2-RO:ttisf4bidvsrmf2b5vdq6p7nxm:wayu367rjzpmsto7owmgt7zjfxb5vycwshoogv6flcknm4xrv63a", \n "rw_uri": "URI:DIR2:ztnjq6dk6da7ra2p2ansgjkbw4:wayu367rjzpmsto7owmgt7zjfxb5vycwshoogv6flcknm4xrv63a", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433049.8687041, \n "linkcrtime": 1279433049.8687041\n }\n }\n }\n ], \n "empty": [\n "dirnode", \n {\n "mutable": true, \n "verify_uri": "URI:DIR2-Verifier:rboiufujinpprwdgkwepvahnrq:bn35gwty2ziggrvh7mqpqbuoypjkrlqyhf4d45gjblxxczwj7qmq", \n "ro_uri": "URI:DIR2-RO:bt4iaymrgc6xikyigrlfg4u3cm:bn35gwty2ziggrvh7mqpqbuoypjkrlqyhf4d45gjblxxczwj7qmq", \n "rw_uri": "URI:DIR2:y3aqwoxqok2zwy3nfmaiuqicj4:bn35gwty2ziggrvh7mqpqbuoypjkrlqyhf4d45gjblxxczwj7qmq", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433049.8625619, \n "linkcrtime": 1279433049.8625619\n }\n }\n }\n ], \n "blockingfile": [\n "filenode", \n {\n "mutable": false, \n "verify_uri": "URI:CHK-Verifier:7svvhbtepyhu7tmdcjim4d4gu4:qjvvppmo7ybvvvp74rmp2bqqx3y3beyysccvu3xqpexqb6gj6gha:3:10:19", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433049.8768151, \n "linkcrtime": 1279433049.8768151\n }\n }, \n "ro_uri": "URI:CHK:d44iuwnt3zipsumwof5qh2yjbi:qjvvppmo7ybvvvp74rmp2bqqx3y3beyysccvu3xqpexqb6gj6gha:3:10:19", \n "size": 19\n }\n ]\n }, \n "mutable": true\n }\n]\n' not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_GET_URI_form Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 228, in failUnlessIsFooJSON self.failUnlessReallyEqual(data[0], "dirnode", res) File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'dirnode', b :: 'dirnode', '[\n "dirnode", \n {\n "rw_uri": "URI:DIR2:dfbjur5rlqu37votwulkiyv2iy:cecw4c4ny7tcqsv24xmzswrnvp2lzsgdri6i4p5wxdw4bpc3fl6a", \n "verify_uri": "URI:DIR2-Verifier:2mekjhs32pmmmeoe75fw3sueaq:cecw4c4ny7tcqsv24xmzswrnvp2lzsgdri6i4p5wxdw4bpc3fl6a", \n "ro_uri": "URI:DIR2-RO:cixa65x6s22u3fpdymcaq4wtwa:cecw4c4ny7tcqsv24xmzswrnvp2lzsgdri6i4p5wxdw4bpc3fl6a", \n "children": {\n "n\\u00fc.txt": [\n "filenode", \n {\n "mutable": false, \n "verify_uri": "URI:CHK-Verifier:irr6hkrevyv24ejish3xcrfrqy:jvwubcshsfvb7ng33fien64wppuwprkcaov5tdkye2mvnutrzcfa:3:10:19", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433052.7487819, \n "linkcrtime": 1279433052.7487819\n }\n }, \n "ro_uri": "URI:CHK:nk66jbpwsze62szlkusu2jpp54:jvwubcshsfvb7ng33fien64wppuwprkcaov5tdkye2mvnutrzcfa:3:10:19", \n "size": 19\n }\n ], \n "bar.txt": [\n "filenode", \n {\n "mutable": false, \n "verify_uri": "URI:CHK-Verifier:irr6hkrevyv24ejish3xcrfrqy:jvwubcshsfvb7ng33fien64wppuwprkcaov5tdkye2mvnutrzcfa:3:10:19", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433052.724612, \n "linkcrtime": 1279433052.724612\n }\n }, \n "ro_uri": "URI:CHK:nk66jbpwsze62szlkusu2jpp54:jvwubcshsfvb7ng33fien64wppuwprkcaov5tdkye2mvnutrzcfa:3:10:19", \n "size": 19\n }\n ], \n "sub": [\n "dirnode", \n {\n "mutable": true, \n "verify_uri": "URI:DIR2-Verifier:qayrsdc7afwv4dljolntmuwm6u:nt63fisu6twuzugx7lrjj7sqgfuh7kdxhk2ijjhezsitrpce4bha", \n "ro_uri": "URI:DIR2-RO:ufzcovyynccoehjgzfdmtikhgm:nt63fisu6twuzugx7lrjj7sqgfuh7kdxhk2ijjhezsitrpce4bha", \n "rw_uri": "URI:DIR2:pf7wisfd6dxlaa2hbrw62zxn3q:nt63fisu6twuzugx7lrjj7sqgfuh7kdxhk2ijjhezsitrpce4bha", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433052.735579, \n "linkcrtime": 1279433052.735579\n }\n }\n }\n ], \n "empty": [\n "dirnode", \n {\n "mutable": true, \n "verify_uri": "URI:DIR2-Verifier:3hio7o7strycmr2shfwwadkura:ktrwdp7yyrijautgnsqkotn4qoguqhmdvpb4edlqnb74uznqxztq", \n "ro_uri": "URI:DIR2-RO:kkykgjuvzs25ynut4k3e3vcp3e:ktrwdp7yyrijautgnsqkotn4qoguqhmdvpb4edlqnb74uznqxztq", \n "rw_uri": "URI:DIR2:fikzjkvpysdbxsil644prpfg2y:ktrwdp7yyrijautgnsqkotn4qoguqhmdvpb4edlqnb74uznqxztq", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433052.7293701, \n "linkcrtime": 1279433052.7293701\n }\n }\n }\n ], \n "blockingfile": [\n "filenode", \n {\n "mutable": false, \n "verify_uri": "URI:CHK-Verifier:z5kvo323lhyfds2gxmork6q3ji:gvec3fzzagn4rqcxq57j4tnnhzczlnscwvi2tkijugswi2kv7npq:3:10:19", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433052.7432871, \n "linkcrtime": 1279433052.7432871\n }\n }, \n "ro_uri": "URI:CHK:tssfq5g2njnrnyz7tli6dufgge:gvec3fzzagn4rqcxq57j4tnnhzczlnscwvi2tkijugswi2kv7npq:3:10:19", \n "size": 19\n }\n ]\n }, \n "mutable": true\n }\n]\n' not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_POST_DIRURL_deepcheck Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 2086, in _check_foo_json self.failUnlessReallyEqual(data["storage-index"], foo_si_s) File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'574doik75ebme6dvdjpynzurny', b :: '574doik75ebme6dvdjpynzurny', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_POST_DIRURL_manifest Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 1135, in _got_json self.failUnlessReallyEqual(got[(u"sub",)], self._sub_uri) File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'URI:DIR2:ulx7n62wsuem6noetidzwbhnqa:tpu6n34b4u63uly3tjxdhwmbphyjcmmg7zzotbi6mmrnx3nu4npq', b :: 'URI:DIR2:ulx7n62wsuem6noetidzwbhnqa:tpu6n34b4u63uly3tjxdhwmbphyjcmmg7zzotbi6mmrnx3nu4npq', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_POST_DIRURL_stream_manifest Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 1214, in _check self.failUnlessReallyEqual(units[-1]["type"], "stats") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'stats', b :: 'stats', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_POST_rename_dir Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 228, in failUnlessIsFooJSON self.failUnlessReallyEqual(data[0], "dirnode", res) File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'dirnode', b :: 'dirnode', '[\n "dirnode", \n {\n "rw_uri": "URI:DIR2:wrcut3azljqi6qfi7agrnu53gi:rph4cewngkcckqu2vz7qlzlnagb5pq22ipmhjijinqkeauejgqkq", \n "verify_uri": "URI:DIR2-Verifier:3iahq5cgp5mpljvs2pdhsbyiiy:rph4cewngkcckqu2vz7qlzlnagb5pq22ipmhjijinqkeauejgqkq", \n "ro_uri": "URI:DIR2-RO:cqszi44sjrbafrn6e7mkgqrvla:rph4cewngkcckqu2vz7qlzlnagb5pq22ipmhjijinqkeauejgqkq", \n "children": {\n "n\\u00fc.txt": [\n "filenode", \n {\n "mutable": false, \n "verify_uri": "URI:CHK-Verifier:xnga6oid4pypyrrxd5qkc2pxie:fthxr7az3k3b6r6jos3g77vst3y5mcayclqnb6vbkm2str2ygczq:3:10:19", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433138.1977689, \n "linkcrtime": 1279433138.1977689\n }\n }, \n "ro_uri": "URI:CHK:647kaxanfinybr4oe4nlemi7ze:fthxr7az3k3b6r6jos3g77vst3y5mcayclqnb6vbkm2str2ygczq:3:10:19", \n "size": 19\n }\n ], \n "bar.txt": [\n "filenode", \n {\n "mutable": false, \n "verify_uri": "URI:CHK-Verifier:xnga6oid4pypyrrxd5qkc2pxie:fthxr7az3k3b6r6jos3g77vst3y5mcayclqnb6vbkm2str2ygczq:3:10:19", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433138.1724629, \n "linkcrtime": 1279433138.1724629\n }\n }, \n "ro_uri": "URI:CHK:647kaxanfinybr4oe4nlemi7ze:fthxr7az3k3b6r6jos3g77vst3y5mcayclqnb6vbkm2str2ygczq:3:10:19", \n "size": 19\n }\n ], \n "sub": [\n "dirnode", \n {\n "mutable": true, \n "verify_uri": "URI:DIR2-Verifier:jzvtrqlfly64stejzxdabw2piu:cjidszsdl4yospdu47vbwy7vu5nfupcvkyqxkmoaczcl6woptwtq", \n "ro_uri": "URI:DIR2-RO:5wjowagk3fzouzk6pzmgvtytfm:cjidszsdl4yospdu47vbwy7vu5nfupcvkyqxkmoaczcl6woptwtq", \n "rw_uri": "URI:DIR2:2pxcr6jx6n4lydkbeex4slxnau:cjidszsdl4yospdu47vbwy7vu5nfupcvkyqxkmoaczcl6woptwtq", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433138.183785, \n "linkcrtime": 1279433138.183785\n }\n }\n }\n ], \n "empty": [\n "dirnode", \n {\n "mutable": true, \n "verify_uri": "URI:DIR2-Verifier:tnmel7jf5ulp6lie4ia4r4kyiy:fdo2y5orcgqic4l23cwerqp7oolnwxsjgroxxcmivfzhm653qyiq", \n "ro_uri": "URI:DIR2-RO:kbp3rj3qpq5mtq6uv6vvnbal7q:fdo2y5orcgqic4l23cwerqp7oolnwxsjgroxxcmivfzhm653qyiq", \n "rw_uri": "URI:DIR2:bqsxw2onlayigwtpnqyq4l7xbe:fdo2y5orcgqic4l23cwerqp7oolnwxsjgroxxcmivfzhm653qyiq", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433138.1772201, \n "linkcrtime": 1279433138.1772201\n }\n }\n }\n ], \n "blockingfile": [\n "filenode", \n {\n "mutable": false, \n "verify_uri": "URI:CHK-Verifier:5zewtrgywqqdqc77kfovefqrpa:cqlviru2oox4vkq62xy77rmjijjk5wmvlcnvgvzruwvxb7czafkq:3:10:19", \n "metadata": {\n "tahoe": {\n "linkmotime": 1279433138.191551, \n "linkcrtime": 1279433138.191551\n }\n }, \n "ro_uri": "URI:CHK:qnvpbfddniw5rdqkwrnefal4om:cqlviru2oox4vkq62xy77rmjijjk5wmvlcnvgvzruwvxb7czafkq:3:10:19", \n "size": 19\n }\n ]\n }, \n "mutable": true\n }\n]\n' not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_POST_rename_file Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 217, in failUnlessIsBarJSON self.failUnlessReallyEqual(data[0], "filenode") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'filenode', b :: 'filenode', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_POST_rename_file_no_replace_field Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 2641, in failUnlessIsEmptyJSON self.failUnlessReallyEqual(data[0], "dirnode", data) File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'dirnode', b :: 'dirnode', [u'dirnode', {u'ro_uri': u'URI:DIR2-RO:g4pp333e6axkg2talfj5qiezfa:7cs2rjkd4nfrjhxnhlddwk2f6fmr2b5bvh3wgtkz7aolqchjn2ta', u'verify_uri': u'URI:DIR2-Verifier:vha7ydbtabt5efsyu6pqwcmzoi:7cs2rjkd4nfrjhxnhlddwk2f6fmr2b5bvh3wgtkz7aolqchjn2ta', u'rw_uri': u'URI:DIR2:6lzuycl4teghfackw746fdukue:7cs2rjkd4nfrjhxnhlddwk2f6fmr2b5bvh3wgtkz7aolqchjn2ta', u'children': {}, u'mutable': True}] not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_POST_rename_file_no_replace_queryarg Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 2641, in failUnlessIsEmptyJSON self.failUnlessReallyEqual(data[0], "dirnode", data) File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'dirnode', b :: 'dirnode', [u'dirnode', {u'ro_uri': u'URI:DIR2-RO:gysfmlw75aels534duwbwhivxa:qr7sfjlxi7s3ph2hco4ig6qmhyaa3mc6oqt2wl4oe3jmu6lazfuq', u'verify_uri': u'URI:DIR2-Verifier:ydfmd7cspva2duhewpw4adw7tq:qr7sfjlxi7s3ph2hco4ig6qmhyaa3mc6oqt2wl4oe3jmu6lazfuq', u'rw_uri': u'URI:DIR2:iurrekoex7xezz43ihjfjd53ya:qr7sfjlxi7s3ph2hco4ig6qmhyaa3mc6oqt2wl4oe3jmu6lazfuq', u'children': {}, u'mutable': True}] not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_POST_rename_file_redundant Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 217, in failUnlessIsBarJSON self.failUnlessReallyEqual(data[0], "filenode") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'filenode', b :: 'filenode', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_POST_rename_file_replace Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 217, in failUnlessIsBarJSON self.failUnlessReallyEqual(data[0], "filenode") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'filenode', b :: 'filenode', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_POST_upload_mutable Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 1728, in _check_page_json self.failUnlessReallyEqual(parsed[0], "dirnode") File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'dirnode', b :: 'dirnode', None not equal: a = <type 'unicode'> b = <type 'str'> =============================================================================== [FAIL]: allmydata.test.test_web.Web.test_PUT_mkdir Traceback (most recent call last): File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/test_web.py", line 2641, in failUnlessIsEmptyJSON self.failUnlessReallyEqual(data[0], "dirnode", data) File "/Users/tahoebuildslave/Zooko zomp Mac-amd64 10.6 py2.6/build/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg)) twisted.trial.unittest.FailTest: a :: u'dirnode', b :: 'dirnode', [u'dirnode', {u'ro_uri': u'URI:DIR2-RO:oifiimln6v44lhmzp2i33sxq6u:m3cvgivbo547m6na6sv5wvm6dsathzz4ayfggxa3k4cy7ydrcqvq', u'verify_uri': u'URI:DIR2-Verifier:5jipntgtrjrlfpujg4ot7fys6i:m3cvgivbo547m6na6sv5wvm6dsathzz4ayfggxa3k4cy7ydrcqvq', u'rw_uri': u'URI:DIR2:64towv6qab2kjgr4mezr2w5bzi:m3cvgivbo547m6na6sv5wvm6dsathzz4ayfggxa3k4cy7ydrcqvq', u'children': {}, u'mutable': True}] not equal: a = <type 'unicode'> b = <type 'str'>
Change History (1)
comment:1 Changed at 2010-07-20T03:31:41Z by davidsarah
- Component changed from unknown to code
- Milestone changed from undecided to 1.7.1
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
This was caused by d346e0853d9b0b4b and fixed in 74c41ebb8bb772c2.