Skip to content

Conversation

@tomicooler
Copy link
Contributor

Change-Id: Iff7c8d0522003f9ae9d5c01a1070158e45903d3c

Description of PR

The JSON assert tests that were using the createMutableRM were flaky the queue order changed in the "queue": [ {}, {} ] lists. We had a workaround like reinitAfterNodeChane (with a typo) but it didn't work well.

Since there is a comment in the production code in CapacitySchedulerInfo.getQueues about a marshalling issue,
I didn't introduce sorting there, just here for the tests.

git grep -rn '"queuePath" :'

dynamic-testAbsoluteMode-0.json:21:      "queuePath" : "root",
dynamic-testAbsoluteMode-0.json:27:          "queuePath" : "root.default",
dynamic-testAbsoluteMode-0.json:505:          "queuePath" : "root.test1",
dynamic-testAbsoluteMode-0.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testAbsoluteMode-0.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testAbsoluteMode-0.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testAbsoluteMode-0.json:2271:          "queuePath" : "root.test2",
dynamic-testAbsoluteMode-16.json:21:      "queuePath" : "root",
dynamic-testAbsoluteMode-16.json:27:          "queuePath" : "root.default",
dynamic-testAbsoluteMode-16.json:505:          "queuePath" : "root.test1",
dynamic-testAbsoluteMode-16.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testAbsoluteMode-16.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testAbsoluteMode-16.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testAbsoluteMode-16.json:2271:          "queuePath" : "root.test2",
dynamic-testAbsoluteMode-32.json:21:      "queuePath" : "root",
dynamic-testAbsoluteMode-32.json:27:          "queuePath" : "root.default",
dynamic-testAbsoluteMode-32.json:505:          "queuePath" : "root.test1",
dynamic-testAbsoluteMode-32.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testAbsoluteMode-32.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testAbsoluteMode-32.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testAbsoluteMode-32.json:2271:          "queuePath" : "root.test2",
dynamic-testAbsoluteMode-legacy-0.json:21:      "queuePath" : "root",
dynamic-testAbsoluteMode-legacy-0.json:27:          "queuePath" : "root.default",
dynamic-testAbsoluteMode-legacy-0.json:505:          "queuePath" : "root.test1",
dynamic-testAbsoluteMode-legacy-0.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testAbsoluteMode-legacy-0.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testAbsoluteMode-legacy-0.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testAbsoluteMode-legacy-0.json:2271:          "queuePath" : "root.test2",
dynamic-testPercentageMode-0.json:21:      "queuePath" : "root",
dynamic-testPercentageMode-0.json:27:          "queuePath" : "root.default",
dynamic-testPercentageMode-0.json:505:          "queuePath" : "root.test1",
dynamic-testPercentageMode-0.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testPercentageMode-0.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testPercentageMode-0.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testPercentageMode-0.json:2271:          "queuePath" : "root.test2",
dynamic-testPercentageMode-16.json:21:      "queuePath" : "root",
dynamic-testPercentageMode-16.json:27:          "queuePath" : "root.default",
dynamic-testPercentageMode-16.json:505:          "queuePath" : "root.test1",
dynamic-testPercentageMode-16.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testPercentageMode-16.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testPercentageMode-16.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testPercentageMode-16.json:2271:          "queuePath" : "root.test2",
dynamic-testPercentageMode-32.json:21:      "queuePath" : "root",
dynamic-testPercentageMode-32.json:27:          "queuePath" : "root.default",
dynamic-testPercentageMode-32.json:505:          "queuePath" : "root.test1",
dynamic-testPercentageMode-32.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testPercentageMode-32.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testPercentageMode-32.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testPercentageMode-32.json:2271:          "queuePath" : "root.test2",
dynamic-testPercentageMode-legacy-0.json:21:      "queuePath" : "root",
dynamic-testPercentageMode-legacy-0.json:27:          "queuePath" : "root.default",
dynamic-testPercentageMode-legacy-0.json:505:          "queuePath" : "root.test1",
dynamic-testPercentageMode-legacy-0.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testPercentageMode-legacy-0.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testPercentageMode-legacy-0.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testPercentageMode-legacy-0.json:2271:          "queuePath" : "root.test2",
dynamic-testWeightMode-0.json:21:      "queuePath" : "root",
dynamic-testWeightMode-0.json:27:          "queuePath" : "root.default",
dynamic-testWeightMode-0.json:505:          "queuePath" : "root.test1",
dynamic-testWeightMode-0.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testWeightMode-0.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testWeightMode-0.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testWeightMode-0.json:2271:          "queuePath" : "root.test2",
dynamic-testWeightMode-16.json:21:      "queuePath" : "root",
dynamic-testWeightMode-16.json:27:          "queuePath" : "root.default",
dynamic-testWeightMode-16.json:505:          "queuePath" : "root.test1",
dynamic-testWeightMode-16.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testWeightMode-16.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testWeightMode-16.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testWeightMode-16.json:2271:          "queuePath" : "root.test2",
dynamic-testWeightMode-32.json:21:      "queuePath" : "root",
dynamic-testWeightMode-32.json:27:          "queuePath" : "root.default",
dynamic-testWeightMode-32.json:505:          "queuePath" : "root.test1",
dynamic-testWeightMode-32.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testWeightMode-32.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testWeightMode-32.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testWeightMode-32.json:2271:          "queuePath" : "root.test2",
dynamic-testWeightMode-after-aqc.json:21:      "queuePath" : "root",
dynamic-testWeightMode-after-aqc.json:27:          "queuePath" : "root.default",
dynamic-testWeightMode-after-aqc.json:505:          "queuePath" : "root.test1",
dynamic-testWeightMode-after-aqc.json:522:              "queuePath" : "root.test1.test1_2",
dynamic-testWeightMode-after-aqc.json:1001:              "queuePath" : "root.test1.test1_1",
dynamic-testWeightMode-after-aqc.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testWeightMode-after-aqc.json:2270:          "queuePath" : "root.test2",
dynamic-testWeightMode-after-aqc.json:2287:              "queuePath" : "root.test2.auto1",
dynamic-testWeightMode-after-aqc.json:2766:              "queuePath" : "root.test2.auto2",
dynamic-testWeightMode-after-aqc.json:3244:              "queuePath" : "root.test2.autoParent1",
dynamic-testWeightMode-after-aqc.json:3261:                  "queuePath" : "root.test2.autoParent1.auto4",
dynamic-testWeightMode-after-aqc.json:3740:                  "queuePath" : "root.test2.autoParent1.auto3",
dynamic-testWeightMode-after-aqc.json:4543:              "queuePath" : "root.test2.autoParent2",
dynamic-testWeightMode-after-aqc.json:4560:                  "queuePath" : "root.test2.autoParent2.auto5",
dynamic-testWeightMode-after-aqc.json:5358:              "queuePath" : "root.test2.parent2",
dynamic-testWeightMode-after-aqc.json:5375:                  "queuePath" : "root.test2.parent2.auto7",
dynamic-testWeightMode-after-aqc.json:6173:              "queuePath" : "root.test2.parent",
dynamic-testWeightMode-after-aqc.json:6189:                  "queuePath" : "root.test2.parent.autoParent2",
dynamic-testWeightMode-after-aqc.json:6206:                      "queuePath" : "root.test2.parent.autoParent2.auto6",
dynamic-testWeightMode-before-aqc.json:21:      "queuePath" : "root",
dynamic-testWeightMode-before-aqc.json:27:          "queuePath" : "root.default",
dynamic-testWeightMode-before-aqc.json:505:          "queuePath" : "root.test1",
dynamic-testWeightMode-before-aqc.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testWeightMode-before-aqc.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testWeightMode-before-aqc.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testWeightMode-before-aqc.json:2270:          "queuePath" : "root.test2",
dynamic-testWeightMode-legacy-0.json:21:      "queuePath" : "root",
dynamic-testWeightMode-legacy-0.json:27:          "queuePath" : "root.default",
dynamic-testWeightMode-legacy-0.json:505:          "queuePath" : "root.test1",
dynamic-testWeightMode-legacy-0.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testWeightMode-legacy-0.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testWeightMode-legacy-0.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testWeightMode-legacy-0.json:2271:          "queuePath" : "root.test2",
dynamic-testWeightMode-legacy-16.json:21:      "queuePath" : "root",
dynamic-testWeightMode-legacy-16.json:27:          "queuePath" : "root.default",
dynamic-testWeightMode-legacy-16.json:505:          "queuePath" : "root.test1",
dynamic-testWeightMode-legacy-16.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testWeightMode-legacy-16.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testWeightMode-legacy-16.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testWeightMode-legacy-16.json:2271:          "queuePath" : "root.test2",
dynamic-testWeightMode-legacy-32.json:21:      "queuePath" : "root",
dynamic-testWeightMode-legacy-32.json:27:          "queuePath" : "root.default",
dynamic-testWeightMode-legacy-32.json:505:          "queuePath" : "root.test1",
dynamic-testWeightMode-legacy-32.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testWeightMode-legacy-32.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testWeightMode-legacy-32.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testWeightMode-legacy-32.json:2271:          "queuePath" : "root.test2",
dynamic-testWeightMode-legacy-after-aqc.json:21:      "queuePath" : "root",
dynamic-testWeightMode-legacy-after-aqc.json:27:          "queuePath" : "root.default",
dynamic-testWeightMode-legacy-after-aqc.json:505:          "queuePath" : "root.test1",
dynamic-testWeightMode-legacy-after-aqc.json:522:              "queuePath" : "root.test1.test1_2",
dynamic-testWeightMode-legacy-after-aqc.json:1001:              "queuePath" : "root.test1.test1_1",
dynamic-testWeightMode-legacy-after-aqc.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testWeightMode-legacy-after-aqc.json:2270:          "queuePath" : "root.test2",
dynamic-testWeightMode-legacy-after-aqc.json:2287:              "queuePath" : "root.test2.auto1",
dynamic-testWeightMode-legacy-after-aqc.json:2766:              "queuePath" : "root.test2.auto2",
dynamic-testWeightMode-legacy-after-aqc.json:3244:              "queuePath" : "root.test2.autoParent1",
dynamic-testWeightMode-legacy-after-aqc.json:3261:                  "queuePath" : "root.test2.autoParent1.auto4",
dynamic-testWeightMode-legacy-after-aqc.json:3740:                  "queuePath" : "root.test2.autoParent1.auto3",
dynamic-testWeightMode-legacy-after-aqc.json:4543:              "queuePath" : "root.test2.autoParent2",
dynamic-testWeightMode-legacy-after-aqc.json:4560:                  "queuePath" : "root.test2.autoParent2.auto5",
dynamic-testWeightMode-legacy-after-aqc.json:5358:              "queuePath" : "root.test2.parent2",
dynamic-testWeightMode-legacy-after-aqc.json:5375:                  "queuePath" : "root.test2.parent2.auto7",
dynamic-testWeightMode-legacy-after-aqc.json:6173:              "queuePath" : "root.test2.parent",
dynamic-testWeightMode-legacy-after-aqc.json:6189:                  "queuePath" : "root.test2.parent.autoParent2",
dynamic-testWeightMode-legacy-after-aqc.json:6206:                      "queuePath" : "root.test2.parent.autoParent2.auto6",
dynamic-testWeightMode-legacy-before-aqc.json:21:      "queuePath" : "root",
dynamic-testWeightMode-legacy-before-aqc.json:27:          "queuePath" : "root.default",
dynamic-testWeightMode-legacy-before-aqc.json:505:          "queuePath" : "root.test1",
dynamic-testWeightMode-legacy-before-aqc.json:522:              "queuePath" : "root.test1.test1_1",
dynamic-testWeightMode-legacy-before-aqc.json:1001:              "queuePath" : "root.test1.test1_2",
dynamic-testWeightMode-legacy-before-aqc.json:1480:              "queuePath" : "root.test1.test1_3",
dynamic-testWeightMode-legacy-before-aqc.json:2270:          "queuePath" : "root.test2",
mixed-testSchedulerAbsoluteAndPercentage-0.json:21:      "queuePath" : "root",
mixed-testSchedulerAbsoluteAndPercentage-0.json:27:          "queuePath" : "root.default",
mixed-testSchedulerAbsoluteAndPercentage-0.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerAbsoluteAndPercentage-0.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerAbsoluteAndPercentage-0.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerAbsoluteAndPercentage-0.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerAbsoluteAndPercentage-0.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerAbsoluteAndPercentage-16.json:21:      "queuePath" : "root",
mixed-testSchedulerAbsoluteAndPercentage-16.json:27:          "queuePath" : "root.default",
mixed-testSchedulerAbsoluteAndPercentage-16.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerAbsoluteAndPercentage-16.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerAbsoluteAndPercentage-16.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerAbsoluteAndPercentage-16.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerAbsoluteAndPercentage-16.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerAbsoluteAndPercentage-32.json:21:      "queuePath" : "root",
mixed-testSchedulerAbsoluteAndPercentage-32.json:27:          "queuePath" : "root.default",
mixed-testSchedulerAbsoluteAndPercentage-32.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerAbsoluteAndPercentage-32.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerAbsoluteAndPercentage-32.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerAbsoluteAndPercentage-32.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerAbsoluteAndPercentage-32.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-0.json:21:      "queuePath" : "root",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-0.json:27:          "queuePath" : "root.default",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-0.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-0.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-0.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-0.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-0.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-16.json:21:      "queuePath" : "root",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-16.json:27:          "queuePath" : "root.default",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-16.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-16.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-16.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-16.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-16.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-32.json:21:      "queuePath" : "root",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-32.json:27:          "queuePath" : "root.default",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-32.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-32.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-32.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-32.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerAbsoluteAndPercentageAndWeight-32.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-0.json:21:      "queuePath" : "root",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-0.json:27:          "queuePath" : "root.default",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-0.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-0.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-0.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-0.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-0.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-16.json:21:      "queuePath" : "root",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-16.json:27:          "queuePath" : "root.default",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-16.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-16.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-16.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-16.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-16.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-32.json:21:      "queuePath" : "root",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-32.json:27:          "queuePath" : "root.default",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-32.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-32.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-32.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-32.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerAbsoluteAndPercentageAndWeightMixed-32.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerAbsoluteAndWeight-0.json:21:      "queuePath" : "root",
mixed-testSchedulerAbsoluteAndWeight-0.json:27:          "queuePath" : "root.default",
mixed-testSchedulerAbsoluteAndWeight-0.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerAbsoluteAndWeight-0.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerAbsoluteAndWeight-0.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerAbsoluteAndWeight-0.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerAbsoluteAndWeight-0.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerAbsoluteAndWeight-16.json:21:      "queuePath" : "root",
mixed-testSchedulerAbsoluteAndWeight-16.json:27:          "queuePath" : "root.default",
mixed-testSchedulerAbsoluteAndWeight-16.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerAbsoluteAndWeight-16.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerAbsoluteAndWeight-16.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerAbsoluteAndWeight-16.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerAbsoluteAndWeight-16.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerAbsoluteAndWeight-32.json:21:      "queuePath" : "root",
mixed-testSchedulerAbsoluteAndWeight-32.json:27:          "queuePath" : "root.default",
mixed-testSchedulerAbsoluteAndWeight-32.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerAbsoluteAndWeight-32.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerAbsoluteAndWeight-32.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerAbsoluteAndWeight-32.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerAbsoluteAndWeight-32.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerPercentageAndWeight-0.json:21:      "queuePath" : "root",
mixed-testSchedulerPercentageAndWeight-0.json:27:          "queuePath" : "root.default",
mixed-testSchedulerPercentageAndWeight-0.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerPercentageAndWeight-0.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerPercentageAndWeight-0.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerPercentageAndWeight-0.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerPercentageAndWeight-0.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerPercentageAndWeight-16.json:21:      "queuePath" : "root",
mixed-testSchedulerPercentageAndWeight-16.json:27:          "queuePath" : "root.default",
mixed-testSchedulerPercentageAndWeight-16.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerPercentageAndWeight-16.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerPercentageAndWeight-16.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerPercentageAndWeight-16.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerPercentageAndWeight-16.json:2271:          "queuePath" : "root.test_2",
mixed-testSchedulerPercentageAndWeight-32.json:21:      "queuePath" : "root",
mixed-testSchedulerPercentageAndWeight-32.json:27:          "queuePath" : "root.default",
mixed-testSchedulerPercentageAndWeight-32.json:505:          "queuePath" : "root.test_1",
mixed-testSchedulerPercentageAndWeight-32.json:522:              "queuePath" : "root.test_1.test_1_1",
mixed-testSchedulerPercentageAndWeight-32.json:1001:              "queuePath" : "root.test_1.test_1_2",
mixed-testSchedulerPercentageAndWeight-32.json:1480:              "queuePath" : "root.test_1.test_1_3",
mixed-testSchedulerPercentageAndWeight-32.json:2271:          "queuePath" : "root.test_2",
scheduler-response-AbsoluteModeLegacyAutoCreation.json:21:      "queuePath" : "root",
scheduler-response-AbsoluteModeLegacyAutoCreation.json:27:          "queuePath" : "root.default",
scheduler-response-AbsoluteModeLegacyAutoCreation.json:505:          "queuePath" : "root.managed",
scheduler-response-AbsoluteModeLegacyAutoCreation.json:522:              "queuePath" : "root.managed.queue1",
scheduler-response-PerUserResources.json:21:      "queuePath" : "root",
scheduler-response-PerUserResources.json:27:          "queuePath" : "root.a",
scheduler-response-PerUserResources.json:972:          "queuePath" : "root.b",
scheduler-response-PerUserResources.json:1671:          "queuePath" : "root.c",
scheduler-response-PercentageModeLegacyAutoCreation.json:21:      "queuePath" : "root",
scheduler-response-PercentageModeLegacyAutoCreation.json:27:          "queuePath" : "root.default",
scheduler-response-PercentageModeLegacyAutoCreation.json:505:          "queuePath" : "root.managed",
scheduler-response.json:21:      "queuePath" : "root",
scheduler-response.json:27:          "queuePath" : "root.a",
scheduler-response.json:752:          "queuePath" : "root.b",
scheduler-response.json:1231:          "queuePath" : "root.c",

How was this patch tested?

Ran the unit tests locally. YETUS will verify it.

For code changes:

  • Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'YARN-11645. 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?

Change-Id: Iff7c8d0522003f9ae9d5c01a1070158e45903d3c
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 12m 22s 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 🆗 jsonlint 0m 0s jsonlint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 34 new or modified test files.
_ trunk Compile Tests _
+1 💚 mvninstall 44m 1s trunk passed
+1 💚 compile 0m 58s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 compile 0m 52s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 checkstyle 0m 54s trunk passed
+1 💚 mvnsite 0m 56s trunk passed
+1 💚 javadoc 0m 56s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 46s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 1m 56s trunk passed
+1 💚 shadedclient 34m 26s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+1 💚 mvninstall 0m 46s the patch passed
+1 💚 compile 0m 51s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javac 0m 51s the patch passed
+1 💚 compile 0m 44s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 javac 0m 44s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 0m 40s /results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚 mvnsite 0m 47s the patch passed
+1 💚 javadoc 0m 40s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 40s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 1m 55s the patch passed
+1 💚 shadedclient 35m 1s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 101m 47s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 asflicense 0m 34s The patch does not generate ASF License warnings.
245m 11s
Reason Tests
Failed junit tests hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySchedDynamicConfig
hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySchedulerMixedMode
hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySchedLegacyQueueCreation
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/1/artifact/out/Dockerfile
GITHUB PR #6432
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets jsonlint
uname Linux 6b34216fe916 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 0ebe0e2
Default Java Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/1/testReport/
Max. process+thread count 949 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/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 0m 37s 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 🆗 jsonlint 0m 0s jsonlint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 34 new or modified test files.
_ trunk Compile Tests _
-1 ❌ mvninstall 46m 14s /branch-mvninstall-root.txt root in trunk failed.
+1 💚 compile 0m 55s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 compile 0m 48s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 checkstyle 0m 52s trunk passed
+1 💚 mvnsite 0m 56s trunk passed
+1 💚 javadoc 0m 52s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 46s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 1m 53s trunk passed
+1 💚 shadedclient 34m 46s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+1 💚 mvninstall 0m 47s the patch passed
+1 💚 compile 0m 50s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javac 0m 50s the patch passed
+1 💚 compile 0m 43s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 javac 0m 43s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 0m 41s /results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚 mvnsite 0m 47s the patch passed
+1 💚 javadoc 0m 42s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 38s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 1m 55s the patch passed
+1 💚 shadedclient 36m 43s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 102m 33s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 asflicense 0m 35s The patch does not generate ASF License warnings.
238m 27s
Reason Tests
Failed junit tests hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySchedDynamicConfig
hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySchedulerMixedMode
hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySchedLegacyQueueCreation
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/2/artifact/out/Dockerfile
GITHUB PR #6432
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets jsonlint
uname Linux 4bc186084dc1 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 78565a1
Default Java Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/2/testReport/
Max. process+thread count 964 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/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.

Change-Id: Ia848a19b0d2cb9659b34caa3654888c0fa18a374
Change-Id: I64470d2e28060204e5356432f461041fe732e540
a capacity-scheduler.xml, depending on the test order test cases were
failing due to this

Change-Id: I2ef59b12b5a1d02efb905eea1e95dd4ea9942400
@K0K0V0K
Copy link
Contributor

K0K0V0K commented Jan 11, 2024

Thanks @tomicooler for the change!

I have just one small question

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 36s 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 🆗 jsonlint 0m 0s jsonlint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 34 new or modified test files.
_ trunk Compile Tests _
+1 💚 mvninstall 46m 46s trunk passed
+1 💚 compile 1m 0s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 compile 0m 54s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 checkstyle 0m 52s trunk passed
+1 💚 mvnsite 1m 0s trunk passed
+1 💚 javadoc 0m 56s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 46s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 2m 4s trunk passed
+1 💚 shadedclient 37m 52s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+1 💚 mvninstall 0m 48s the patch passed
+1 💚 compile 0m 54s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javac 0m 55s the patch passed
+1 💚 compile 0m 50s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 javac 0m 50s the patch passed
+1 💚 blanks 0m 1s The patch has no blanks issues.
+1 💚 checkstyle 0m 46s the patch passed
+1 💚 mvnsite 0m 50s the patch passed
+1 💚 javadoc 0m 45s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 41s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 2m 2s the patch passed
+1 💚 shadedclient 39m 43s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 102m 17s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 asflicense 0m 34s The patch does not generate ASF License warnings.
245m 53s
Reason Tests
Failed junit tests hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySchedLegacyQueueCreation
hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySchedDynamicConfig
hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySchedulerMixedMode
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/3/artifact/out/Dockerfile
GITHUB PR #6432
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets jsonlint
uname Linux 381ad5877ade 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 9112e9c
Default Java Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/3/testReport/
Max. process+thread count 960 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/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.

