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] [Commented] (REEF-1228) Fix TestDriverConfigGenerator failure on the first test run
Date Mon, 29 Feb 2016 22:15:19 GMT

    [ https://issues.apache.org/jira/browse/REEF-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172722#comment-15172722
] 

Mariia Mykhailova commented on REEF-1228:
-----------------------------------------

I took a look, and it seems this failure is introduced in REEF-1197 ([commit {{f91b09b}}|https://github.com/apache/reef/commit/f91b09bd20c50bb573e7a022933b298fc917cfe6]).
Prior to that change (commit {{0357e4f}}), {{reef-bridge-java-0.14.0-shaded.jar}} was binplaced
to {{bin\x64\Debug\O.A.R.Tests}} during build phase. After that change, it is not placed there
during build; instead, it is placed at some point during tests execution, but by that time
{{TestDriverConfigGenerator}} has already failed.

This change removes target {{CopyJarFiles}} from AfterBuild phase of O.A.R.Tests project,
and made only O.A.R.Client project dependent on it. [~beysims], could you double-check the
behavior of jar copying in this project?

> 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
>            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)

Mime
View raw message