[ 
https://issues.apache.org/jira/browse/HADOOP-19405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17921801#comment-17921801
 ] 

Shilun Fan commented on HADOOP-19405:
-------------------------------------

[[email protected]] 

I tested that if we add the following dependency, the unit tests can run 
normally, although the unit tests throw an error locally:
{code:java}
<dependency>
  <groupId>org.junit.vintage</groupId>
  <artifactId>junit-vintage-engine</artifactId>
  <version>${junit.vintage.version}</version>
</dependency> {code}
The maven-surefire-plugin.version must be upgraded to 3.0.0-M4.
{code:java}
[ERROR] ITestS3AContractBulkDelete.validatePageSize  Time elapsed: 0.002 s  <<< 
ERROR!
java.lang.NullPointerException: No test bucket
        at 
org.apache.hadoop.util.Preconditions.checkNotNull(Preconditions.java:88)
        at 
org.apache.hadoop.fs.s3a.S3ATestUtils.getTestBucketName(S3ATestUtils.java:859)
        at 
org.apache.hadoop.fs.contract.s3a.ITestS3AContractBulkDelete.createConfiguration(ITestS3AContractBulkDelete.java:88)
        at 
org.apache.hadoop.fs.contract.AbstractFSContractTestBase.setup(AbstractFSContractTestBase.java:188)
        at 
org.apache.hadoop.fs.contract.AbstractContractBulkDeleteTest.setup(AbstractContractBulkDeleteTest.java:79)
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)

[ERROR] Tests run: 22, Failures: 0, Errors: 22, Skipped: 0 {code}
 

> hadoop-aws and hadoop-azure tests have stopped running
> ------------------------------------------------------
>
>                 Key: HADOOP-19405
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19405
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.5.0
>            Reporter: Steve Loughran
>            Priority: Critical
>
> Hadoop-aws tests no longer run.
> {code}
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO]
> [INFO] Results:
> [INFO]
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  2.967 s (Wall Clock)
> [INFO] Finished at: 2025-01-28T13:59:52Z
> [INFO] 
> ------------------------------------------------------------------------
> {code}
> If I check out to the commit before the jersey v2 update (f38d7072) all is 
> good again.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to