Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-215

Tests fail on Window machines configured to prevent symbolic links

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.11
    • REEF
    • None

    Description

      The tests currently fail on Windows machines configured not to allow symbolic links. That is somewhat common in the enterprise setting and we should address it. The build failure is:

      Powered by
           ___________  ______  ______  _______
          /  ______  / /  ___/ /  ___/ /  ____/
         /     _____/ /  /__  /  /__  /  /___
        /  /\  \     /  ___/ /  ___/ /  ____/
       /  /  \  \   /  /__  /  /__  /  /
      /__/    \__\ /_____/ /_____/ /__/
      
      Mar 19, 2015 5:12:55 PM org.apache.reef.util.REEFVersion logVersion
      INFO: REEF Version: 0.11.0-incubating-SNAPSHOT
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.802 sec <<< FAILURE! - in org.apache.reef.examples.hello.HelloHttpTest
      testHttpServer(org.apache.reef.examples.hello.HelloHttpTest)  Time elapsed: 1.75 sec  <<< ERROR!
      java.lang.InternalError: Should not get here
              at sun.nio.fs.WindowsNativeDispatcher.CreateSymbolicLink0(Native Method)
              at sun.nio.fs.WindowsNativeDispatcher.CreateSymbolicLink(WindowsNativeDispatcher.java:890)
              at sun.nio.fs.WindowsFileSystemProvider.createSymbolicLink(WindowsFileSystemProvider.java:578)
              at java.nio.file.Files.createSymbolicLink(Files.java:1043)
              at org.apache.reef.runtime.local.client.FileSet.createSymbolicLinkTo(FileSet.java:95)
              at org.apache.reef.runtime.local.client.DriverFiles.copyTo(DriverFiles.java:142)
              at org.apache.reef.runtime.local.client.LocalJobSubmissionHandler.onNext(LocalJobSubmissionHandler.java:108)
              at org.apache.reef.runtime.local.client.LocalJobSubmissionHandler.onNext(LocalJobSubmissionHandler.java:48)
              at org.apache.reef.runtime.common.client.REEFImplementation.submit(REEFImplementation.java:101)
              at org.apache.reef.client.DriverLauncher.run(DriverLauncher.java:127)
              at org.apache.reef.examples.hellohttp.HelloREEFHttp.runHelloReef(HelloREEFHttp.java:102)
              at org.apache.reef.examples.hello.HelloHttpTest.testHttpServer(HelloHttpTest.java:38)
      

      Attachments

        Activity

          People

            markus.weimer Markus Weimer
            markus.weimer Markus Weimer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: