maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Parker (JIRA)" <j...@codehaus.org>
Subject [jira] (MASSEMBLY-557) Corrupted zip created by assembly: extracting the zip forgets certain folders (or throws permission denied errors) possibly because zip index is corrupted
Date Wed, 11 Apr 2012 12:43:02 GMT

    [ https://jira.codehaus.org/browse/MASSEMBLY-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296220#comment-296220
] 

Rick Parker commented on MASSEMBLY-557:
---------------------------------------

I think I hit the same or similar problem yesterday.  Same build I've done every day for a
year, but yesterday it created a ZIP file containing a corrupt entry (truncated, and maybe
corrupted as well).  One of the contained files should have been 27MB in size, but was only
about 4MB.  Another assembly containing the same file was not corrupted during the same build,
and the original file brought into the assembly remained intact and 27MB in size.

Version 2.2.1 of the maven-assembly-plugin.  Maybe an important fact if there's a race condition
or something - my PC has 12 cores, 3.33GHz

Other version info:

Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100)
Java version: 1.6.0_29
Java home: C:\Program Files\Java\jdk1.6.0_29\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

(Yes, I know, Windows XP!!)

                
> Corrupted zip created by assembly: extracting the zip forgets certain folders (or throws
permission denied errors) possibly because zip index is corrupted
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-557
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-557
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>            Reporter: Geoffrey De Smet
>            Priority: Critical
>         Attachments: droolsjbpm-integration-distribution-5.2.0.M2_BROKEN_IN_reference_manual_gutted.zip
>
>
> Take a look at the attached zip created by the assembly plugin.
> - If you open it, you can see navigate to the submap /droolsjbpm-integration-distribution-5.2.0.M2/reference_manual/pdf/.
In that map you find the file droolsjbpm-integration-docs.pdf which you can open with a PDF
reader.
> - If instead you extract the entire archive to a directory, and navigate to the submap
/droolsjbpm-integration-distribution-5.2.0.M2/reference_manual/pdf/, you 'll find that that
map is unreadable (chmod 000) and the pdf file is gone.
> The directories html_single and html suffer the same fate, but none of the other directories
do.
> I used the default linux Ubuntu 10.10 archive manager (which according to about screen
is called "File-roller 2.32.0").
> I used Maven 3.0.3, maven-assembly-plugin 2.2.1.
> Note that that attached zip is gutted to stay inside the maximum file upload size.
> Possible reproduce recipe:
> {code}
> git clone git@github.com:droolsjbpm/droolsjbpm-integration.git
> cd droolsjbpm-integration
> git checkout 5.2.0.M2
> mvn clean install -DskipTests -Dfull
> cd droolsjbpm-integration/target
> ls
> {code}
> {code}
> checkdir error:  cannot create /home/gdesmet/tmp/releases/problem_with_the_release_zip/droolsjbpm-integration-distribution-5.2.0.M2/reference_manual/html_single/images
>                  Permission denied
>                  unable to process droolsjbpm-integration-distribution-5.2.0.M2/reference_manual/html_single/images/.
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message