kgeisz opened a new pull request, #8690:
URL: https://github.com/apache/hbase/pull/8690

   https://issues.apache.org/jira/browse/HBASE-30415
   
   This pull request changes the `surefire-junit4` dependency to 
`surefire-junit-platform` in `hbase-it/pom.xml`.  I could not run an 
integration test locally using maven. The issue went away when I changed to the 
`surefire-junit-platform` dependency.
   
   I ran a test with:
   
   ```
   cd hbase-it
   mvn verify -Dtest=none -Dit.test=IntegrationTestContinuousBackupRestore
   ```
   
   I got an error like the following:
   
   ```
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  16.090 s
   [INFO] Finished at: 2026-09-22T13:22:11-04:00
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-failsafe-plugin:3.5.3:integration-test 
(integration-test) on project hbase-it: Execution integration-test of goal 
org.apache.maven.plugins:maven-failsafe-plugin:3.5.3:integration-test failed: A 
required class was missing while executing 
org.apache.maven.plugins:maven-failsafe-plugin:3.5.3:integration-test: 
org/junit/runner/notification/RunListener
   [ERROR] -----------------------------------------------------
   [ERROR] realm =    
plugin>org.apache.maven.plugins:maven-failsafe-plugin:3.5.3
   [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
   [ERROR] urls[0] = 
file:/Users/kgeiszler/.m2/repository/org/apache/maven/plugins/maven-failsafe-plugin/3.5.3/maven-failsafe-plugin-3.5.3.jar
   [ERROR] urls[1] = 
file:/Users/kgeiszler/.m2/repository/org/apache/maven/surefire/surefire-junit4/3.5.3/surefire-junit4-3.5.3.jar
   [ERROR] urls[2] = 
file:/Users/kgeiszler/.m2/repository/org/apache/maven/surefire/common-java5/3.5.3/common-java5-3.5.3.jar
   [ERROR] urls[3] = 
file:/Users/kgeiszler/.m2/repository/org/apache/maven/surefire/common-junit4/3.5.3/common-junit4-3.5.3.jar
   [ERROR] urls[4] = 
file:/Users/kgeiszler/.m2/repository/org/apache/maven/surefire/common-junit3/3.5.3/common-junit3-3.5.3.jar
   [ERROR] urls[5] = 
file:/Users/kgeiszler/.m2/repository/org/apache/maven/surefire/surefire-api/3.5.3/surefire-api-3.5.3.jar
   [ERROR] urls[6] = 
file:/Users/kgeiszler/.m2/repository/org/apache/maven/surefire/surefire-logger-api/3.5.3/surefire-logger-api-3.5.3.jar
   [ERROR] urls[7] = 
file:/Users/kgeiszler/.m2/repository/org/apache/maven/surefire/surefire-booter/3.5.3/surefire-booter-3.5.3.jar
   [ERROR] urls[8] = 
file:/Users/kgeiszler/.m2/repository/org/apache/maven/surefire/surefire-extensions-spi/3.5.3/surefire-extensions-spi-3.5.3.jar
   [ERROR] urls[9] = 
file:/Users/kgeiszler/.m2/repository/org/apache/maven/surefire/surefire-extensions-api/3.5.3/surefire-extensions-api-3.5.3.jar
   [ERROR] urls[10] = 
file:/Users/kgeiszler/.m2/repository/org/apache/maven/surefire/surefire-shared-utils/3.5.3/surefire-shared-utils-3.5.3.jar
   [ERROR] urls[11] = 
file:/Users/kgeiszler/.m2/repository/org/apache/maven/surefire/maven-surefire-common/3.5.3/maven-surefire-common-3.5.3.jar
   [ERROR] urls[12] = 
file:/Users/kgeiszler/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/3.4.0/maven-common-artifact-filters-3.4.0.jar
   [ERROR] urls[13] = 
file:/Users/kgeiszler/.m2/repository/org/codehaus/plexus/plexus-java/1.4.0/plexus-java-1.4.0.jar
   [ERROR] urls[14] = 
file:/Users/kgeiszler/.m2/repository/org/ow2/asm/asm/9.7.1/asm-9.7.1.jar
   [ERROR] urls[15] = 
file:/Users/kgeiszler/.m2/repository/com/thoughtworks/qdox/qdox/2.2.0/qdox-2.2.0.jar
   [ERROR] Number of foreign imports: 1
   [ERROR] import: Entry[import  from realm 
ClassRealm[project>org.apache.hbase:hbase-it:4.0.0-alpha-1-SNAPSHOT, parent: 
ClassRealm[maven.api, parent: null]]]
   [ERROR]
   [ERROR] -----------------------------------------------------
   [ERROR] : org.junit.runner.notification.RunListener
   [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.
   [ERROR]
   [ERROR] For more information about the errors and possible solutions, please 
read the following articles:
   [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to