Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests failed on Windows 10 #1519

Closed
survivant opened this issue Jul 31, 2020 · 2 comments
Closed

tests failed on Windows 10 #1519

survivant opened this issue Jul 31, 2020 · 2 comments

Comments

@survivant
Copy link

I ran : ./mvnw clean verify

and I obtain this

Errors:
  ClasspathUpdateHandlerTest.testClasspathUpdateForEclipse:131 ▒ InvalidPath Ill...
  ClasspathUpdateHandlerTest.testClasspathUpdateForGradle:114 ▒ InvalidPath Ille...
  ClasspathUpdateHandlerTest.testClasspathUpdateForInvisble:150 ▒ InvalidPath Il...
  ClasspathUpdateHandlerTest.testClasspathUpdateForMaven:95 ▒ InvalidPath Illega...
  InitHandlerTest.testInitOnSymbolicLinkFolder:388 ▒ FileSystem C:\Users\sd00352...
  BasicFileDetectorTest.testScanCircularSymbolicLinks:186 ▒ FileSystem C:\Users\...
  BasicFileDetectorTest.testScanSymbolicLinks:164 ▒ FileSystem C:\Users\sd003526...
  GradleProjectImporterTest.testGradleUserHome:192 ▒ IO Unable to delete file: C...

Tests run: 1247, Failures: 19, Errors: 8, Skipped: 11

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for JDT Language Server :: Parent 0.60.0-SNAPSHOT:
[INFO]
[INFO] JDT Language Server :: Parent ...................... SUCCESS [  0.135 s]
[INFO] JDT Language Server :: Target Platform ............. SUCCESS [  0.344 s]
[INFO] JDT Language Server :: Core ........................ SUCCESS [ 45.014 s]
[INFO] JDT Language Server :: Tests ....................... FAILURE [17:22 min]
[INFO] JDT Language Server :: SyntaxServer Tests .......... SKIPPED
[INFO] JDT Language Server :: Product ..................... SKIPPED

here the log of ClasspathUpdateHandlerTest


-------------------------------------------------------------------------------
Test set: org.eclipse.jdt.ls.core.internal.handlers.ClasspathUpdateHandlerTest
-------------------------------------------------------------------------------
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 5.225 s <<< FAILURE! - in org.eclipse.jdt.ls.core.internal.handlers.ClasspathUpdateHandlerTest
testClasspathUpdateForInvisble(org.eclipse.jdt.ls.core.internal.handlers.ClasspathUpdateHandlerTest)  Time elapsed: 0.552 s  <<< ERROR!
java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/C:/Users/sd003526/AppData/Local/Temp/dynamicLibDetection17891530621622856710/
	at org.eclipse.jdt.ls.core.internal.handlers.ClasspathUpdateHandlerTest.testClasspathUpdateForInvisble(ClasspathUpdateHandlerTest.java:150)

testClasspathUpdateForEclipse(org.eclipse.jdt.ls.core.internal.handlers.ClasspathUpdateHandlerTest)  Time elapsed: 0.452 s  <<< ERROR!
java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/C:/workspace/opensource-framework/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/target/workingProjects/eclipse/updatejar
	at org.eclipse.jdt.ls.core.internal.handlers.ClasspathUpdateHandlerTest.testClasspathUpdateForEclipse(ClasspathUpdateHandlerTest.java:131)

testClasspathUpdateForMaven(org.eclipse.jdt.ls.core.internal.handlers.ClasspathUpdateHandlerTest)  Time elapsed: 2.483 s  <<< ERROR!
java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/C:/workspace/opensource-framework/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/target/workingProjects/maven/salut
	at org.eclipse.jdt.ls.core.internal.handlers.ClasspathUpdateHandlerTest.testClasspathUpdateForMaven(ClasspathUpdateHandlerTest.java:95)

testClasspathUpdateForGradle(org.eclipse.jdt.ls.core.internal.handlers.ClasspathUpdateHandlerTest)  Time elapsed: 1.738 s  <<< ERROR!
java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/C:/workspace/opensource-framework/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/target/workingProjects/gradle/simple-gradle
	at org.eclipse.jdt.ls.core.internal.handlers.ClasspathUpdateHandlerTest.testClasspathUpdateForGradle(ClasspathUpdateHandlerTest.java:114)
@snjeza
Copy link
Contributor

snjeza commented Jul 31, 2020

Related issue - #996

@rgrunber
Copy link
Contributor

Looks like #1661 resolved this issue, so I'll close this out. If this is still an issue, feel free to re-open.

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

No branches or pull requests

3 participants