You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2016/04/05 02:50:25 UTC
[jira] [Resolved] (REEF-1293) Fix test failures during file
extraction from jar
[ https://issues.apache.org/jira/browse/REEF-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Weimer resolved REEF-1293.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.15
Resolved via [#923|https://github.com/apache/reef/pull/923]
> Fix test failures during file extraction from jar
> -------------------------------------------------
>
> Key: REEF-1293
> URL: https://issues.apache.org/jira/browse/REEF-1293
> Project: REEF
> Issue Type: Improvement
> Components: REEF.NET
> Reporter: Mariia Mykhailova
> Assignee: Mariia Mykhailova
> Fix For: 0.15
>
>
> Our .NET tests often fail with message
> {noformat}
> Test Name: Org.Apache.REEF.Tests.Utility.TestDriverConfigGenerator.TestGeneratingFullDriverConfigFile
> Result Message:
> System.InvalidOperationException : Failed to extract files from jar file with stdout :and stderr:java.util.zip.ZipError: jzentry == 0,
> jzfile = 1364566832,
> total = 6067,
> name = .\reef-bridge-java-0.15.0-SNAPSHOT-shaded.jar,
> i = 3922,
> message = null
> at java.util.zip.ZipFile$1.nextElement(ZipFile.java:505)
> at java.util.zip.ZipFile$1.nextElement(ZipFile.java:483)
> at sun.tools.jar.Main.extract(Main.java:951)
> at sun.tools.jar.Main.run(Main.java:258)
> at sun.tools.jar.Main.main(Main.java:1231)
> {noformat}
> I suspect that since our tests extract .jar file each for itself, when some of them run in parallel, one can try and get information while the other one is re-extracting the file. We should clarify/fix the way we're extracting .jar files so that they are extracted only once per run and no test gets them broken.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)