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

circleci tests are failing for 2.4.3 #154

Closed
jacobdotcosta opened this issue Feb 23, 2021 · 5 comments
Closed

circleci tests are failing for 2.4.3 #154

jacobdotcosta opened this issue Feb 23, 2021 · 5 comments
Assignees
Labels
4 - Productization Involved with productization steps, CVEs

Comments

@jacobdotcosta
Copy link
Member

The circleci tests are failing for release 2.4.3.

This is the error:

...
[INFO] Snowdrop Test Suite - Parent ....................... SUCCESS [  0.334 s]
[INFO] Snowdrop Test Suite - Common ....................... SUCCESS [  0.019 s]
[INFO] Snowdrop Test Suite - Common - Entities ............ SUCCESS [ 15.939 s]
[INFO] Snowdrop Test Suite - Common - Utils ............... SUCCESS [  7.827 s]
[INFO] Snowdrop Test Suite - Data JDBC .................... FAILURE [  1.132 s]
[INFO] Snowdrop Test Suite - Data JPA ..................... SKIPPED
[INFO] Snowdrop Test Suite - Health Check ................. SKIPPED
[INFO] Snowdrop Test Suite - Hibernate .................... SKIPPED
[INFO] Snowdrop Test Suite - REST ......................... SKIPPED
[INFO] Snowdrop Test Suite - REST - RESTEasy .............. SKIPPED
[INFO] Snowdrop Test Suite - Caching ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.428 s
[INFO] Finished at: 2021-02-22T16:23:50+00:00
[INFO] Final Memory: 74M/546M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project data-jdbc: Compilation failure: Compilation failure:
[ERROR] /tmp/testsuite/data-jdbc/src/test/java/dev/snowdrop/testsuite/jdbc/RecordsApplicationTest.java:[20,17] package org.junit does not exist
[ERROR] /tmp/testsuite/data-jdbc/src/test/java/dev/snowdrop/testsuite/jdbc/RecordsApplicationTest.java:[21,24] package org.junit.runner does not exist
[ERROR] /tmp/testsuite/data-jdbc/src/test/java/dev/snowdrop/testsuite/jdbc/RecordsApplicationTestBase.java:[19,17] package org.junit does not exist
[ERROR] /tmp/testsuite/data-jdbc/src/test/java/dev/snowdrop/testsuite/jdbc/RecordsApplicationTest.java:[31,2] cannot find symbol
[ERROR] symbol: class RunWith
[ERROR] /tmp/testsuite/data-jdbc/src/test/java/dev/snowdrop/testsuite/jdbc/RecordsApplicationIT.java:[23,17] package org.junit does not exist
[ERROR] /tmp/testsuite/data-jdbc/src/test/java/dev/snowdrop/testsuite/jdbc/RecordsApplicationIT.java:[24,24] package org.junit.runner does not exist
[ERROR] /tmp/testsuite/data-jdbc/src/test/java/dev/snowdrop/testsuite/jdbc/RecordsApplicationIT.java:[31,2] cannot find symbol
[ERROR] symbol: class RunWith
[ERROR] /tmp/testsuite/data-jdbc/src/test/java/dev/snowdrop/testsuite/jdbc/RecordsApplicationTest.java:[38,6] cannot find symbol
[ERROR] symbol:   class Before
[ERROR] location: class dev.snowdrop.testsuite.jdbc.RecordsApplicationTest
[ERROR] /tmp/testsuite/data-jdbc/src/test/java/dev/snowdrop/testsuite/jdbc/RecordsApplicationTestBase.java:[46,6] cannot find symbol
[ERROR] symbol:   class Test
[ERROR] location: class dev.snowdrop.testsuite.jdbc.RecordsApplicationTestBase
[ERROR] /tmp/testsuite/data-jdbc/src/test/java/dev/snowdrop/testsuite/jdbc/RecordsApplicationTestBase.java:[64,6] cannot find symbol
[ERROR] symbol:   class Test
[ERROR] location: class dev.snowdrop.testsuite.jdbc.RecordsApplicationTestBase
[ERROR] /tmp/testsuite/data-jdbc/src/test/java/dev/snowdrop/testsuite/jdbc/RecordsApplicationIT.java:[38,6] cannot find symbol
[ERROR] symbol:   class Before
[ERROR] location: class dev.snowdrop.testsuite.jdbc.RecordsApplicationIT
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
...
@jacobdotcosta jacobdotcosta added the 4 - Productization Involved with productization steps, CVEs label Feb 23, 2021
@jacobdotcosta jacobdotcosta self-assigned this Feb 23, 2021
@jacobdotcosta
Copy link
Member Author

Although it might not be related, the circleci configuration has not been updated to use the new branches for the examples. There should also be a new branch for the release in the snowdrop/testsuite project.

@jacobdotcosta
Copy link
Member Author

Launching the tests again for version 2.3.6 and they succeed. Can it be that Spring Boot exported that dependency and doesn't anymore?

@jacobdotcosta
Copy link
Member Author

@jacobdotcosta
Copy link
Member Author

I've checked that junit version 4.13.2 is available at Maven Central (https://repo1.maven.org/maven2/junit/junit/4.13.2/) but curios enough the artifact is not being downloaded...

$ ls -l /hsh/.m2/repository/junit/junit/
total 8
drwxrwxr-x. 2 xxx xxx  206 nov 12 14:45 3.8.1
drwxrwxr-x. 2 xxx xxx  206 nov 12 14:45 3.8.2
drwxrwxr-x. 2 xxx xxx  166 nov 12 14:45 4.10
drwxrwxr-x. 2 xxx xxx  200 nov 12 14:45 4.11
drwxrwxr-x. 2 xxx xxx 4096 dic 16 15:07 4.12
drwxrwxr-x. 2 xxx xxx  200 nov 12 14:45 4.13
drwxrwxr-x. 2 xxx xxx 4096 ene  5 09:16 4.13.1
drwxrwxr-x. 2 xxx xxx  206 nov 12 14:45 4.8.1
drwxrwxr-x. 2 xxx xxx  206 nov 12 14:45 4.8.2

@jacobdotcosta
Copy link
Member Author

Fixed in PR snowdrop/testsuite#7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 - Productization Involved with productization steps, CVEs
Projects
None yet
Development

No branches or pull requests

1 participant