pan3793 opened a new pull request, #7931:
URL: https://github.com/apache/hadoop/pull/7931
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
The issue is identified by
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7760/
```
00:08:13 Reason | Tests
00:08:13 Failed junit tests |
hadoop.fs.compat.common.TestHdfsCompatShellCommand
00:08:13 |
hadoop.fs.compat.common.TestHdfsCompatDefaultSuites
00:08:13 |
hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints
```
### How was this patch tested?
Manually checked the failed tests after installing the missing deps inside
the dev container.
```
$ ./start-build-env.sh rockylinux_8
```
```
$ mvn clean install -DskipTests -Pnative
```
```
$ mvn test -pl :hadoop-compat-bench
-Dtest=hadoop.fs.compat.common.TestHdfsCompatShellCommand
...
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.hadoop.fs.compat.common.TestHdfsCompatShellCommand
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.64
s -- in org.apache.hadoop.fs.compat.common.TestHdfsCompatShellCommand
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 21.200 s
[INFO] Finished at: 2025-09-04T12:26:55Z
[INFO]
------------------------------------------------------------------------
```
```
$ mvn test -pl :hadoop-compat-bench
-Dtest=hadoop.fs.compat.common.TestHdfsCompatDefaultSuites
...
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.hadoop.fs.compat.common.TestHdfsCompatDefaultSuites
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 126.2
s -- in org.apache.hadoop.fs.compat.common.TestHdfsCompatDefaultSuites
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:14 min
[INFO] Finished at: 2025-09-04T12:27:35Z
[INFO]
------------------------------------------------------------------------
```
```
$ mvn test -pl :hadoop-hdfs
-Dtest=hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints
...
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running
org.apache.hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
229.4 s -- in org.apache.hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- antrun:1.7:run (hdfs-test-bats-driver) @ hadoop-hdfs ---
[INFO] Executing tasks
main:
[exec] Running bats -t hadoop_shell_execname.bats
[exec] 1..1
[exec] ok 1 hadoop_shell_execname
[exec] Running bats -t hdfs_subcommands.bats
[exec] 1..4
[exec] ok 1 hdfs_subcommand (addition)
[exec] ok 2 hdfs_subcommand (substitute)
[exec] ok 3 hdfs_subcommand (envcheck)
[exec] ok 4 hdfs_subcommand (multiparams)
[INFO] Executed tasks
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 04:25 min
[INFO] Finished at: 2025-09-04T12:41:57Z
[INFO]
------------------------------------------------------------------------
```
### For code changes:
- [x] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]