reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariia Mykhailova (JIRA)" <>
Subject [jira] [Commented] (REEF-1228) Fix TestDriverConfigGenerator failure on the first test run
Date Mon, 29 Feb 2016 22:15:19 GMT


Mariia Mykhailova commented on REEF-1228:

I took a look, and it seems this failure is introduced in REEF-1197 ([commit {{f91b09b}}|]).
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:
>             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,
> {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 .\reef-bridge-java-0.14.0-shaded.jar
> at Method)
> at<init>(
> at<init>(
> at<init>(
> at
> at
> at
> {code}

This message was sent by Atlassian JIRA

View raw message