Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Build failing on Cygwin #40

Open
badgerwithagun opened this issue Jun 13, 2017 · 2 comments
Open

Build failing on Cygwin #40

badgerwithagun opened this issue Jun 13, 2017 · 2 comments

Comments

@badgerwithagun
Copy link

Not sure if this is likely to be considered important, but... with:

  • JAVA_HOME set to a 1.8 JDK
  • Maven for Windows installed and added to PATH.
  • Guava dependency updated as per this pull request.

Ran mvn install and got a large number of tests failed. Looks like it's related to path separators.

Tests in error: 
  testOneSubmittedMigration_equivalent(com.google.devtools.moe.client.directives.BookkeepingDirectiveTest): String index out of range: -1
  testHeadsEquivalent(com.google.devtools.moe.client.directives.BookkeepingDirectiveTest): String index out of range: -1
  testOneSubmittedMigration_nonEquivalent(com.google.devtools.moe.client.directives.BookkeepingDirectiveTest): String index out of range: -1
  testLongStderr(com.google.devtools.moe.client.SystemCommandRunnerTest): Running perl with args [-e, print STDERR ("*" x 17000)] returned 255 with stdout  and stderr Number found where operator expected at -e line 1, near "* x 17000"(..)
  testLongStdout(com.google.devtools.moe.client.SystemCommandRunnerTest): Running perl with args [-e, print ("*" x 17000)] returned 255 with stdout  and stderr Number found where operator expected at -e line 1, near "* x 17000"(..)
  testFileToString(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): String index out of range: -1
  testSetLifetime(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): An absolute path was expected: C:\tmp\moe_persistent_0
  testCleanUpTempDirs(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): An absolute path was expected: C:\tmp\moe_persistent_0
  testWrite(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): An absolute path was expected: C:\src
  testListFiles(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): String index out of range: -1
  testIsDirectory(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): String index out of range: -1
  testCopyFile(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): String index out of range: -1
  testMakeDirs(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): An absolute path was expected: C:\a\b\c\d
  testMakeDirsForFile(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): An absolute path was expected: C:\a\b\c\d
  testFindFiles(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): String index out of range: -1
  testGetResourceAsFile(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): An absolute path was expected: C:\tmp\moe_resource_extraction__0\test_resource
  testExists(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): String index out of range: -1
  testIsFile(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): String index out of range: -1
  testGetTemporaryDirectory(com.google.devtools.moe.client.testing.InMemoryFileSystemTest): An absolute path was expected: C:\tmp\moe_pineapple_0
@badgerwithagun
Copy link
Author

One or two might be due to me piping stdout, actually...

@cgruber
Copy link
Contributor

cgruber commented Jun 13, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants