New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_list() of test_tarfile fails on #64871
Comments
http://buildbot.python.org/all/builders/PPC64%20AIX%203.x/builds/1728/steps/test/logs/stdio ====================================================================== Traceback (most recent call last):
File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_tarfile.py", line 244, in test_list
br'\udcc4\udcd6\udcdc\udce4\udcf6\udcfc\udcdf', out)
AssertionError: b'ustar/umlauts-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf' not found in b'ustar/conttype \nustar/regtype \nustar/dirtype/ \nustar/dirtype-with-size/ \nustar/lnktype \nustar/symtype \nustar/blktype \nustar/chrtype \nustar/fifotype \nustar/sparse \nustar/umlauts-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \nustar/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/1234567/longname \n./ustar/linktest2/symtype \nustar/linktest1/regtype \n./ustar/linktest2/lnktype \nsymtype2 \ngnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \ngnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink \ngnu/sparse \ngnu/sparse-0.0 \ngnu/sparse-0.1 \ngnu/sparse-1.0 \ngnu/regtype-gnu-uid \nmisc/regtype-old-v7 \nmisc/regtype-hpux-signed-chksum-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \nmisc/regtype-old-v7-signed-chksum-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \nmisc/dirtype-old-v7/ \nmisc/regtype-suntar \nmisc/regtype-xstar \npax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \npax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink \npax/umlauts-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \npax/regtype1 \npax/regtype2 \npax/regtype3 \npax/regtype4 \npax/bad-pax-\\xe4\\xf6\\xfc \npax/hdrcharset-\\xe4\\xf6\\xfc \nmisc/eof \n' ====================================================================== Traceback (most recent call last):
File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_tarfile.py", line 244, in test_list
br'\udcc4\udcd6\udcdc\udce4\udcf6\udcfc\udcdf', out)
AssertionError: b'ustar/umlauts-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf' not found in b'ustar/conttype \nustar/regtype \nustar/dirtype/ \nustar/dirtype-with-size/ \nustar/lnktype \nustar/symtype \nustar/blktype \nustar/chrtype \nustar/fifotype \nustar/sparse \nustar/umlauts-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \nustar/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/1234567/longname \n./ustar/linktest2/symtype \nustar/linktest1/regtype \n./ustar/linktest2/lnktype \nsymtype2 \ngnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \ngnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink \ngnu/sparse \ngnu/sparse-0.0 \ngnu/sparse-0.1 \ngnu/sparse-1.0 \ngnu/regtype-gnu-uid \nmisc/regtype-old-v7 \nmisc/regtype-hpux-signed-chksum-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \nmisc/regtype-old-v7-signed-chksum-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \nmisc/dirtype-old-v7/ \nmisc/regtype-suntar \nmisc/regtype-xstar \npax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \npax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink \npax/umlauts-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \npax/regtype1 \npax/regtype2 \npax/regtype3 \npax/regtype4 \npax/bad-pax-\\xe4\\xf6\\xfc \npax/hdrcharset-\\xe4\\xf6\\xfc \nmisc/eof \n' ====================================================================== Traceback (most recent call last):
File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_tarfile.py", line 244, in test_list
br'\udcc4\udcd6\udcdc\udce4\udcf6\udcfc\udcdf', out)
AssertionError: b'ustar/umlauts-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf' not found in b'ustar/conttype \nustar/regtype \nustar/dirtype/ \nustar/dirtype-with-size/ \nustar/lnktype \nustar/symtype \nustar/blktype \nustar/chrtype \nustar/fifotype \nustar/sparse \nustar/umlauts-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \nustar/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/1234567/longname \n./ustar/linktest2/symtype \nustar/linktest1/regtype \n./ustar/linktest2/lnktype \nsymtype2 \ngnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \ngnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink \ngnu/sparse \ngnu/sparse-0.0 \ngnu/sparse-0.1 \ngnu/sparse-1.0 \ngnu/regtype-gnu-uid \nmisc/regtype-old-v7 \nmisc/regtype-hpux-signed-chksum-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \nmisc/regtype-old-v7-signed-chksum-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \nmisc/dirtype-old-v7/ \nmisc/regtype-suntar \nmisc/regtype-xstar \npax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \npax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink \npax/umlauts-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \npax/regtype1 \npax/regtype2 \npax/regtype3 \npax/regtype4 \npax/bad-pax-\\xe4\\xf6\\xfc \npax/hdrcharset-\\xe4\\xf6\\xfc \nmisc/eof \n' |
Another different failure. http://buildbot.python.org/all/builders/System%20Z%20Linux%203.x/builds/1302/steps/test/logs/stdio ====================================================================== Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-zlinux-z/build/Lib/test/test_tarfile.py", line 1916, in test_list_command_verbose
self.assertEqual(out, expected)
AssertionError: b'?rw[39 chars]-01-05 18:19:43 ustar/conttype \n?rw-r--r-- ta[6470 chars]f \n' != b'?rw[39 chars]-01-06 00:19:43 ustar/conttype \n?rw-r--r-- ta[6470 chars]f \n' |
This is bpo-20220. |
This failure can be reproduced on Linux: LANG=en_US.ISO8859-1 ./python -Wall -m test.regrtest -vG -m test_list test_tarfile Tarfile use filesystem encoding by default (and UTF-8 on Windows). This test expected the UTF-8 encoding. Here is a patch which fixes the test. |
New changeset b508cbc29acf by Serhiy Storchaka in branch '3.3': New changeset 13d27bad7393 by Serhiy Storchaka in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: