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

YARN-11764. yarn tests have stopped running. #7345

Open
wants to merge 10 commits into
base: trunk
Choose a base branch
from

Conversation

slfan1989
Copy link
Contributor

@slfan1989 slfan1989 commented Feb 2, 2025

Description of PR

JIRA: YARN-11764. yarn tests have stopped running.

After completing HADOOP-15984, we added JUnit5 test dependencies to some modules. These dependencies caused maven-surefire to fail to recognize JUnit4 tests, leading to the cessation of unit tests in some YARN modules. As a result, some YARN unit tests failed and were not detected in time. This JIRA will track and resolve these issues, including the stopped unit tests and test errors.

How was this patch tested?

Junit Test.

For code changes:

  • 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?
  • If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 18m 16s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 7m 38s Maven dependency ordering for branch
+1 💚 mvninstall 36m 55s trunk passed
+1 💚 compile 19m 13s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 compile 17m 15s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 checkstyle 4m 38s trunk passed
+1 💚 mvnsite 7m 9s trunk passed
+1 💚 javadoc 6m 59s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 6m 24s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 42s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 39m 30s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 33s Maven dependency ordering for patch
+1 💚 mvninstall 3m 55s the patch passed
+1 💚 compile 18m 50s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javac 18m 50s the patch passed
+1 💚 compile 17m 24s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 javac 17m 24s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 4m 37s /results-checkstyle-root.txt root: The patch generated 2 new + 19 unchanged - 0 fixed = 21 total (was 19)
+1 💚 mvnsite 7m 8s the patch passed
+1 💚 javadoc 6m 54s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 6m 26s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 37s hadoop-project has no data from spotbugs
+1 💚 shadedclient 39m 19s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 35s hadoop-project in the patch passed.
+1 💚 unit 4m 49s hadoop-yarn-server-common in the patch passed.
-1 ❌ unit 114m 7s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt hadoop-yarn-server-resourcemanager in the patch passed.
-1 ❌ unit 26m 8s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt hadoop-yarn-server-nodemanager in the patch passed.
-1 ❌ unit 46m 54s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt hadoop-yarn-client in the patch passed.
+1 💚 unit 1m 14s hadoop-yarn-server-timelineservice-documentstore in the patch passed.
+1 💚 unit 1m 19s hadoop-yarn-server-globalpolicygenerator in the patch passed.
+1 💚 unit 22m 11s hadoop-yarn-applications-distributedshell in the patch passed.
+1 💚 unit 21m 5s hadoop-yarn-services-core in the patch passed.
+1 💚 asflicense 1m 7s The patch does not generate ASF License warnings.
536m 45s
Reason Tests
Failed junit tests hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher
hadoop.yarn.server.nodemanager.containermanager.TestContainerManagerRecovery
hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService
hadoop.yarn.client.api.impl.TestAMRMClient
hadoop.yarn.client.api.impl.TestAMRMClientPlacementConstraints
hadoop.yarn.client.api.impl.TestNMClient
hadoop.yarn.client.api.impl.TestYarnClient
hadoop.yarn.client.api.impl.TestAMRMProxy
hadoop.yarn.client.api.impl.TestOpportunisticContainerAllocationE2E
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/1/artifact/out/Dockerfile
GITHUB PR #7345
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle
uname Linux 3b48aa5db8d6 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 33410ff
Default Java Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/1/testReport/
Max. process+thread count 5431 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-documentstore hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/1/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 7m 18s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 5m 24s Maven dependency ordering for branch
+1 💚 mvninstall 18m 31s trunk passed
+1 💚 compile 8m 50s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 compile 7m 57s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 checkstyle 2m 1s trunk passed
+1 💚 mvnsite 4m 37s trunk passed
+1 💚 javadoc 4m 31s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 4m 36s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 30s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 20m 6s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 24s Maven dependency ordering for patch
+1 💚 mvninstall 2m 31s the patch passed
+1 💚 compile 8m 31s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javac 8m 31s the patch passed
+1 💚 compile 8m 1s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 javac 8m 1s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 1m 52s /results-checkstyle-root.txt root: The patch generated 2 new + 148 unchanged - 0 fixed = 150 total (was 148)
+1 💚 mvnsite 4m 51s the patch passed
+1 💚 javadoc 4m 31s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 4m 36s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 26s hadoop-project has no data from spotbugs
+1 💚 shadedclient 20m 23s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 24s hadoop-project in the patch passed.
+1 💚 unit 3m 32s hadoop-yarn-server-common in the patch passed.
-1 ❌ unit 93m 25s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 23m 59s hadoop-yarn-server-nodemanager in the patch passed.
-1 ❌ unit 44m 47s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt hadoop-yarn-client in the patch passed.
+1 💚 unit 0m 52s hadoop-yarn-server-timelineservice-documentstore in the patch passed.
+1 💚 unit 1m 0s hadoop-yarn-server-globalpolicygenerator in the patch passed.
+1 💚 unit 21m 4s hadoop-yarn-applications-distributedshell in the patch passed.
+1 💚 unit 19m 37s hadoop-yarn-services-core in the patch passed.
+1 💚 asflicense 0m 45s The patch does not generate ASF License warnings.
367m 29s
Reason Tests
Failed junit tests hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher
hadoop.yarn.client.api.impl.TestAMRMClientPlacementConstraints
hadoop.yarn.client.api.impl.TestOpportunisticContainerAllocationE2E
hadoop.yarn.client.api.impl.TestAMRMProxy
hadoop.yarn.client.api.impl.TestAMRMClient
hadoop.yarn.client.api.impl.TestYarnClient
hadoop.yarn.client.api.impl.TestNMClient
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/2/artifact/out/Dockerfile
GITHUB PR #7345
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle
uname Linux ed6f2a3f4f2b 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 55be8b7
Default Java Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/2/testReport/
Max. process+thread count 5419 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-documentstore hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/2/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@slfan1989
Copy link
Contributor Author

slfan1989 commented Feb 3, 2025

I have fixed the YARN-related unit test errors and tested them locally. Next, I will provide a detailed explanation of how we resolved these unit test issues.

1. hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher

These unit test errors were discovered during the integration testing of the ResourceManager module.

The error message is as follows:

https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/2/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt

[ERROR] TestSystemMetricsPublisher.testPublishApplicationMetrics  Time elapsed: 1.279 s  <<< FAILURE!
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:87)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertTrue(Assert.java:53)
	at org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher.testPublishApplicationMetrics(TestSystemMetricsPublisher.java:230)

The code causing the error is as follows:

Assert.assertTrue(verifyAppTags(app.getApplicationTags(), entity.getOtherInfo()));

We found that the contents of app.getApplicationTags() and entity.getOtherInfo() are inconsistent, with entity.getOtherInfo() containing duplicate entries.

app.getApplicationTags() is expected to contain 2 elements, but entity.getOtherInfo() contains 4 elements.

Set<String> appTags = new HashSet<String>();
appTags.add("test");
appTags.add("tags");
when(app.getApplicationTags()).thenReturn(appTags);

The cause of this issue is that the data in TimelineEntity.java is being serialized twice, as there are two properties in the class representing the same data. As shown in the code below, this results in two identical entries in the serialized JSON, one named otherinfo and the other named otherInfoJAXB.

// Required by JAXB
@Private
@XmlElement(name = "otherinfo")
public HashMap<String, Object> getOtherInfoJAXB() {
return otherInfo;
}

The serialized JSON is as follows:

{
    "entities": [
        {
            "entityType": "YARN_APPLICATION",
            "entityId": "application_0_0001",
            "startTime": null,
            "events": [
                {
                    "timestamp": 2147483649,
                    "eventType": "YARN_APPLICATION_CREATED",
                    "eventInfo": {

                    }
                }
            ],
            "relatedEntities": {

            },
            "primaryFilters": {

            },
            "otherInfo": {
                "YARN_APPLICATION_CALLER_CONTEXT": "context",
                "YARN_APPLICATION_NAME": "test app",
                "YARN_APPLICATION_USER": "test user",
                "YARN_APPLICATION_UNMANAGED_APPLICATION": false,
                "YARN_APP_NODE_LABEL_EXPRESSION": "high-cpu",
                "YARN_APPLICATION_SUBMITTED_TIME": 2147483648,
                "YARN_AM_CONTAINER_LAUNCH_COMMAND": [
                    "java -Xmx1024m"
                ],
                "YARN_AM_NODE_LABEL_EXPRESSION": "high-mem",
                "YARN_APPLICATION_QUEUE": "test queue",
                "YARN_APPLICATION_TYPE": "test app type",
                "YARN_APPLICATION_PRIORITY": 10,
                "YARN_APPLICATION_TAGS": [
                    "test",
                    "tags"
                ],
                "YARN_APPLICATION_STATE": "SUBMITTED"
            },
            "domainId": null,
            "relatedEntitiesJAXB": {

            },
            "primaryFiltersJAXB": {

            },
            "otherInfoJAXB": {
                "YARN_APPLICATION_CALLER_CONTEXT": "context",
                "YARN_APPLICATION_NAME": "test app",
                "YARN_APPLICATION_USER": "test user",
                "YARN_APPLICATION_UNMANAGED_APPLICATION": false,
                "YARN_APP_NODE_LABEL_EXPRESSION": "high-cpu",
                "YARN_APPLICATION_SUBMITTED_TIME": 2147483648,
                "YARN_AM_CONTAINER_LAUNCH_COMMAND": [
                    "java -Xmx1024m"
                ],
                "YARN_AM_NODE_LABEL_EXPRESSION": "high-mem",
                "YARN_APPLICATION_QUEUE": "test queue",
                "YARN_APPLICATION_TYPE": "test app type",
                "YARN_APPLICATION_PRIORITY": 10,
                "YARN_APPLICATION_TAGS": [
                    "test",
                    "tags"
                ],
                "YARN_APPLICATION_STATE": "SUBMITTED"
            }
        }
    ]
}

The otherInfo / otherInfoJAXB, relatedEntities / relatedEntitiesJAXB, and primaryFilters / primaryFiltersJAXB are three pairs of duplicate data.

Taking YARN_APPLICATION_TAGS as an example, the same data exists in two places, so it was parsed twice, leading to duplicate data. The original data was ["test", "tags"], but it was actually converted to ["test", "tags", "test", "tags"].

JAXB is an annotation for XML, which has no effect on JSON. Therefore, I used annotations to exclude this property and reviewed all the Timeline classes to ensure that JAXB properties are excluded during JSON parsing.

2. TestOpportunisticContainerAllocationE2E / TestAMRMProxy / TestAMRMClient / TestYarnClient / TestNMClient

These unit test errors were discovered during the integration testing of the yarn_hadoop-yarn-client module.

The error message is similar to the following:

[ERROR] org.apache.hadoop.yarn.client.api.impl.TestAMRMProxy.testE2ETokenSwap  Time elapsed: 0.957 s  <<< ERROR!
org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1738512061145_0001 to YARN : Application application_1738512061145_0001 submitted by user jenkinsApplication application_1738512061145_0001 submitted by user jenkins to unknown queue: default

It was quite strange to see this error, because these tests pass when executed individually locally, but they fail when running mvn clean test.

After debugging, I found that the unit test in TestSchedConfCLI.java generates a capacity-scheduler.xml file under the target/classes directory. This configuration file overwrites the default configuration, causing the unit test to fail to recognize the default default queue.

We can solve this issue by simply adding the @After annotation to the cleanUp() method in TestSchedConfCLI.java. This ensures that the generated configuration file is deleted after the unit tests are completed.

3. TestContainerManagerRecovery

This unit test error was discovered during the integration testing of the NodeManager module. It seems to be an issue that has existed for quite some time. I rolled back to a version before HADOOP-15984 locally, but the error still persists.

The cause of this error is that the NodeStatusUpdater was not set in testNodeManagerMetricsRecovery, which leads to a NullPointerException when using this class. We need to inject this class into the context.

/**
* Handle the following transitions:
* - {LOCALIZATION_FAILED, EXITED_WITH_SUCCESS, EXITED_WITH_FAILURE,
* KILLING, CONTAINER_CLEANEDUP_AFTER_KILL}
* -> DONE upon CONTAINER_RESOURCES_CLEANEDUP
*/
static class ContainerDoneTransition implements
SingleArcTransition<ContainerImpl, ContainerEvent> {
@Override
@SuppressWarnings("unchecked")
public void transition(ContainerImpl container, ContainerEvent event) {
container.metrics.releaseContainer(
container.containerTokenIdentifier.getResource());
if (container.containerMetrics != null) {
container.containerMetrics
.recordFinishTimeAndExitCode(clock.getTime(), container.exitCode);
container.containerMetrics.finished(false);
}
container.sendFinishedEvents();
// if the current state is NEW it means the CONTAINER_INIT was never
// sent for the event, thus no need to send the CONTAINER_STOP
if (container.getCurrentState()
!= org.apache.hadoop.yarn.api.records.ContainerState.NEW) {
container.dispatcher.getEventHandler().handle(new AuxServicesEvent
(AuxServicesEventType.CONTAINER_STOP, container));
}
container.context.getNodeStatusUpdater().sendOutofBandHeartBeat();
}
}

NullPointerException is thrown at L1986, which causes the unit test to terminate. I also found that on macOS, sleep 60s is not recognized, but sleep 60 works fine. Since sleep 60s and sleep 60 are equivalent, I removed the s from the command so that the unit test can run properly on macOS as well.

4. TestContainerManagerRecovery#testNMRecoveryForAppFinishedWithLogAggregationFailure

[ERROR] org.apache.hadoop.yarn.server.nodemanager.containermanager.TestContainerManagerRecovery.testNMRecoveryForAppFinishedWithLogAggregationFailure  Time elapsed: 0.069 s  <<< ERROR!
java.lang.NullPointerException
	at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService.recoverTrackerResources(ResourceLocalizationService.java:346)
	at 
......

This error is caused by #7317, but I do not intend to revert #7317. Since the iterator should not be null except in unit tests, I added a new check to handle the case when the iterator is null.

#7317 is effective, as we can see from the daily JDK 11 build emails(Apache Hadoop qbt Report: trunk+JDK11 on Linux/x86_64). There are no more yarn spotbugs warnings.

5. hadoop.yarn.server.globalpolicygenerator.secure.TestGpgSecureLogins / TestGlobalPolicyGenerator

The errors in these two unit tests are from the integration testing of GlobalPolicyGenerator.

The cause of the unit test errors was that we missed injecting the configuration object when injecting other dependencies. I have now completed the injection of the class.

6. TestAMRMClient

I relaxed some of the testing criteria for the TestAMRMClient unit test.

Each method of this unit test runs successfully locally, so we can say that the unit test itself is fine. However, under the integration test conditions, when running in parallel, there are frequent issues with timeouts and failing condition checks.

From my perspective, these unit tests are quite complex because each test needs to initialize a mini YARN cluster. While the containers are ultimately allocated successfully, the exact timing of the allocation is hard to predict. Sometimes, it does take a bit longer. The container release process is similar. While it will eventually release the containers, it's not always guaranteed to happen within the required number of iterations or time frame.

@@ -197,7 +197,7 @@ public void testSplitBasedOnHeadroom() throws Exception {
checkTotalContainerAllocation(response, 100);
}

@Test(timeout = 5000)
@Test(timeout = 8000)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The unit test threw a timeout exception, so we increased the timeout value.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 20s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 6 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 7m 0s Maven dependency ordering for branch
+1 💚 mvninstall 18m 26s trunk passed
+1 💚 compile 8m 58s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 compile 8m 1s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 checkstyle 1m 58s trunk passed
+1 💚 mvnsite 4m 48s trunk passed
+1 💚 javadoc 4m 39s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 3m 21s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 21s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 20m 26s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
+1 💚 mvninstall 2m 30s the patch passed
+1 💚 compile 8m 37s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javac 8m 37s the patch passed
+1 💚 compile 7m 53s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 javac 7m 53s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 1m 58s /results-checkstyle-root.txt root: The patch generated 2 new + 168 unchanged - 0 fixed = 170 total (was 168)
+1 💚 mvnsite 4m 53s the patch passed
+1 💚 javadoc 4m 33s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 4m 29s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 24s hadoop-project has no data from spotbugs
+1 💚 shadedclient 20m 0s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 25s hadoop-project in the patch passed.
+1 💚 unit 3m 32s hadoop-yarn-server-common in the patch passed.
-1 ❌ unit 93m 14s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 23m 57s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 26m 48s hadoop-yarn-client in the patch passed.
+1 💚 unit 0m 56s hadoop-yarn-server-timelineservice-documentstore in the patch passed.
+1 💚 unit 1m 0s hadoop-yarn-server-globalpolicygenerator in the patch passed.
+1 💚 unit 21m 0s hadoop-yarn-applications-distributedshell in the patch passed.
+1 💚 unit 19m 32s hadoop-yarn-services-core in the patch passed.
+1 💚 asflicense 0m 45s The patch does not generate ASF License warnings.
342m 25s
Reason Tests
Failed junit tests hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/3/artifact/out/Dockerfile
GITHUB PR #7345
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle
uname Linux 913feb15a371 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 0e0ee31
Default Java Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/3/testReport/
Max. process+thread count 951 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-documentstore hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/3/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 48s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 6 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 5m 59s Maven dependency ordering for branch
+1 💚 mvninstall 38m 45s trunk passed
+1 💚 compile 20m 6s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 compile 17m 33s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 checkstyle 4m 40s trunk passed
+1 💚 mvnsite 8m 4s trunk passed
+1 💚 javadoc 7m 59s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 7m 21s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 41s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 39m 15s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 33s Maven dependency ordering for patch
+1 💚 mvninstall 4m 29s the patch passed
+1 💚 compile 18m 27s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javac 18m 27s the patch passed
+1 💚 compile 17m 20s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 javac 17m 20s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 4m 34s /results-checkstyle-root.txt root: The patch generated 2 new + 229 unchanged - 0 fixed = 231 total (was 229)
+1 💚 mvnsite 8m 3s the patch passed
+1 💚 javadoc 7m 50s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 7m 21s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 35s hadoop-project has no data from spotbugs
+1 💚 shadedclient 40m 20s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 36s hadoop-project in the patch passed.
+1 💚 unit 1m 12s hadoop-yarn-api in the patch passed.
+1 💚 unit 4m 51s hadoop-yarn-server-common in the patch passed.
+1 💚 unit 115m 16s hadoop-yarn-server-resourcemanager in the patch passed.
-1 ❌ unit 27m 18s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 31m 17s hadoop-yarn-client in the patch passed.
+1 💚 unit 1m 19s hadoop-yarn-server-timelineservice-documentstore in the patch passed.
+1 💚 unit 1m 20s hadoop-yarn-server-globalpolicygenerator in the patch passed.
+1 💚 unit 22m 32s hadoop-yarn-applications-distributedshell in the patch passed.
+1 💚 unit 21m 4s hadoop-yarn-services-core in the patch passed.
+1 💚 asflicense 1m 8s The patch does not generate ASF License warnings.
520m 11s
Reason Tests
Failed junit tests hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/4/artifact/out/Dockerfile
GITHUB PR #7345
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle
uname Linux b643c250c87a 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / fa8afcb
Default Java Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/4/testReport/
Max. process+thread count 933 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-documentstore hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/4/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 20s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 1s codespell was not available.
+0 🆗 detsecrets 0m 1s detect-secrets was not available.
+0 🆗 xmllint 0m 1s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 6 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 6m 5s Maven dependency ordering for branch
+1 💚 mvninstall 19m 28s trunk passed
+1 💚 compile 10m 9s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 compile 9m 14s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 checkstyle 2m 6s trunk passed
+1 💚 mvnsite 4m 17s trunk passed
+1 💚 javadoc 3m 42s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 3m 43s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 20s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 21m 21s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 23s Maven dependency ordering for patch
+1 💚 mvninstall 2m 58s the patch passed
+1 💚 compile 9m 48s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javac 9m 48s the patch passed
+1 💚 compile 9m 11s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 javac 9m 11s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 2m 0s the patch passed
+1 💚 mvnsite 4m 9s the patch passed
+1 💚 javadoc 3m 36s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 3m 38s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 17s hadoop-project has no data from spotbugs
+1 💚 shadedclient 21m 11s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 19s hadoop-project in the patch passed.
+1 💚 unit 0m 46s hadoop-yarn-api in the patch passed.
+1 💚 unit 3m 21s hadoop-yarn-server-common in the patch passed.
+1 💚 unit 94m 10s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 24m 23s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 27m 3s hadoop-yarn-client in the patch passed.
+1 💚 unit 0m 57s hadoop-yarn-server-timelineservice-documentstore in the patch passed.
+1 💚 unit 0m 54s hadoop-yarn-server-globalpolicygenerator in the patch passed.
+1 💚 unit 20m 57s hadoop-yarn-applications-distributedshell in the patch passed.
+1 💚 unit 19m 44s hadoop-yarn-services-core in the patch passed.
+1 💚 asflicense 0m 46s The patch does not generate ASF License warnings.
349m 31s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/5/artifact/out/Dockerfile
GITHUB PR #7345
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle
uname Linux 914178bf5010 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / f9307bb
Default Java Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/5/testReport/
Max. process+thread count 928 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-documentstore hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/5/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 20s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 6 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 5m 54s Maven dependency ordering for branch
+1 💚 mvninstall 19m 30s trunk passed
+1 💚 compile 10m 4s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 compile 9m 18s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 checkstyle 2m 6s trunk passed
+1 💚 mvnsite 4m 18s trunk passed
+1 💚 javadoc 3m 40s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 3m 44s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 23s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 21m 37s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 24s Maven dependency ordering for patch
+1 💚 mvninstall 2m 53s the patch passed
+1 💚 compile 9m 47s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javac 9m 47s the patch passed
+1 💚 compile 8m 59s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 javac 8m 59s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 2m 5s the patch passed
+1 💚 mvnsite 4m 9s the patch passed
+1 💚 javadoc 3m 35s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 3m 44s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 20s hadoop-project has no data from spotbugs
+1 💚 shadedclient 21m 12s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 19s hadoop-project in the patch passed.
+1 💚 unit 0m 48s hadoop-yarn-api in the patch passed.
+1 💚 unit 3m 35s hadoop-yarn-server-common in the patch passed.
+1 💚 unit 93m 45s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 24m 21s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 26m 40s hadoop-yarn-client in the patch passed.
+1 💚 unit 0m 53s hadoop-yarn-server-timelineservice-documentstore in the patch passed.
+1 💚 unit 0m 57s hadoop-yarn-server-globalpolicygenerator in the patch passed.
+1 💚 unit 21m 3s hadoop-yarn-applications-distributedshell in the patch passed.
+1 💚 unit 19m 45s hadoop-yarn-services-core in the patch passed.
+1 💚 asflicense 0m 38s The patch does not generate ASF License warnings.
349m 21s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/6/artifact/out/Dockerfile
GITHUB PR #7345
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle
uname Linux f54915742171 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / f9307bb
Default Java Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/6/testReport/
Max. process+thread count 956 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-documentstore hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/6/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@cnauroth cnauroth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for another patch, @slfan1989 . I entered a few comments.

@@ -560,13 +560,17 @@ public void testAMRMClientMatchStorage() throws YarnException, IOException {
}
}

assertEquals(2, allocatedContainerCount);
assertTrue(allocatedContainerCount <= 2);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For these changed/commented-out assertions, I would have expected them to pass. Do you think the problem is more like a race condition with the assertions running before the state has settled? If so, would GenericTestUtils#waitFor be helpful?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I plan to further investigate this part of the unit tests, which may take some time. The best outcome would be for them to pass successfully.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LambdaTestUtils.eventually() is there to handle assertions which don't resolve immediately.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@steveloughran Thank you for the suggestion! I will try using LambdaTestUtils.eventually().

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cnauroth I have tried various approaches, such as increasing the number of iterations, extending the Container runtime, increasing the timeout, and adjusting amExpireMs and rollingIntervalSec. However, I still haven't found an appropriate timeout or iteration count. Every time I resolve one unit test issue, another test gets affected.

After investigation, I found that the issue lies in CapacityScheduler, while FairScheduler has consistently performed well in multiple tests. Given that this issue may have existed for a long time, we could adopt a more flexible approach for now—prioritizing the merge of this PR and completing the migration of the YARN module from JUnit4 to JUnit5. After that, we can focus on further resolving this issue, which may require more time to fully optimize.

