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

[BUG] mvn clean install throws multiple Exceptions to the console #6796

Closed
1 task done
wbittles opened this issue Aug 4, 2022 · 2 comments · Fixed by #6797
Closed
1 task done

[BUG] mvn clean install throws multiple Exceptions to the console #6796

wbittles opened this issue Aug 4, 2022 · 2 comments · Fixed by #6797
Assignees
Labels
bug Something isn't working triage New bug/issue which needs checking & assigning

Comments

@wbittles
Copy link
Contributor

wbittles commented Aug 4, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.277 s - in org.odpi.openmetadata.accessservices.designmodel.responses.OMASAPIResponseTest [main] ERROR org.testng.reporters.jq.Main - /home/wbittles/egeria-repos/egeria/open-metadata-implementation/access-services/design-model/design-model-api/target/surefire-reports/jquery-3.6.0.min.js java.nio.file.FileAlreadyExistsException: /home/wbittles/egeria-repos/egeria/open-metadata-implementation/access-services/design-model/design-model-api/target/surefire-reports/jquery-3.6.0.min.js at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:94) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219) at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478) at java.base/java.nio.file.Files.newOutputStream(Files.java:220) at java.base/java.nio.file.Files.copy(Files.java:3067) at org.testng.reporters.jq.Main.generateReport(Main.java:95) at org.testng.TestNG.generateReports(TestNG.java:1134) at org.testng.TestNG.run(TestNG.java:1072) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:151) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:111) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeLazy(TestNGDirectoryTestSuite.java:122) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:89) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:155) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.73 s - in

Expected Behavior

no exceptions

Steps To Reproduce

mvn clean install

Environment

- Egeria:
- OS:
- Java:
- Browser (for UI issues):
- Additional connectors and integration:

Any Further Information?

No response

@wbittles wbittles added bug Something isn't working triage New bug/issue which needs checking & assigning labels Aug 4, 2022
@planetf1
Copy link
Member

planetf1 commented Aug 7, 2022

This problem was:

For now I will back off the testing update

@planetf1 planetf1 self-assigned this Aug 7, 2022
planetf1 added a commit to planetf1/egeria that referenced this issue Aug 7, 2022
@planetf1
Copy link
Member

planetf1 commented Aug 7, 2022

Though we make some use of testng, this was primarily due to JUnit4 lacking capability.
JUnit5 addressed these gaps, and tends to integrate better.
We may want to consider reducing testng use and moving more to JUnit5 where this is in use, however it's not clear if it's a valuable effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage New bug/issue which needs checking & assigning
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants