[JIRA] Commented: (HUDSON-2154) Error generating documentation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-2154) Error generating documentation

Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143400#action_143400 ]

tcfujii commented on HUDSON-2154:
---------------------------------

We are seeing it, too, and we're using Hudson 1.384:

[HUDSON] Archiving site from L:\hudson\jobs\aqa_library\workspace\trunk\target\site to L:\hudson\jobs\aqa_library\site
FATAL: Unable to copy site from L:\hudson\jobs\aqa_library\workspace\trunk\target\site to L:\hudson\jobs\aqa_library\site
hudson.util.IOException2: hudson.util.IOException2: Failed to extract L:\hudson\jobs\aqa_library\workspace\trunk\target\site/**/*
        at hudson.FilePath.copyRecursiveTo(FilePath.java:1474)
        at hudson.FilePath.copyRecursiveTo(FilePath.java:1399)
        at hudson.maven.reporters.MavenSiteArchiver.postExecute(MavenSiteArchiver.java:81)
        at hudson.maven.MavenModuleSetBuild$Builder.postExecute(MavenModuleSetBuild.java:828)
        at hudson.maven.MavenBuilder$Adapter.postExecute(MavenBuilder.java:300)
        at hudson.maven.agent.PluginManagerInterceptor$1MojoIntercepterImpl.callPost(PluginManagerInterceptor.java:170)
        at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:183)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at hudson.maven.agent.Main.launch(Main.java:165)
        at hudson.maven.MavenBuilder.call(MavenBuilder.java:165)
        at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:750)
        at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:694)
        at hudson.remoting.UserRequest.perform(UserRequest.java:114)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:270)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.util.concurrent.ExecutionException: hudson.util.IOException2: Failed to extract L:\hudson\jobs\aqa_library\workspace\trunk\target\site/**/*
        at hudson.remoting.Channel$2.adapt(Channel.java:663)
        at hudson.remoting.Channel$2.adapt(Channel.java:658)
        at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
        at hudson.FilePath.copyRecursiveTo(FilePath.java:1472)
        ... 35 more
Caused by: hudson.util.IOException2: Failed to extract L:\hudson\jobs\aqa_library\workspace\trunk\target\site/**/*
        at hudson.FilePath.readFromTar(FilePath.java:1577)
        at hudson.FilePath.access$100(FilePath.java:159)
        at hudson.FilePath$32.invoke(FilePath.java:1463)
        at hudson.FilePath$32.invoke(FilePath.java:1460)
        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899)
        ... 9 more
Caused by: java.util.zip.ZipException: invalid stored block lengths
        at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
        at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92)
        at org.apache.tools.tar.TarBuffer.readBlock(TarBuffer.java:257)
        at org.apache.tools.tar.TarBuffer.readRecord(TarBuffer.java:223)
        at hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:345)
        at java.io.FilterInputStream.read(FilterInputStream.java:90)
        at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
        at org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
        at hudson.util.IOUtils.copy(IOUtils.java:33)
        at hudson.FilePath.readFromTar(FilePath.java:1565)
        ... 13 more


> Error generating documentation
> ------------------------------
>
>                 Key: HUDSON-2154
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-2154
>             Project: Hudson
>          Issue Type: Bug
>          Components: maven2
>    Affects Versions: current
>         Environment: Platform: All, OS: All
>            Reporter: hrcornejo
>         Attachments: hudson error (complete log).txt, hudson error.txt, hudson-2154-stacktrace-v1300.txt, Issue2154.patch, log_issue_2154_hudson_1.275.txt, multimembergzip.patch, stacktrace Not in GZIP format.txt
>
>
> When the documentantion is being generated with maven goal site, aleatory an
> error is thrown:
> --------------------------------------------------
> FATAL: Unable to copy site from {0} to {1}
> hudson.util.IOException2: java.io.IOException: Not in GZIP format
> at hudson.FilePath.copyRecursiveTo(FilePath.java:829)
> at hudson.FilePath.copyRecursiveTo(FilePath.java:763)
> at hudson.maven.reporters.MavenSiteArchiver.postExecute
> (MavenSiteArchiver.java:52)
> at hudson.maven.MavenModuleSetBuild$Builder.postExecute
> (MavenModuleSetBuild.java:589)
> at hudson.maven.MavenBuilder$Adapter.postExecute(MavenBuilder.java:250)
> at hudson.maven.agent.PluginManagerInterceptor$1MojoConfig.callPost
> (PluginManagerInterceptor.java:104)
> at hudson.maven.agent.PluginManagerInterceptor.executeMojo
> (PluginManagerInterceptor.java:137)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> (DefaultLifecycleExecutor.java:558)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:499)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> (DefaultLifecycleExecutor.java:478)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:330)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> (DefaultLifecycleExecutor.java:291)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> (DefaultLifecycleExecutor.java:142)
> at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute
> (LifecycleExecutorInterceptor.java:42)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at hudson.maven.agent.Main.launch(Main.java:133)
> at hudson.maven.MavenBuilder.call(MavenBuilder.java:129)
> at hudson.maven.MavenModuleSetBuild$Builder.call
> (MavenModuleSetBuild.java:528)
> at hudson.maven.MavenModuleSetBuild$Builder.call
> (MavenModuleSetBuild.java:474)
> at hudson.remoting.UserRequest.perform(UserRequest.java:69)
> at hudson.remoting.UserRequest.perform(UserRequest.java:23)
> at hudson.remoting.Request$2.run(Request.java:206)
> at java.util.concurrent.Executors$RunnableAdapter.call
> (Executors.java:417)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
> (ThreadPoolExecutor.java:650)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run
> (ThreadPoolExecutor.java:675)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Not in
> GZIP format
> at hudson.remoting.Channel$1.adapt(Channel.java:425)
> at hudson.remoting.Channel$1.adapt(Channel.java:420)
> at hudson.remoting.FutureAdapter.get(FutureAdapter.java:32)
> at hudson.FilePath.copyRecursiveTo(FilePath.java:827)
> ... 35 more
> Caused by: java.io.IOException: Not in GZIP format
> at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:137)
> at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:58)
> at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:68)
> at hudson.FilePath.readFromTar(FilePath.java:917)
> at hudson.FilePath.access$300(FilePath.java:117)
> at hudson.FilePath$23.invoke(FilePath.java:818)
> at hudson.FilePath$23.invoke(FilePath.java:815)
> at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1122)
> at hudson.remoting.UserRequest.perform(UserRequest.java:69)
> at hudson.remoting.UserRequest.perform(UserRequest.java:23)
> at hudson.remoting.Request$2.run(Request.java:206)
> at java.util.concurrent.Executors$RunnableAdapter.call
> (Executors.java:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
> (ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run
> (ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------
> The problem is related with a jdk (without solution):
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4691425
> But in that post there is a workarround, use a custom class:  
>  - MultiMemberGZIPInputStream
> To solve the issue you can modify the class:
>  - hudson.FilePath
> In the method:
>  - readFromTar
> To use the new custom class avoid to use: GZIPInputStream

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]