cc: @steveloughran

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will continue to follow up on this issue.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I can buy into relaxing these tests if there is known flakiness unrelated to the JUnit upgrade. I'd like to investigate more myself to prove that theory. I'll take a closer look next week.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your response! I will provide a summary later, and I hope it will be helpful in resolving the issue.

@@ -154,7 +155,8 @@ private static void setupQueueConfiguration(
config.setMaximumCapacity(a, 100f);
}

private void cleanUp() throws Exception {
@After
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is @After now, it would end up getting triggered twice for methods that directly invoke it: testGetSchedulerConf and testFormatSchedulerConf. Can you please remove those two direct calls?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the suggestion. I will improve this part of the code.

@@ -541,4 +541,6 @@ public static ContainerId createContainerId(int cId, int aId) {
ContainerId.newContainerId(appAttemptId, cId);
return containerId;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert this file since the changes are a no-op?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will fix this issue.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ patch 0m 21s #7345 does not apply to trunk. Rebase required? Wrong Branch? See https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute for help.
Subsystem Report/Notes
GITHUB PR #7345
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/7/console
versions git=2.34.1
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 20s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 5 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 5m 52s Maven dependency ordering for branch
+1 💚 mvninstall 18m 23s trunk passed
+1 💚 compile 3m 38s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 compile 3m 19s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 checkstyle 1m 0s trunk passed
+1 💚 mvnsite 4m 45s trunk passed
+1 💚 javadoc 4m 44s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 4m 34s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 spotbugs 7m 42s trunk passed
+1 💚 shadedclient 19m 56s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 20m 10s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
+1 💚 mvninstall 2m 45s the patch passed
+1 💚 compile 3m 18s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javac 3m 18s the patch passed
+1 💚 compile 3m 46s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 javac 3m 46s the patch passed
-1 ❌ blanks 0m 0s /blanks-eol.txt The patch has 2 line(s) that end in blanks. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚 checkstyle 0m 58s the patch passed
+1 💚 mvnsite 4m 5s the patch passed
+1 💚 javadoc 3m 15s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 4m 4s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 spotbugs 8m 37s the patch passed
+1 💚 shadedclient 24m 28s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 46s hadoop-yarn-api in the patch passed.
-1 ❌ unit 0m 29s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-common.txt hadoop-yarn-server-common in the patch failed.
-1 ❌ unit 0m 28s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt hadoop-yarn-server-resourcemanager in the patch failed.
-1 ❌ unit 0m 30s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt hadoop-yarn-server-nodemanager in the patch failed.
-1 ❌ unit 0m 29s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt hadoop-yarn-client in the patch failed.
-1 ❌ unit 0m 28s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-timelineservice-documentstore.txt hadoop-yarn-server-timelineservice-documentstore in the patch failed.
-1 ❌ unit 0m 28s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-globalpolicygenerator.txt hadoop-yarn-server-globalpolicygenerator in the patch failed.
-1 ❌ unit 0m 29s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-applications_hadoop-yarn-applications-distributedshell.txt hadoop-yarn-applications-distributedshell in the patch failed.
-1 ❌ unit 32m 21s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-applications_hadoop-yarn-services_hadoop-yarn-services-core.txt hadoop-yarn-services-core in the patch passed.
+0 🆗 asflicense 0m 42s ASF License check generated no output?
170m 0s
Reason Tests
Failed junit tests hadoop.yarn.service.component.TestComponentDecommissionInstances
hadoop.yarn.service.TestYarnNativeServices
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/9/artifact/out/Dockerfile
GITHUB PR #7345
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint
uname Linux 99c5fad3ac45 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / c44b29c
Default Java Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/9/testReport/
Max. process+thread count 734 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-documentstore hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core U: hadoop-yarn-project/hadoop-yarn
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/9/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 52s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 5 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 6m 4s Maven dependency ordering for branch
+1 💚 mvninstall 36m 24s trunk passed
+1 💚 compile 8m 13s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 compile 7m 15s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 checkstyle 1m 58s trunk passed
+1 💚 mvnsite 7m 19s trunk passed
+1 💚 javadoc 7m 7s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 6m 34s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 spotbugs 12m 2s trunk passed
+1 💚 shadedclient 39m 17s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 39m 43s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 32s Maven dependency ordering for patch
+1 💚 mvninstall 4m 13s the patch passed
+1 💚 compile 7m 22s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javac 7m 22s the patch passed
+1 💚 compile 7m 11s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 javac 7m 11s the patch passed
-1 ❌ blanks 0m 0s /blanks-eol.txt The patch has 2 line(s) that end in blanks. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚 checkstyle 1m 51s the patch passed
+1 💚 mvnsite 6m 36s the patch passed
+1 💚 javadoc 6m 20s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 5m 48s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 spotbugs 13m 0s the patch passed
+1 💚 shadedclient 39m 23s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 1m 9s hadoop-yarn-api in the patch passed.
+1 💚 unit 4m 46s hadoop-yarn-server-common in the patch passed.
+1 💚 unit 112m 50s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 27m 15s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 30m 8s hadoop-yarn-client in the patch passed.
+1 💚 unit 1m 12s hadoop-yarn-server-timelineservice-documentstore in the patch passed.
+1 💚 unit 1m 18s hadoop-yarn-server-globalpolicygenerator in the patch passed.
+1 💚 unit 22m 15s hadoop-yarn-applications-distributedshell in the patch passed.
+1 💚 unit 21m 3s hadoop-yarn-services-core in the patch passed.
+1 💚 asflicense 1m 5s The patch does not generate ASF License warnings.
453m 10s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/8/artifact/out/Dockerfile
GITHUB PR #7345
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint
uname Linux a24b48058730 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 23a16f9
Default Java Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/8/testReport/
Max. process+thread count 934 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-documentstore hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core U: hadoop-yarn-project/hadoop-yarn
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/8/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 20s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 5 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 7m 0s Maven dependency ordering for branch
+1 💚 mvninstall 18m 26s trunk passed
+1 💚 compile 3m 41s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 compile 3m 23s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 checkstyle 1m 0s trunk passed
+1 💚 mvnsite 4m 49s trunk passed
+1 💚 javadoc 4m 35s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 4m 35s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 spotbugs 7m 32s trunk passed
+1 💚 shadedclient 20m 21s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 20m 35s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 21s Maven dependency ordering for patch
+1 💚 mvninstall 2m 40s the patch passed
+1 💚 compile 3m 14s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javac 3m 14s the patch passed
+1 💚 compile 3m 18s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 javac 3m 18s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 0m 53s the patch passed
+1 💚 mvnsite 4m 19s the patch passed
+1 💚 javadoc 4m 1s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 4m 2s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 spotbugs 8m 30s the patch passed
+1 💚 shadedclient 20m 11s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 47s hadoop-yarn-api in the patch passed.
+1 💚 unit 3m 29s hadoop-yarn-server-common in the patch passed.
+1 💚 unit 93m 41s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 unit 24m 4s hadoop-yarn-server-nodemanager in the patch passed.
+1 💚 unit 27m 7s hadoop-yarn-client in the patch passed.
+1 💚 unit 0m 55s hadoop-yarn-server-timelineservice-documentstore in the patch passed.
+1 💚 unit 0m 58s hadoop-yarn-server-globalpolicygenerator in the patch passed.
+1 💚 unit 21m 8s hadoop-yarn-applications-distributedshell in the patch passed.
+1 💚 unit 19m 27s hadoop-yarn-services-core in the patch passed.
+1 💚 asflicense 0m 42s The patch does not generate ASF License warnings.
322m 27s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/10/artifact/out/Dockerfile
GITHUB PR #7345
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint
uname Linux 29c753d7a8da 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 57bdfd4
Default Java Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/10/testReport/
Max. process+thread count 945 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-documentstore hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core U: hadoop-yarn-project/hadoop-yarn
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7345/10/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants