Portlet validation build downloads and unpacks a Liferay bundle, but the task sometimes fails, stopping the build
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.0.0:run (download-files) on project liferay-tests-generic: An Ant BuildException has occured: Error while expanding /opt/agent/work/f3bcb2f27369e6b8/vaadin-portlet-liferay-integration-tests/liferay-tests-generic/target/liferay.tar.gz
[02:43:17][ERROR] java.io.EOFException: Unexpected end of ZLIB input stream
[02:43:17][ERROR] around Ant part ...<untar src="/opt/agent/work/f3bcb2f27369e6b8/vaadin-portlet-liferay-integration-tests/liferay-tests-generic/target/liferay.tar.gz" compression="gzip" dest="/opt/agent/work/f3bcb2f27369e6b8/vaadin-portlet-liferay-integration-tests/liferay-tests-generic/target" />... @ 5:267 in /opt/agent/work/f3bcb2f27369e6b8/vaadin-portlet-liferay-integration-tests/liferay-tests-generic/target/antrun/build-setup-liferay.xml
[02:43:17][ERROR] -> [Help 1]
[02:43:17]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.0.0:run (download-files) on project liferay-tests-generic: An Ant BuildException has occured: Error while expanding /opt/agent/work/f3bcb2f27369e6b8/vaadin-portlet-liferay-integration-tests/liferay-tests-generic/target/liferay.tar.gz
[02:43:17]java.io.EOFException: Unexpected end of ZLIB input stream
[02:43:17]around Ant part ...<untar src="/opt/agent/work/f3bcb2f27369e6b8/vaadin-portlet-liferay-integration-tests/liferay-tests-generic/target/liferay.tar.gz" compression="gzip" dest="/opt/agent/work/f3bcb2f27369e6b8/vaadin-portlet-liferay-integration-tests/liferay-tests-generic/target" />... @ 5:267 in /opt/agent/work/f3bcb2f27369e6b8/vaadin-portlet-liferay-integration-tests/liferay-tests-generic/target/antrun/build-setup-liferay.xml
[02:43:17] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
[02:43:17] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
[02:43:17] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
[02:43:17] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[02:43:17] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[02:43:17] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[02:43:17] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[02:43:17] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[02:43:17] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[02:43:17] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[02:43:17] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
[02:43:17] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
[02:43:17] at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
[02:43:17] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[02:43:17] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[02:43:17] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[02:43:17] at java.lang.reflect.Method.invoke (Method.java:498)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[02:43:17]Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant BuildException has occured: Error while expanding /opt/agent/work/f3bcb2f27369e6b8/vaadin-portlet-liferay-integration-tests/liferay-tests-generic/target/liferay.tar.gz
[02:43:17]java.io.EOFException: Unexpected end of ZLIB input stream
[02:43:17]around Ant part ...<untar src="/opt/agent/work/f3bcb2f27369e6b8/vaadin-portlet-liferay-integration-tests/liferay-tests-generic/target/liferay.tar.gz" compression="gzip" dest="/opt/agent/work/f3bcb2f27369e6b8/vaadin-portlet-liferay-integration-tests/liferay-tests-generic/target" />... @ 5:267 in /opt/agent/work/f3bcb2f27369e6b8/vaadin-portlet-liferay-integration-tests/liferay-tests-generic/target/antrun/build-setup-liferay.xml
[02:43:17] at org.apache.maven.plugins.antrun.AntRunMojo.execute (AntRunMojo.java:308)
[02:43:17] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[02:43:17] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
[02:43:17] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
[02:43:17] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
[02:43:17] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[02:43:17] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[02:43:17] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[02:43:17] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[02:43:17] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[02:43:17] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[02:43:17] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[02:43:17] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
[02:43:17] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
[02:43:17] at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
[02:43:17] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[02:43:17] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[02:43:17] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[02:43:17] at java.lang.reflect.Method.invoke (Method.java:498)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[02:43:17]Caused by: org.apache.tools.ant.BuildException: Error while expanding /opt/agent/work/f3bcb2f27369e6b8/vaadin-portlet-liferay-integration-tests/liferay-tests-generic/target/liferay.tar.gz
[02:43:17]java.io.EOFException: Unexpected end of ZLIB input stream
[02:43:17] at org.apache.tools.ant.taskdefs.Untar.expandFile (Untar.java:110)
[02:43:17] at org.apache.tools.ant.taskdefs.Expand.execute (Expand.java:152)
[02:43:17] at org.apache.tools.ant.UnknownElement.execute (UnknownElement.java:293)
[02:43:17] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[02:43:17] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[02:43:17] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[02:43:17] at java.lang.reflect.Method.invoke (Method.java:498)
[02:43:17] at org.apache.tools.ant.dispatch.DispatchUtils.execute (DispatchUtils.java:106)
[02:43:17] at org.apache.tools.ant.Task.perform (Task.java:352)
[02:43:17] at org.apache.tools.ant.Target.execute (Target.java:437)
[02:43:17] at org.apache.tools.ant.Target.performTasks (Target.java:458)
[02:43:17] at org.apache.tools.ant.Project.executeSortedTargets (Project.java:1406)
[02:43:17] at org.apache.tools.ant.Project.executeTarget (Project.java:1377)
[02:43:17] at org.apache.maven.plugins.antrun.AntRunMojo.execute (AntRunMojo.java:287)
[02:43:17] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[02:43:17] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
[02:43:17] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
[02:43:17] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
[02:43:17] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[02:43:17] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[02:43:17] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[02:43:17] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[02:43:17] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[02:43:17] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[02:43:17] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[02:43:17] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
[02:43:17] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
[02:43:17] at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
[02:43:17] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[02:43:17] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[02:43:17] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[02:43:17] at java.lang.reflect.Method.invoke (Method.java:498)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[02:43:17]Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
[02:43:17] at java.util.zip.InflaterInputStream.fill (InflaterInputStream.java:240)
[02:43:17] at java.util.zip.InflaterInputStream.read (InflaterInputStream.java:158)
[02:43:17] at java.util.zip.GZIPInputStream.read (GZIPInputStream.java:117)
[02:43:17] at org.apache.tools.tar.TarBuffer.readBlock (TarBuffer.java:253)
[02:43:17] at org.apache.tools.tar.TarBuffer.readRecord (TarBuffer.java:220)
[02:43:17] at org.apache.tools.tar.TarInputStream.read (TarInputStream.java:603)
[02:43:17] at java.io.FilterInputStream.read (FilterInputStream.java:107)
[02:43:17] at org.apache.tools.ant.taskdefs.Expand.extractFile (Expand.java:368)
[02:43:17] at org.apache.tools.ant.taskdefs.Untar.expandStream (Untar.java:160)
[02:43:17] at org.apache.tools.ant.taskdefs.Untar.expandFile (Untar.java:106)
[02:43:17] at org.apache.tools.ant.taskdefs.Expand.execute (Expand.java:152)
[02:43:17] at org.apache.tools.ant.UnknownElement.execute (UnknownElement.java:293)
[02:43:17] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[02:43:17] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[02:43:17] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[02:43:17] at java.lang.reflect.Method.invoke (Method.java:498)
[02:43:17] at org.apache.tools.ant.dispatch.DispatchUtils.execute (DispatchUtils.java:106)
[02:43:17] at org.apache.tools.ant.Task.perform (Task.java:352)
[02:43:17] at org.apache.tools.ant.Target.execute (Target.java:437)
[02:43:17] at org.apache.tools.ant.Target.performTasks (Target.java:458)
[02:43:17] at org.apache.tools.ant.Project.executeSortedTargets (Project.java:1406)
[02:43:17] at org.apache.tools.ant.Project.executeTarget (Project.java:1377)
[02:43:17] at org.apache.maven.plugins.antrun.AntRunMojo.execute (AntRunMojo.java:287)
[02:43:17] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[02:43:17] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
[02:43:17] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
[02:43:17] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
[02:43:17] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[02:43:17] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[02:43:17] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[02:43:17] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[02:43:17] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[02:43:17] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[02:43:17] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[02:43:17] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
[02:43:17] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
[02:43:17] at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
[02:43:17] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[02:43:17] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[02:43:17] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[02:43:17] at java.lang.reflect.Method.invoke (Method.java:498)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
[02:43:17] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Portlet validation build downloads and unpacks a Liferay bundle, but the task sometimes fails, stopping the build