Bug #1599

ununpack failure on fossology.usa.hp.com due to "filename too long" error

Added by Mary Laser about 1 year ago. Updated about 1 year ago.

Status:Rejected Start date:03/19/2012
Priority:High Due date:
Assignee:Bob Gobeille % Done:

0%

Category:Unpack
Target version:2.0.0
Rank: Tester:

Description

Test case is very large. please download it from fo.usa:/root/bad_central_directory.unpacked.tar

This error occurs on fo.usa running 1.4.1. Please apply fix to FO 2.0, as well.

bane:/srv/fossology/repository/ununpack/0/bbde1406d8b51996b1e2fc971e6e1fbd0b075d33.96b8c884526b228950fe014a057ec0c9..dir# /usr/lib/fossology/agents/ununpack -d bad_central_directory.unpacked -R erlang.unpacked/erlang_13.b.3-dfsg.oriir/erlang_13.b.3-dfsg.orig.tar.dir/otp_src_R13B03/lib/stdlib/test/
ERROR: Unable to mmap file (erlang.unpacked/erlang_13.b.3-dfsg.orig.tar.gz.dir/erlang_13.b.3-dfsg.orig.tar.dir/otp_slib/stdlib/test/)
warning: filename too long--truncating.
[ xxxxxxxUT^E ]
Unable to run command 'unzip -Zhzv 'erlang.unpacked/erlang_13.b.3-dfsg.orig.tar.gz.dir/erlang_13.b.3-dfsg.orig.tar.d_R13B03/lib/stdlib/test/zip_SUITE_data/bad_central_directory.zip' > 'erlang.unpacked/erlang_13.b.3-dfsg.orig.tar.gz._13.b.3-dfsg.orig.tar.dir/otp_src_R13B03/lib/stdlib/test/zip_SUITE_data/bad_central_directory.zip.meta''
ERROR pfile (null) Command unzip failed
LOG pfile (null) ERROR Command unzip failed: erlang.unpacked/erlang_13.b.3-dfsg.orig.tar.gz.dir/erlang_13.b.3-dfsg.or/otp_src_R13B03/lib/stdlib/test/zip_SUITE_data/bad_central_directory.zip
FATAL: Child had non-zero status: 51
FATAL: Child was to recurse on bad_central_directory.unpacked/bad_central_directory.zip.dir

History

Updated by Mary Laser about 1 year ago

  • Description updated (diff)

/stdlib# /usr/lib/fossology/agents/ununpack -d bad_test_directory.unpacked -R test/
ERROR: Unable to mmap file (test/)
warning: filename too long--truncating.
[ xxxxxxxUT^E ]
Unable to run command 'unzip -Zhzv 'test/zip_SUITE_data/bad_central_directory.zip' > 'test/zip_SUITE_data/bad_central_directory.zip.meta''
ERROR pfile (null) Command unzip failed
LOG pfile (null) ERROR Command unzip failed: test/zip_SUITE_data/bad_central_directory.zip
FATAL: Child had non-zero status: 51
FATAL: Child was to recurse on bad_test_directory.unpacked/bad_central_directory.zip.dir
bane:/srv/fossology/repository/ununpack/0/bbde1406d8b51996b1e2fc971e6e1fbd0b075d33.96b8c884526b228950fe014a057ec0c9.3922780160.dir/erlang.unpacked/erlang_13.b.3-dfsg.orig.tar.gz.dir/erlang_13.b.3-dfsg.orig.tar.dir/otp_src_R13B03/lib/stdlib#

Updated by Bob Gobeille about 1 year ago

test case is ldl.fc.hp.com:~/laser/test.tar

Updated by Bob Gobeille about 1 year ago

  • Status changed from New to Rejected

The test that found this failure was:
/usr/lib/fossology/agents/ununpack -d bad_test_directory.unpacked -R test/
and what failed was a test file of a .zip with a bad header.

However, the scheduler always runs with -C to continue after failures like this. I tested with -C and this test case runs to completion. So I'm rejecting this issue.

Also available in: Atom PDF