You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Mariia Mykhailova (JIRA)" <ji...@apache.org> on 2016/03/01 01:38:18 UTC
[jira] [Commented] (REEF-1228) Fix TestDriverConfigGenerator
failure on the first test run
[ https://issues.apache.org/jira/browse/REEF-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172986#comment-15172986 ]
Mariia Mykhailova commented on REEF-1228:
-----------------------------------------
[~beysims] explained that our intention was to move away from copying jar files via msbuild. Instead we're embedding them as a resource in dll and then extracting them. Other tests in O.A.R.Tests extract .jar, but {{TestDriverConfigGenerator}} does not.
I'm looking into how best to fix this.
> Fix TestDriverConfigGenerator failure on the first test run
> -----------------------------------------------------------
>
> Key: REEF-1228
> URL: https://issues.apache.org/jira/browse/REEF-1228
> Project: REEF
> Issue Type: Bug
> Components: REEF.NET
> Environment: Windows 10 with VS 2013 Community Edition.
> Reporter: Dongjoon Hyun
> Assignee: Mariia Mykhailova
> Priority: Blocker
>
> After cloning REEF repository, Org.Apache.REEF.Tests.Utility.TestDriverConfigGenerator fails always at the first test run.
> From the second run, all tests passes. After cleaning and rebuilding, all test passes, too.
> {code}
> Test Name: Org.Apache.REEF.Tests.Utility.TestDriverConfigGenerator.TestGeneratingDriverConfigFileDriverOnly
> Test FullName: Org.Apache.REEF.Tests.Utility.TestDriverConfigGenerator.TestGeneratingDriverConfigFileDriverOnly
> Test Source: c:\Users\dongjoon\Downloads\apache-reef-0.14.0\lang\cs\Org.Apache.REEF.Tests\Utility\TestDriverConfigGenerator.cs : line 79
> Test Outcome: Failed
> Test Duration: 0:00:00.115
> Result Message:
> System.InvalidOperationException : Failed to extract files from jar file with stdout :and stderr:java.io.FileNotFoundException: .\reef-bridge-java-0.14.0-shaded.jar
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:219)
> at java.util.zip.ZipFile.<init>(ZipFile.java:149)
> at java.util.zip.ZipFile.<init>(ZipFile.java:120)
> at sun.tools.jar.Main.extract(Main.java:1004)
> at sun.tools.jar.Main.run(Main.java:305)
> at sun.tools.jar.Main.main(Main.java:1288)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)