reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Weimer <mar...@weimo.de>
Subject REEF.NET test failures with current master
Date Mon, 04 Apr 2016 22:11:45 GMT
Hi,

I am seeing some test failures when testing the current `master` of 
REEF.NET. All of these failures seem related to file access and 
permissions (see below), which in turn could be caused by 
synchronization issues between the tests.

Hence, I followed Mariia's advise[0] and set the number of parallel 
tests to 1. However, that didn't change anything.

Any advise? Am I the only one hitting these issues?

Thanks,

Markus



[0]: https://github.com/apache/reef/pull/896#issuecomment-205486792


---


`TestGeneratingDriverConfigFileWithoutNameServer` fails with:

```
Test Name: 
Org.Apache.REEF.Tests.Utility.TestDriverConfigGenerator.TestGeneratingDriverConfigFileWithoutNameServer
Test FullName: 
Org.Apache.REEF.Tests.Utility.TestDriverConfigGenerator.TestGeneratingDriverConfigFileWithoutNameServer
Test Source: 
C:\src\reef\lang\cs\Org.Apache.REEF.Tests\Utility\TestDriverConfigGenerator.cs 
: line 76
Test Outcome:	Failed
Test Duration:	0:00:00.242

Result StackTrace:	
at 
Org.Apache.REEF.Driver.Bridge.ClrClientHelper.ExtractConfigfileFromJar(String 
reefJar, IList`1 configFiles, String dropFolder) in 
C:\src\reef\lang\cs\Org.Apache.REEF.Driver\Bridge\ClrClientHelper.cs:line 60
    at 
Org.Apache.REEF.Driver.DriverConfigGenerator.ExtractConfigFromJar(String 
jarfileFolder) in 
C:\src\reef\lang\cs\Org.Apache.REEF.Driver\DriverConfigGenerator.cs:line 154
    at 
Org.Apache.REEF.Driver.DriverConfigGenerator.DriverConfigurationBuilder(DriverConfigurationSettings

driverConfigurationSettings) in 
C:\src\reef\lang\cs\Org.Apache.REEF.Driver\DriverConfigGenerator.cs:line 51
    at 
Org.Apache.REEF.Tests.Utility.TestDriverConfigGenerator.TestGeneratingDriverConfigFileWithoutNameServer()

in 
C:\src\reef\lang\cs\Org.Apache.REEF.Tests\Utility\TestDriverConfigGenerator.cs:line 
88
Result Message:	
System.InvalidOperationException : Failed to extract files from jar file 
with stdout :and stderr:java.util.zip.ZipError: jzentry == 0,
  jzfile = 639209248,
  total = 6070,
  name = .\reef-bridge-java-0.15.0-SNAPSHOT-shaded.jar,
  i = 916,
  message = null
	at java.util.zip.ZipFile$ZipEntryIterator.next(ZipFile.java:520)
	at java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:500)
	at java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:481)
	at sun.tools.jar.Main.extract(Main.java:960)
	at sun.tools.jar.Main.run(Main.java:303)
	at sun.tools.jar.Main.main(Main.java:1233)

```

`TestDosomethingOnContextStartOnLocalRuntime` fails with:

```
Test Name: 
Org.Apache.REEF.Tests.Functional.FaultTolerant.TestContextStart.TestDosomethingOnContextStartOnLocalRuntime
Test FullName: 
Org.Apache.REEF.Tests.Functional.FaultTolerant.TestContextStart.TestDosomethingOnContextStartOnLocalRuntime
Test Source: 
C:\src\reef\lang\cs\Org.Apache.REEF.Tests\Functional\FaultTolerant\TestContextStart.cs 
: line 50
Test Outcome:	Failed
Test Duration:	0:00:01

Result StackTrace:	
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess 
access, Int32 rights, Boolean useRights, FileShare share, Int32 
bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String 
msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess 
access, FileShare share, Int32 bufferSize, FileOptions options, String 
msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
    at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, 
Boolean checkHost)
    at 
Org.Apache.REEF.Client.Common.DriverFolderPreparationHelper.CreateDefaultFolderStructure(AppParameters

appParameters, String driverFolderPath) in 
C:\src\reef\lang\cs\Org.Apache.REEF.Client\Common\DriverFolderPreparationHelper.cs:line 
134
    at 
Org.Apache.REEF.Client.Common.DriverFolderPreparationHelper.PrepareDriverFolder(AppParameters

appParameters, String driverFolderPath) in 
C:\src\reef\lang\cs\Org.Apache.REEF.Client\Common\DriverFolderPreparationHelper.cs:line 
79
    at 
Org.Apache.REEF.Client.Local.LocalClient.PrepareDriverFolder(JobRequest 
jobRequest) in 
C:\src\reef\lang\cs\Org.Apache.REEF.Client\Local\LocalClient.cs:line 153
    at 
Org.Apache.REEF.Client.Local.LocalClient.SubmitAndGetJobStatus(JobRequest jobRequest) 
in C:\src\reef\lang\cs\Org.Apache.REEF.Client\Local\LocalClient.cs:line 175
    at 
Org.Apache.REEF.Tests.Functional.ReefFunctionalTest.TestRun(IConfiguration 
driverConfig, Type globalAssemblyType, Int32 numberOfEvaluator, String 
jobIdentifier, String runOnYarn, String runtimeFolder) in 
C:\src\reef\lang\cs\Org.Apache.REEF.Tests\Functional\ReefFunctionalTest.cs:line 
346
    at 
Org.Apache.REEF.Tests.Functional.FaultTolerant.TestContextStart.TestDosomethingOnContextStartOnLocalRuntime()

in 
C:\src\reef\lang\cs\Org.Apache.REEF.Tests\Functional\FaultTolerant\TestContextStart.cs:line

52
Result Message:	System.IO.IOException : The process cannot access the 
file 
'C:\src\reef\lang\cs\bin\x64\Debug\Org.Apache.REEF.Tests\reef-bridge-client-0.15.0-SNAPSHOT-shaded.jar'

because it is being used by another process.
```

and `TestStopTaskOnLocalRuntimeWithNullMessage` fails with:

```
Test Name: 
Org.Apache.REEF.Tests.Functional.Bridge.TestCloseTask.TestStopTaskOnLocalRuntimeWithNullMessage
Test FullName: 
Org.Apache.REEF.Tests.Functional.Bridge.TestCloseTask.TestStopTaskOnLocalRuntimeWithNullMessage
Test Source: 
C:\src\reef\lang\cs\Org.Apache.REEF.Tests\Functional\Bridge\TestCloseTask.cs 
: line 116
Test Outcome:	Failed
Test Duration:	0:00:14.432

Result StackTrace:	
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, 
Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
    at System.IO.Directory.Delete(String fullPath, String userPath, 
Boolean recursive, Boolean checkHost)
    at 
Org.Apache.REEF.Tests.Functional.ReefFunctionalTest.CleanUp(String 
testFolder) in 
C:\src\reef\lang\cs\Org.Apache.REEF.Tests\Functional\ReefFunctionalTest.cs:line 
136
    at 
Org.Apache.REEF.Tests.Functional.Bridge.TestCloseTask.TestStopTaskOnLocalRuntimeWithNullMessage()

in 
C:\src\reef\lang\cs\Org.Apache.REEF.Tests\Functional\Bridge\TestCloseTask.cs:line 
124
Result Message:	System.UnauthorizedAccessException : Access to the path 
'Org.Apache.REEF.Bridge.exe' is denied.
```


Mime
View raw message