Copy link
Member

@brumi1024 brumi1024 left a comment

Choose a reason for hiding this comment

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

Thanks @tomicooler for the patch. Commented.

IOException {
assertJsonType(response);
JSONObject json = response.getEntity(JSONObject.class);
sortQueuesLexically(json);
Copy link
Member

Choose a reason for hiding this comment

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

I was meant to ask this before: is there a reason we're using two separate Json libraries to do (in the end) a string comparison? Couldn't we move completely to Jackson?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved to jackson. There was a change in the test data, because jettison converted the floats (e.g. capacity=100.0) to an int (capacity=100).

Change-Id: Icd2e08eb93f9b8a75fb81bc7ebf282974fc52ca8
Change-Id: I7876fb2f11c5ab1b4fd6083542d5a6faa399a936
Change-Id: I23290e1cddec49b8016b0525d3ea0f4ed127c871
Change-Id: I2998e4028fc34e9adbe2112d8a1e4ccd792e3b41
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 34s 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 🆗 jsonlint 0m 1s jsonlint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 43 new or modified test files.
_ trunk Compile Tests _
+1 💚 mvninstall 43m 30s trunk passed
+1 💚 compile 1m 1s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 compile 0m 54s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 checkstyle 0m 56s trunk passed
+1 💚 mvnsite 1m 0s trunk passed
+1 💚 javadoc 0m 57s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 49s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 2m 10s trunk passed
+1 💚 shadedclient 37m 44s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+1 💚 mvninstall 0m 50s the patch passed
+1 💚 compile 0m 55s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javac 0m 55s the patch passed
+1 💚 compile 0m 46s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 javac 0m 46s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 0m 45s /results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager: The patch generated 4 new + 15 unchanged - 0 fixed = 19 total (was 15)
+1 💚 mvnsite 0m 50s the patch passed
+1 💚 javadoc 0m 45s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 39s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 2m 0s the patch passed
+1 💚 shadedclient 35m 9s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 102m 41s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 asflicense 0m 33s The patch does not generate ASF License warnings.
238m 16s
Reason Tests
Failed junit tests hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue
hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId
hadoop.yarn.server.resourcemanager.TestRMRestart
hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerUtils
hadoop.yarn.server.resourcemanager.rmcontainer.TestRMContainerImpl
hadoop.yarn.server.resourcemanager.scheduler.constraint.TestAllocationTagsManager
hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps
hadoop.yarn.server.resourcemanager.TestResourceManagerMXBean
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestIncreaseAllocationExpirer
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCSQueueStore
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerOvercommit
hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementConstraintsUtil
hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService
hadoop.yarn.server.resourcemanager.scheduler.fair.converter.weightconversion.TestWeightToPercentageConverter
hadoop.yarn.server.resourcemanager.monitor.TestSchedulingMonitor
hadoop.yarn.server.resourcemanager.scheduler.fair.converter.weightconversion.TestWeightToWeightConverter
hadoop.yarn.server.resourcemanager.TestRMEmbeddedElector
hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesNodes
hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueConfigurationAutoRefreshPolicy
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerApps
hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher
hadoop.yarn.server.resourcemanager.scheduler.fair.converter.TestFSConfigToCSConfigConverterMain
hadoop.yarn.server.resourcemanager.scheduler.constraint.algorithm.TestLocalAllocationTagsManager
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodes
hadoop.yarn.server.resourcemanager.scheduler.policy.TestFairOrderingPolicy
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling
hadoop.yarn.server.resourcemanager.resourcetracker.TestNMReconnect
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerWeightMode
hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicy
hadoop.yarn.server.resourcemanager.TestSignalContainer
hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor
hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerMultiNodes
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerWithMultiResourceTypes
hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestZKConfigurationStore
hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler
hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler
hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestLeveldbConfigurationStore
hadoop.yarn.server.resourcemanager.TestRMProxyUsersConf
hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerHealth
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerMaxParallelApps
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAmbiguousLeafs
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/5/artifact/out/Dockerfile
GITHUB PR #6432
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets jsonlint
uname Linux 528b61e99317 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / b574033
Default Java Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/5/testReport/
Max. process+thread count 5397 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/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.

Change-Id: I422e8ffeed4253f72d85069a7e79544c43a2447e
Change-Id: I30fbe959b1a5e0fd9b5cc8ee8b9b62b9bfdb8e1d
@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 36s 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 🆗 jsonlint 0m 0s jsonlint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 43 new or modified test files.
_ trunk Compile Tests _
+1 💚 mvninstall 46m 3s trunk passed
+1 💚 compile 1m 1s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 compile 0m 53s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 checkstyle 0m 54s trunk passed
+1 💚 mvnsite 1m 1s trunk passed
+1 💚 javadoc 0m 57s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 48s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 2m 5s trunk passed
+1 💚 shadedclient 38m 32s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+1 💚 mvninstall 0m 48s the patch passed
+1 💚 compile 0m 52s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javac 0m 52s the patch passed
+1 💚 compile 0m 46s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 javac 0m 46s the patch passed
+1 💚 blanks 0m 1s The patch has no blanks issues.
+1 💚 checkstyle 0m 44s the patch passed
+1 💚 mvnsite 0m 51s the patch passed
+1 💚 javadoc 0m 42s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 40s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 2m 1s the patch passed
+1 💚 shadedclient 35m 8s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 100m 59s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 asflicense 0m 35s The patch does not generate ASF License warnings.
239m 43s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/7/artifact/out/Dockerfile
GITHUB PR #6432
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets jsonlint
uname Linux 570113958c50 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 27fa42f
Default Java Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/7/testReport/
Max. process+thread count 940 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/7/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 34s 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 🆗 jsonlint 0m 0s jsonlint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 43 new or modified test files.
_ trunk Compile Tests _
+1 💚 mvninstall 47m 8s trunk passed
+1 💚 compile 1m 1s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 compile 0m 53s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 checkstyle 0m 57s trunk passed
+1 💚 mvnsite 1m 2s trunk passed
+1 💚 javadoc 0m 55s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 48s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 2m 7s trunk passed
+1 💚 shadedclient 40m 8s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+1 💚 mvninstall 0m 51s the patch passed
+1 💚 compile 0m 54s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javac 0m 54s the patch passed
+1 💚 compile 0m 50s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 javac 0m 50s the patch passed
+1 💚 blanks 0m 1s The patch has no blanks issues.
+1 💚 checkstyle 0m 50s the patch passed
+1 💚 mvnsite 1m 17s the patch passed
+1 💚 javadoc 0m 45s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 39s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 2m 2s the patch passed
+1 💚 shadedclient 37m 24s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 101m 0s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 asflicense 0m 36s The patch does not generate ASF License warnings.
245m 40s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/6/artifact/out/Dockerfile
GITHUB PR #6432
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets jsonlint
uname Linux 646c2d43a3a5 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 27fa42f
Default Java Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/6/testReport/
Max. process+thread count 988 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/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.

Change-Id: I972ad9ae54256849965aa99187d88fe336696b65
Copy link
Member

@brumi1024 brumi1024 left a comment

Choose a reason for hiding this comment

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

Thanks @tomicooler, the latest state LGTM.

Copy link
Contributor

@dineshchitlangia dineshchitlangia left a comment

Choose a reason for hiding this comment

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

LGTM

@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 33s 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 🆗 jsonlint 0m 0s jsonlint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 43 new or modified test files.
_ trunk Compile Tests _
+1 💚 mvninstall 44m 2s trunk passed
+1 💚 compile 1m 2s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 compile 0m 54s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 checkstyle 0m 55s trunk passed
+1 💚 mvnsite 0m 59s trunk passed
+1 💚 javadoc 0m 57s trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 46s trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 2m 2s trunk passed
+1 💚 shadedclient 36m 32s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+1 💚 mvninstall 0m 49s the patch passed
+1 💚 compile 0m 53s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javac 0m 53s the patch passed
+1 💚 compile 0m 45s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 javac 0m 45s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 0m 46s the patch passed
+1 💚 mvnsite 0m 50s the patch passed
+1 💚 javadoc 0m 43s the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04
+1 💚 javadoc 0m 42s the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08
+1 💚 spotbugs 1m 58s the patch passed
+1 💚 shadedclient 36m 27s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 101m 29s hadoop-yarn-server-resourcemanager in the patch passed.
+1 💚 asflicense 0m 34s The patch does not generate ASF License warnings.
237m 19s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/8/artifact/out/Dockerfile
GITHUB PR #6432
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets jsonlint
uname Linux b205a3ddf80d 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 542efb5
Default Java Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/8/testReport/
Max. process+thread count 959 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6432/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.

@brumi1024
Copy link
Member

Thanks @tomicooler for the patch, @K0K0V0K , @dineshchitlangia for the review, merging to trunk.

@brumi1024 brumi1024 merged commit af5c8e7 into apache:trunk Jan 24, 2024
jiajunmao pushed a commit to jiajunmao/hadoop-MLEC that referenced this pull request Feb 6, 2024
susheelgupta7 pushed a commit to susheelgupta7/hadoop that referenced this pull request Aug 1, 2025
susheelgupta7 pushed a commit to susheelgupta7/hadoop that referenced this pull request Aug 2, 2025
susheelgupta7 pushed a commit to susheelgupta7/hadoop that referenced this pull request Aug 5, 2025
susheelgupta7 pushed a commit to susheelgupta7/hadoop that referenced this pull request Aug 5, 2025
steveloughran pushed a commit to steveloughran/hadoop that referenced this pull request Aug 5, 2025
… tests. (apache#6432)

Change-Id: Iea7eaa34b1f24f863c701eb6c31304ed8dc7bce8
(cherry picked from commit 965b8975e87934385e8f3ddc8436adbfbca9aad2)
(cherry picked from commit 97a56d70008fc5683cae202bb90069b7e52029cc)
susheelgupta7 pushed a commit to susheelgupta7/hadoop that referenced this pull request Aug 6, 2025
susheelgupta7 pushed a commit to susheelgupta7/hadoop that referenced this pull request Aug 11, 2025
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.

5 participants