reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariia Mykhailova (JIRA)" <j...@apache.org>
Subject [jira] [Created] (REEF-1293) Fix test failures during file extraction from jar
Date Tue, 29 Mar 2016 00:17:25 GMT
Mariia Mykhailova created REEF-1293:
---------------------------------------

             Summary: 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


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)

Mime
View raw message