Wed Nov 13 23:11:48 UTC 2019 cd /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager /usr/bin/mvn --batch-mode -Dmaven.repo.local=/home/jenkins/jenkins-slave/workspace/PreCommit-YARN-Build/yetus-m2/hadoop-trunk-patch-0 -Ptest-patch -Pparallel-tests -P!shelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy -Drequire.valgrind -Drequire.test.libhadoop -Pyarn-ui clean test -fae [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Detecting the operating system and CPU architecture [INFO] ------------------------------------------------------------------------ [INFO] os.detected.name: linux [INFO] os.detected.arch: x86_64 [INFO] os.detected.version: 4.15 [INFO] os.detected.version.major: 4 [INFO] os.detected.version.minor: 15 [INFO] os.detected.release: ubuntu [INFO] os.detected.release.version: 16.04 [INFO] os.detected.release.like.ubuntu: true [INFO] os.detected.release.like.debian: true [INFO] os.detected.classifier: linux-x86_64 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Hadoop YARN ResourceManager 3.3.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hadoop-yarn-server-resourcemanager --- [INFO] Deleting /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target [INFO] Deleting /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager (includes = [dependency-reduced-pom.xml], excludes = []) [INFO] [INFO] --- maven-antrun-plugin:1.7:run (create-testdirs) @ hadoop-yarn-server-resourcemanager --- [INFO] Executing tasks main: [mkdir] Created dir: /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/test-dir [INFO] Executed tasks [INFO] [INFO] --- protobuf-maven-plugin:0.5.1:compile (src-compile-protoc) @ hadoop-yarn-server-resourcemanager --- [INFO] Compiling 1 proto file(s) to /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/generated-sources/java [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hadoop-yarn-server-resourcemanager --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hadoop-yarn-server-resourcemanager --- [INFO] Compiling 655 source files to /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/classes [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java:[393,41] [deprecation] CURATOR_LEADER_ELECTOR in YarnConfiguration has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/generated-sources/java/org/apache/hadoop/yarn/proto/YarnServerResourceManagerRecoveryProtos.java:[563,137] [deprecation] PARSER in ApplicationSubmissionContextProto has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/generated-sources/java/org/apache/hadoop/yarn/proto/YarnServerResourceManagerRecoveryProtos.java:[610,117] [deprecation] PARSER in RPCCallerContextProto has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/generated-sources/java/org/apache/hadoop/yarn/proto/YarnServerResourceManagerRecoveryProtos.java:[624,102] [deprecation] PARSER in ApplicationTimeoutMapProto has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/generated-sources/java/org/apache/hadoop/yarn/proto/YarnServerResourceManagerRecoveryProtos.java:[2613,110] [deprecation] PARSER in ApplicationAttemptIdProto has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/generated-sources/java/org/apache/hadoop/yarn/proto/YarnServerResourceManagerRecoveryProtos.java:[2626,105] [deprecation] PARSER in ContainerProto has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/generated-sources/java/org/apache/hadoop/yarn/proto/YarnServerResourceManagerRecoveryProtos.java:[2716,94] [deprecation] PARSER in StringLongMapProto has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/generated-sources/java/org/apache/hadoop/yarn/proto/YarnServerResourceManagerRecoveryProtos.java:[2725,94] [deprecation] PARSER in StringLongMapProto has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/generated-sources/java/org/apache/hadoop/yarn/proto/YarnServerResourceManagerRecoveryProtos.java:[5754,118] [deprecation] PARSER in MasterKeyProto has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/generated-sources/java/org/apache/hadoop/yarn/proto/YarnServerResourceManagerRecoveryProtos.java:[5767,115] [deprecation] PARSER in MasterKeyProto has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/generated-sources/java/org/apache/hadoop/yarn/proto/YarnServerResourceManagerRecoveryProtos.java:[6565,138] [deprecation] PARSER in YARNDelegationTokenIdentifierProto has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java:[264,38] [deprecation] RM_SCHEDULER_INCREMENT_ALLOCATION_MB in FairSchedulerConfiguration has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java:[291,38] [deprecation] RM_SCHEDULER_INCREMENT_ALLOCATION_VCORES in FairSchedulerConfiguration has been deprecated [INFO] [INFO] --- protobuf-maven-plugin:0.5.1:test-compile (src-test-compile-protoc) @ hadoop-yarn-server-resourcemanager --- [INFO] Compiling 1 proto file(s) to /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/generated-test-sources/java [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hadoop-yarn-server-resourcemanager --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 29 resources [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hadoop-yarn-server-resourcemanager --- [INFO] Compiling 340 source files to /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/test-classes [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRMWebServicesReservation.java:[1107,17] [deprecation] readFileToString(File) in FileUtils has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMAdminService.java:[941,37] [deprecation] AUTO_FAILOVER_EMBEDDED in YarnConfiguration has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMAdminService.java:[942,37] [deprecation] CURATOR_LEADER_ELECTOR in YarnConfiguration has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMAdminService.java:[970,37] [deprecation] AUTO_FAILOVER_EMBEDDED in YarnConfiguration has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMAdminService.java:[996,37] [deprecation] AUTO_FAILOVER_EMBEDDED in YarnConfiguration has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMAdminService.java:[1420,6] [deprecation] delete(Path) in FileSystem has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/generated-test-sources/java/org/apache/hadoop/yarn/proto/YarnSecurityTestClientAMTokenProtos.java:[108,113] [deprecation] PARSER in ApplicationAttemptIdProto has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairSchedulerTestBase.java:[96,42] [deprecation] RM_SCHEDULER_INCREMENT_ALLOCATION_MB in FairSchedulerConfiguration has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairScheduler.java:[245,32] [deprecation] RM_SCHEDULER_INCREMENT_ALLOCATION_MB in FairSchedulerConfiguration has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairScheduler.java:[247,32] [deprecation] RM_SCHEDULER_INCREMENT_ALLOCATION_VCORES in FairSchedulerConfiguration has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairScheduler.java:[263,32] [deprecation] RM_SCHEDULER_INCREMENT_ALLOCATION_MB in FairSchedulerConfiguration has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairScheduler.java:[265,32] [deprecation] RM_SCHEDULER_INCREMENT_ALLOCATION_VCORES in FairSchedulerConfiguration has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestLeaderElectorService.java:[62,37] [deprecation] CURATOR_LEADER_ELECTOR in YarnConfiguration has been deprecated [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMEmbeddedElector.java:[73,37] [deprecation] AUTO_FAILOVER_EMBEDDED in YarnConfiguration has been deprecated [INFO] [INFO] --- maven-jar-plugin:2.5:test-jar (default) @ hadoop-yarn-server-resourcemanager --- [INFO] Building jar: /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/hadoop-yarn-server-resourcemanager-3.3.0-SNAPSHOT-tests.jar [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ hadoop-yarn-server-resourcemanager --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestNodesListManager [ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.051 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestNodesListManager [ERROR] testNodeUsableEvent(org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestNodesListManager) Time elapsed: 3.656 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNodeUsableEvent####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573686741128_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@be96707[proto=application_id { id: 1 cluster_timestamp: 1573686741128 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573686741128 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573686741128_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestNodesListManager.testNodeUsableEvent(TestNodesListManager.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.TestAMLivelinessMonitor [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.277 s - in org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.TestAMLivelinessMonitor [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.TestRMAppAttemptImplDiagnostics [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.156 s - in org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.TestRMAppAttemptImplDiagnostics [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.TestRMAppAttemptTransitions [WARNING] Tests run: 96, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 6.721 s - in org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.TestRMAppAttemptTransitions [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestRMAppTransitions [INFO] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.94 s - in org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestRMAppTransitions [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor [ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 5.451 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor [ERROR] testApplicationLifetimeMonitor[0](org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor) Time elapsed: 2.961 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testApplicationLifetimeMonitor####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573686764855_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: {LIFETIME=10}####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@22786a08[proto=application_id { id: 1 cluster_timestamp: 1573686764855 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } application_timeouts { application_timeout_type: APP_TIMEOUT_LIFETIME timeout: 10 } ,builder=application_id { id: 1 cluster_timestamp: 1573686764855 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } application_timeouts { application_timeout_type: APP_TIMEOUT_LIFETIME timeout: 10 } ,viaProto=true,applicationId=application_1573686764855_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={LIFETIME=10},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor.testApplicationLifetimeMonitor(TestApplicationLifetimeMonitor.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testApplicationLifetimeOnRMRestart[0](org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor) Time elapsed: 0.549 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testApplicationLifetimeOnRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573686766412_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: {LIFETIME=30}####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@ba40153[proto=application_id { id: 1 cluster_timestamp: 1573686766412 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } application_timeouts { application_timeout_type: APP_TIMEOUT_LIFETIME timeout: 30 } ,builder=application_id { id: 1 cluster_timestamp: 1573686766412 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } application_timeouts { application_timeout_type: APP_TIMEOUT_LIFETIME timeout: 30 } ,viaProto=true,applicationId=application_1573686766412_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={LIFETIME=30},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor.testApplicationLifetimeOnRMRestart(TestApplicationLifetimeMonitor.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUpdateApplicationTimeoutForStateStoreUpdateFail[0](org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor) Time elapsed: 0.671 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdateApplicationTimeoutForStateStoreUpdateFail####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573686766949_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: {LIFETIME=30}####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@195048b2[proto=application_id { id: 1 cluster_timestamp: 1573686766949 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } application_timeouts { application_timeout_type: APP_TIMEOUT_LIFETIME timeout: 30 } ,builder=application_id { id: 1 cluster_timestamp: 1573686766949 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } application_timeouts { application_timeout_type: APP_TIMEOUT_LIFETIME timeout: 30 } ,viaProto=true,applicationId=application_1573686766949_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={LIFETIME=30},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor.testUpdateApplicationTimeoutForStateStoreUpdateFail(TestApplicationLifetimeMonitor.java:344) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testApplicationLifetimeMonitor[1](org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor) Time elapsed: 0.529 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testApplicationLifetimeMonitor####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573686767606_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: {LIFETIME=10}####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@484805b[proto=application_id { id: 1 cluster_timestamp: 1573686767606 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } application_timeouts { application_timeout_type: APP_TIMEOUT_LIFETIME timeout: 10 } ,builder=application_id { id: 1 cluster_timestamp: 1573686767606 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } application_timeouts { application_timeout_type: APP_TIMEOUT_LIFETIME timeout: 10 } ,viaProto=true,applicationId=application_1573686767606_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={LIFETIME=10},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor.testApplicationLifetimeMonitor(TestApplicationLifetimeMonitor.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testApplicationLifetimeOnRMRestart[1](org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor) Time elapsed: 0.314 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testApplicationLifetimeOnRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573686768089_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: {LIFETIME=30}####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7d470677[proto=application_id { id: 1 cluster_timestamp: 1573686768089 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } application_timeouts { application_timeout_type: APP_TIMEOUT_LIFETIME timeout: 30 } ,builder=application_id { id: 1 cluster_timestamp: 1573686768089 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } application_timeouts { application_timeout_type: APP_TIMEOUT_LIFETIME timeout: 30 } ,viaProto=true,applicationId=application_1573686768089_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={LIFETIME=30},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor.testApplicationLifetimeOnRMRestart(TestApplicationLifetimeMonitor.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUpdateApplicationTimeoutForStateStoreUpdateFail[1](org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor) Time elapsed: 0.329 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdateApplicationTimeoutForStateStoreUpdateFail####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573686768423_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: {LIFETIME=30}####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@53c63170[proto=application_id { id: 1 cluster_timestamp: 1573686768423 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } application_timeouts { application_timeout_type: APP_TIMEOUT_LIFETIME timeout: 30 } ,builder=application_id { id: 1 cluster_timestamp: 1573686768423 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } application_timeouts { application_timeout_type: APP_TIMEOUT_LIFETIME timeout: 30 } ,viaProto=true,applicationId=application_1573686768423_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={LIFETIME=30},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestApplicationLifetimeMonitor.testUpdateApplicationTimeoutForStateStoreUpdateFail(TestApplicationLifetimeMonitor.java:344) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestClientRMTokens [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.928 s - in org.apache.hadoop.yarn.server.resourcemanager.TestClientRMTokens [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMTimelineService [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.85 s - in org.apache.hadoop.yarn.server.resourcemanager.TestRMTimelineService [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMStoreCommands [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.189 s - in org.apache.hadoop.yarn.server.resourcemanager.TestRMStoreCommands [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.TestRMContainerImpl [ERROR] Tests run: 7, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 5.411 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.TestRMContainerImpl [ERROR] testExistenceOfResourceRequestInRMContainer(org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.TestRMContainerImpl) Time elapsed: 3.099 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testExistenceOfResourceRequestInRMContainer####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573686802469_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@531c311e[proto=application_id { id: 1 cluster_timestamp: 1573686802469 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573686802469 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573686802469_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.TestRMContainerImpl.testExistenceOfResourceRequestInRMContainer(TestRMContainerImpl.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testStoreAllContainerMetrics(org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.TestRMContainerImpl) Time elapsed: 0.955 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testStoreAllContainerMetrics####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573686804724_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5c716417[proto=application_id { id: 1 cluster_timestamp: 1573686804724 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573686804724 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573686804724_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.TestRMContainerImpl.testStoreAllContainerMetrics(TestRMContainerImpl.java:328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testStoreOnlyAMContainerMetrics(org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.TestRMContainerImpl) Time elapsed: 0.42 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testStoreOnlyAMContainerMetrics####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573686805972_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6e055e8f[proto=application_id { id: 1 cluster_timestamp: 1573686805972 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573686805972 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573686805972_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.TestRMContainerImpl.testStoreOnlyAMContainerMetrics(TestRMContainerImpl.java:368) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.recovery.TestMemoryRMStateStore [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.252 s - in org.apache.hadoop.yarn.server.resourcemanager.recovery.TestMemoryRMStateStore [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.recovery.TestFSRMStateStore [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.941 s - in org.apache.hadoop.yarn.server.resourcemanager.recovery.TestFSRMStateStore [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.recovery.TestRMStateStoreUtils [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.324 s - in org.apache.hadoop.yarn.server.resourcemanager.recovery.TestRMStateStoreUtils [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.recovery.TestLeveldbRMStateStore [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.014 s - in org.apache.hadoop.yarn.server.resourcemanager.recovery.TestLeveldbRMStateStore [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.recovery.TestZKRMStateStore [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.136 s - in org.apache.hadoop.yarn.server.resourcemanager.recovery.TestZKRMStateStore [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.recovery.TestZKRMStateStorePerf [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.45 s - in org.apache.hadoop.yarn.server.resourcemanager.recovery.TestZKRMStateStorePerf [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.recovery.TestZKRMStateStoreZKClientConnections [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.274 s - in org.apache.hadoop.yarn.server.resourcemanager.recovery.TestZKRMStateStoreZKClientConnections [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.recovery.TestProtos [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.258 s - in org.apache.hadoop.yarn.server.resourcemanager.recovery.TestProtos [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.monitor.invariants.TestMetricsInvariantChecker [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.751 s - in org.apache.hadoop.yarn.server.resourcemanager.monitor.invariants.TestMetricsInvariantChecker [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.monitor.TestSchedulingMonitor [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.318 s - in org.apache.hadoop.yarn.server.resourcemanager.monitor.TestSchedulingMonitor [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestPreemptionForQueueWithPriorities [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.069 s - in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestPreemptionForQueueWithPriorities [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyIntraQueueWithDRF [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.078 s - in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyIntraQueueWithDRF [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyIntraQueueUserLimit [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.524 s - in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyIntraQueueUserLimit [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicy [INFO] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.508 s - in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicy [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyPreemptToBalance [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.752 s - in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyPreemptToBalance [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyIntraQueueFairOrdering [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.557 s - in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyIntraQueueFairOrdering [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyMockFramework [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.878 s - in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyMockFramework [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyIntraQueue [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.869 s - in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyIntraQueue [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyForReservedContainers [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.639 s - in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyForReservedContainers [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyForNodePartitions [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.658 s - in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyForNodePartitions [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyInterQueueWithDRF [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.063 s - in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicyInterQueueWithDRF [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRMRPCNodeUpdates [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 3.384 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRMRPCNodeUpdates [ERROR] testAMRMDecommissioningNodes(org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRMRPCNodeUpdates) Time elapsed: 2.912 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMRMDecommissioningNodes####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687018898_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@75e91545[proto=application_id { id: 1 cluster_timestamp: 1573687018898 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687018898 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687018898_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRMRPCNodeUpdates.testAMRMDecommissioningNodes(TestAMRMRPCNodeUpdates.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAMRMUnusableNodes(org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRMRPCNodeUpdates) Time elapsed: 0.398 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMRMUnusableNodes####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687020413_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3a62c01e[proto=application_id { id: 1 cluster_timestamp: 1573687020413 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687020413 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687020413_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRMRPCNodeUpdates.testAMRMUnusableNodes(TestAMRMRPCNodeUpdates.java:152) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRMRPCResponseId [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.136 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRMRPCResponseId [ERROR] testARRMResponseId(org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRMRPCResponseId) Time elapsed: 3.066 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testARRMResponseId####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687023147_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@75e91545[proto=application_id { id: 1 cluster_timestamp: 1573687023147 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687023147 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687023147_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRMRPCResponseId.testARRMResponseId(TestAMRMRPCResponseId.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart [ERROR] Tests run: 22, Failures: 0, Errors: 22, Skipped: 0, Time elapsed: 10.851 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart [ERROR] testRMAppAttemptFailuresValidityInterval[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 2.723 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMAppAttemptFailuresValidityInterval####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687027042_0001####Submitapp#### attemptFailuresValidityInterval: 60000####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@13c41575[proto=application_id { id: 1 cluster_timestamp: 1573687027042 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 60000 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687027042 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 60000 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687027042_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testRMAppAttemptFailuresValidityInterval(TestAMRestart.java:763) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testShouldNotCountFailureToMaxAttemptRetry[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.312 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testShouldNotCountFailureToMaxAttemptRetry####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687028765_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6aed0528[proto=application_id { id: 1 cluster_timestamp: 1573687028765 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687028765 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687028765_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testShouldNotCountFailureToMaxAttemptRetry(TestAMRestart.java:428) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testMaxAttemptOneMeansOne[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.315 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMaxAttemptOneMeansOne####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687029079_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@79ba2d[proto=application_id { id: 1 cluster_timestamp: 1573687029079 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687029079 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687029079_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testMaxAttemptOneMeansOne(TestAMRestart.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMRestartNotLostContainerAfterAttemptFailuresValidityInterval[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.577 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMRestartNotLostContainerAfterAttemptFailuresValidityInterval####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687029425_0001####Submitapp#### attemptFailuresValidityInterval: 10000####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@23fac2f1[proto=application_id { id: 1 cluster_timestamp: 1573687029425 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 10000 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687029425 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 10000 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687029425_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testAMRestartNotLostContainerAfterAttemptFailuresValidityInterval(TestAMRestart.java:1023) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMRestartNotLostContainerCompleteMsg[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.481 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMRestartNotLostContainerCompleteMsg####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687029997_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@128ffd46[proto=application_id { id: 1 cluster_timestamp: 1573687029997 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687029997 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687029997_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testAMRestartNotLostContainerCompleteMsg(TestAMRestart.java:921) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartOrFailoverNotCountedForAMFailures[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.27 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartOrFailoverNotCountedForAMFailures####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687030487_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@447c57dd[proto=application_id { id: 1 cluster_timestamp: 1573687030487 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687030487 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687030487_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testRMRestartOrFailoverNotCountedForAMFailures(TestAMRestart.java:685) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPreemptedAMRestartOnRMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.611 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreemptedAMRestartOnRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687030774_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@248e71a4[proto=application_id { id: 1 cluster_timestamp: 1573687030774 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687030774 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687030774_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testPreemptedAMRestartOnRMRestart(TestAMRestart.java:594) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMRestartWithExistingContainers[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.239 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMRestartWithExistingContainers####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687031417_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@32702f68[proto=application_id { id: 1 cluster_timestamp: 1573687031417 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687031417 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687031417_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testAMRestartWithExistingContainers(TestAMRestart.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNMTokensRebindOnAMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.255 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNMTokensRebindOnAMRestart####Submitapp#### name: myname####Submitapp#### user: myuser####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687031642_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6c8b9668[proto=application_id { id: 1 cluster_timestamp: 1573687031642 } application_name: "myname" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687031642 } application_name: "myname" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687031642_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testNMTokensRebindOnAMRestart(TestAMRestart.java:318) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainersFromPreviousAttemptsWithRMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.426 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainersFromPreviousAttemptsWithRMRestart####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687031908_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4e7e5ff1[proto=application_id { id: 1 cluster_timestamp: 1573687031908 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687031908 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687031908_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testContainersFromPreviousAttemptsWithRMRestart(TestAMRestart.java:1140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testQueueResourceDoesNotLeak[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.265 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueResourceDoesNotLeak####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687032350_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@610fe0c5[proto=application_id { id: 1 cluster_timestamp: 1573687032350 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687032350 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687032350_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testQueueResourceDoesNotLeak(TestAMRestart.java:1274) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMAppAttemptFailuresValidityInterval[FAIR](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.371 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMAppAttemptFailuresValidityInterval####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687032710_0001####Submitapp#### attemptFailuresValidityInterval: 60000####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2e3e9312[proto=application_id { id: 1 cluster_timestamp: 1573687032710 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 60000 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687032710 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 60000 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687032710_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testRMAppAttemptFailuresValidityInterval(TestAMRestart.java:763) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testShouldNotCountFailureToMaxAttemptRetry[FAIR](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.683 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testShouldNotCountFailureToMaxAttemptRetry####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687033036_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4c68a70a[proto=application_id { id: 1 cluster_timestamp: 1573687033036 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687033036 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687033036_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testShouldNotCountFailureToMaxAttemptRetry(TestAMRestart.java:428) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testMaxAttemptOneMeansOne[FAIR](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.264 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMaxAttemptOneMeansOne####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687033713_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@21c2fbcb[proto=application_id { id: 1 cluster_timestamp: 1573687033713 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687033713 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687033713_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testMaxAttemptOneMeansOne(TestAMRestart.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMRestartNotLostContainerAfterAttemptFailuresValidityInterval[FAIR](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.209 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMRestartNotLostContainerAfterAttemptFailuresValidityInterval####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687033985_0001####Submitapp#### attemptFailuresValidityInterval: 10000####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@438abca8[proto=application_id { id: 1 cluster_timestamp: 1573687033985 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 10000 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687033985 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 10000 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687033985_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testAMRestartNotLostContainerAfterAttemptFailuresValidityInterval(TestAMRestart.java:1023) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMRestartNotLostContainerCompleteMsg[FAIR](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.373 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMRestartNotLostContainerCompleteMsg####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687034229_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@b3406e8[proto=application_id { id: 1 cluster_timestamp: 1573687034229 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687034229 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687034229_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testAMRestartNotLostContainerCompleteMsg(TestAMRestart.java:921) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartOrFailoverNotCountedForAMFailures[FAIR](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.295 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartOrFailoverNotCountedForAMFailures####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687034602_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5d34b082[proto=application_id { id: 1 cluster_timestamp: 1573687034602 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687034602 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687034602_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testRMRestartOrFailoverNotCountedForAMFailures(TestAMRestart.java:685) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPreemptedAMRestartOnRMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.224 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreemptedAMRestartOnRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687034910_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@69938f15[proto=application_id { id: 1 cluster_timestamp: 1573687034910 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687034910 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687034910_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testPreemptedAMRestartOnRMRestart(TestAMRestart.java:594) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMRestartWithExistingContainers[FAIR](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.228 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMRestartWithExistingContainers####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687035157_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@19d52bf8[proto=application_id { id: 1 cluster_timestamp: 1573687035157 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687035157 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687035157_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testAMRestartWithExistingContainers(TestAMRestart.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNMTokensRebindOnAMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.272 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNMTokensRebindOnAMRestart####Submitapp#### name: myname####Submitapp#### user: myuser####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687035409_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5f20efba[proto=application_id { id: 1 cluster_timestamp: 1573687035409 } application_name: "myname" queue: "root.myuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687035409 } application_name: "myname" queue: "root.myuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687035409_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testNMTokensRebindOnAMRestart(TestAMRestart.java:318) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainersFromPreviousAttemptsWithRMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.307 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainersFromPreviousAttemptsWithRMRestart####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687035706_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5d567646[proto=application_id { id: 1 cluster_timestamp: 1573687035706 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687035706 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687035706_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testContainersFromPreviousAttemptsWithRMRestart(TestAMRestart.java:1140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testQueueResourceDoesNotLeak[FAIR](org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart) Time elapsed: 0.367 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueResourceDoesNotLeak####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687036058_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@20410c3c[proto=application_id { id: 1 cluster_timestamp: 1573687036058 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687036058 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687036058_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testQueueResourceDoesNotLeak(TestAMRestart.java:1274) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestAppManager [INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.703 s - in org.apache.hadoop.yarn.server.resourcemanager.TestAppManager [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMNodeTransitions [INFO] Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.466 s - in org.apache.hadoop.yarn.server.resourcemanager.TestRMNodeTransitions [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestCapacitySchedulerMetrics [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.253 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestCapacitySchedulerMetrics [ERROR] testCSMetrics(org.apache.hadoop.yarn.server.resourcemanager.TestCapacitySchedulerMetrics) Time elapsed: 3.182 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testCSMetrics####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687055611_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@19fb8826[proto=application_id { id: 1 cluster_timestamp: 1573687055611 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687055611 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687055611_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestCapacitySchedulerMetrics.testCSMetrics(TestCapacitySchedulerMetrics.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService [INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.725 s - in org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRM [ERROR] Tests run: 22, Failures: 0, Errors: 20, Skipped: 0, Time elapsed: 11.478 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestRM [ERROR] testKillFailingApp[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 3.114 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testKillFailingApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687092850_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@a1b8a83[proto=application_id { id: 1 cluster_timestamp: 1573687092850 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687092850 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687092850_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testKillFailingApp(TestRM.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testKillFinishingApp[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.41 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testKillFinishingApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687094426_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6f25978f[proto=application_id { id: 1 cluster_timestamp: 1573687094426 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687094426 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687094426_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testKillFinishingApp(TestRM.java:686) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testActivatingApplicationAfterAddingNM[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.271 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testActivatingApplicationAfterAddingNM####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687095130_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3cad3af2[proto=application_id { id: 1 cluster_timestamp: 1573687095130 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687095130 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687095130_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testActivatingApplicationAfterAddingNM(TestRM.java:443) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNMTokenSentForNormalContainer[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.27 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNMTokenSentForNormalContainer####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687095412_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4f2d5f0d[proto=application_id { id: 1 cluster_timestamp: 1573687095412 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687095412 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687095412_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testNMTokenSentForNormalContainer(TestRM.java:206) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInvalidateAMHostPortWhenAMFailedOrKilled[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.321 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInvalidateAMHostPortWhenAMFailedOrKilled####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687095709_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1b75d3ce[proto=application_id { id: 1 cluster_timestamp: 1573687095709 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687095709 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687095709_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testInvalidateAMHostPortWhenAMFailedOrKilled(TestRM.java:487) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppWithNoContainers[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.289 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppWithNoContainers####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687096025_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4da94c00[proto=application_id { id: 1 cluster_timestamp: 1573687096025 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687096025 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687096025_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testAppWithNoContainers(TestRM.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInvalidatedAMHostPortOnAMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.412 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInvalidatedAMHostPortOnAMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687096326_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@19e57a14[proto=application_id { id: 1 cluster_timestamp: 1573687096326 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687096326 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687096326_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testInvalidatedAMHostPortOnAMRestart(TestRM.java:541) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppOnMultiNode[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.297 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppOnMultiNode####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687096749_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@766cf683[proto=application_id { id: 1 cluster_timestamp: 1573687096749 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687096749 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687096749_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testAppOnMultiNode(TestRM.java:150) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testApplicationKillAtAcceptedState[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.527 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testApplicationKillAtAcceptedState####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687097066_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@78fbfac2[proto=application_id { id: 1 cluster_timestamp: 1573687097066 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687097066 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687097066_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testApplicationKillAtAcceptedState(TestRM.java:608) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNMToken[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.334 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNMToken####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687097614_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@45eef3f2[proto=application_id { id: 1 cluster_timestamp: 1573687097614 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687097614 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687097614_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testNMToken(TestRM.java:262) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testKillFailingApp[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.475 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testKillFailingApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687098096_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3763002b[proto=application_id { id: 1 cluster_timestamp: 1573687098096 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687098096 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687098096_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testKillFailingApp(TestRM.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testKillFinishingApp[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.414 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testKillFinishingApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687098438_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6d18dda4[proto=application_id { id: 1 cluster_timestamp: 1573687098438 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687098438 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687098438_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testKillFinishingApp(TestRM.java:686) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testActivatingApplicationAfterAddingNM[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.244 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testActivatingApplicationAfterAddingNM####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687099261_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@738847f8[proto=application_id { id: 1 cluster_timestamp: 1573687099261 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687099261 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687099261_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testActivatingApplicationAfterAddingNM(TestRM.java:443) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNMTokenSentForNormalContainer[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.246 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNMTokenSentForNormalContainer####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687099542_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4d4e642e[proto=application_id { id: 1 cluster_timestamp: 1573687099542 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687099542 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687099542_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testNMTokenSentForNormalContainer(TestRM.java:206) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInvalidateAMHostPortWhenAMFailedOrKilled[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.241 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInvalidateAMHostPortWhenAMFailedOrKilled####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687099788_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@28089000[proto=application_id { id: 1 cluster_timestamp: 1573687099788 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687099788 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687099788_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testInvalidateAMHostPortWhenAMFailedOrKilled(TestRM.java:487) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppWithNoContainers[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.671 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppWithNoContainers####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687100053_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@774b880b[proto=application_id { id: 1 cluster_timestamp: 1573687100053 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687100053 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687100053_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testAppWithNoContainers(TestRM.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInvalidatedAMHostPortOnAMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.256 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInvalidatedAMHostPortOnAMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687100736_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@70e45f64[proto=application_id { id: 1 cluster_timestamp: 1573687100736 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687100736 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687100736_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testInvalidatedAMHostPortOnAMRestart(TestRM.java:541) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppOnMultiNode[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.333 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppOnMultiNode####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687101005_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1151e9bc[proto=application_id { id: 1 cluster_timestamp: 1573687101005 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687101005 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687101005_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testAppOnMultiNode(TestRM.java:150) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testApplicationKillAtAcceptedState[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.238 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testApplicationKillAtAcceptedState####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687101359_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@50bd8e31[proto=application_id { id: 1 cluster_timestamp: 1573687101359 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687101359 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687101359_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testApplicationKillAtAcceptedState(TestRM.java:608) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNMToken[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRM) Time elapsed: 0.594 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNMToken####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687101609_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1bdc15e7[proto=application_id { id: 1 cluster_timestamp: 1573687101609 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687101609 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687101609_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testNMToken(TestRM.java:262) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher [ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 5.877 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher [ERROR] testRetriesOnFailures(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher) Time elapsed: 3.486 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRetriesOnFailures####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687105240_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7c2327fa[proto=application_id { id: 1 cluster_timestamp: 1573687105240 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687105240 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687105240_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher.testRetriesOnFailures(TestApplicationMasterLauncher.java:368) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAMCleanupBeforeLaunch(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher) Time elapsed: 0.447 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMCleanupBeforeLaunch####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687106829_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@40021799[proto=application_id { id: 1 cluster_timestamp: 1573687106829 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687106829 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687106829_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher.testAMCleanupBeforeLaunch(TestApplicationMasterLauncher.java:292) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testallocateBeforeAMRegistration(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher) Time elapsed: 0.415 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testallocateBeforeAMRegistration####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687107244_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@e0b2dfd[proto=application_id { id: 1 cluster_timestamp: 1573687107244 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687107244 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687107244_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher.testallocateBeforeAMRegistration(TestApplicationMasterLauncher.java:388) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSetupTokensWithoutHTTPS(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher) Time elapsed: 0.368 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSetupTokens####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687107662_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@50825a02[proto=application_id { id: 1 cluster_timestamp: 1573687107662 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687107662 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687107662_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher.testSetupTokens(TestApplicationMasterLauncher.java:461) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher.testSetupTokensWithoutHTTPS(TestApplicationMasterLauncher.java:442) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSetupTokensWithHTTPS(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher) Time elapsed: 0.699 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSetupTokens####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687108030_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@27aae97b[proto=application_id { id: 1 cluster_timestamp: 1573687108030 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687108030 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687108030_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher.testSetupTokens(TestApplicationMasterLauncher.java:461) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher.testSetupTokensWithHTTPS(TestApplicationMasterLauncher.java:451) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAMLaunchAndCleanup(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher) Time elapsed: 0.3 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMLaunchAndCleanup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687108721_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3005db4a[proto=application_id { id: 1 cluster_timestamp: 1573687108721 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687108721 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687108721_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterLauncher.testAMLaunchAndCleanup(TestApplicationMasterLauncher.java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.metrics.TestCombinedSystemMetricsPublisher [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.186 s - in org.apache.hadoop.yarn.server.resourcemanager.metrics.TestCombinedSystemMetricsPublisher [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisherForV2 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.801 s - in org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisherForV2 [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.451 s - in org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.resource.TestResourceProfiles [ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.346 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.resource.TestResourceProfiles [ERROR] testResourceProfilesInAMResponse(org.apache.hadoop.yarn.server.resourcemanager.resource.TestResourceProfiles) Time elapsed: 2.655 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testResourceProfilesInAMResponse####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687131522_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@358ede9d[proto=application_id { id: 1 cluster_timestamp: 1573687131522 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687131522 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687131522_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.resource.TestResourceProfiles.testResourceProfilesInAMResponse(TestResourceProfiles.java:166) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.TestFairSchedulerPlanFollower [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.136 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.TestFairSchedulerPlanFollower [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.TestInMemoryPlan [INFO] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.632 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.TestInMemoryPlan [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacitySchedulerPlanFollower [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.318 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacitySchedulerPlanFollower [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.TestRLESparseResourceAllocation [WARNING] Tests run: 15, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.45 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.TestRLESparseResourceAllocation [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.TestPeriodicRLESparseResourceAllocation [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.374 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.TestPeriodicRLESparseResourceAllocation [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.TestReservationSystem [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.271 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.TestReservationSystem [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.TestReservationSystemUtil [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.093 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.TestReservationSystemUtil [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy [ERROR] Tests run: 30, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.776 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy [ERROR] testAllocation[Duration 90,000,000, height 0.25, numSubmission 1, periodic 86400000)](org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy) Time elapsed: 0.032 s <<< FAILURE! junit.framework.AssertionFailedError at junit.framework.Assert.fail(Assert.java:55) at junit.framework.Assert.fail(Assert.java:64) at junit.framework.TestCase.fail(TestCase.java:235) at org.apache.hadoop.yarn.server.resourcemanager.reservation.BaseSharingPolicyTest.runTest(BaseSharingPolicyTest.java:146) at org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy.testAllocation(TestCapacityOverTimePolicy.java:136) at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.TestNoOverCommitPolicy [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.703 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.TestNoOverCommitPolicy [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.planning.TestSimpleCapacityReplanner [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.852 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.planning.TestSimpleCapacityReplanner [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.planning.TestAlignedPlanner [INFO] Tests run: 51, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.827 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.planning.TestAlignedPlanner [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.planning.TestGreedyReservationAgent [INFO] Tests run: 60, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.379 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.planning.TestGreedyReservationAgent [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.planning.TestReservationAgents [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.983 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.planning.TestReservationAgents [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.TestInMemoryReservationAllocation [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.493 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.TestInMemoryReservationAllocation [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.TestReservationInputValidator [INFO] Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.298 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.TestReservationInputValidator [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.logaggregationstatus.TestRMAppLogAggregationStatus [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.557 s - in org.apache.hadoop.yarn.server.resourcemanager.logaggregationstatus.TestRMAppLogAggregationStatus [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.resourcetracker.TestNMReconnect [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.949 s - in org.apache.hadoop.yarn.server.resourcemanager.resourcetracker.TestNMReconnect [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.resourcetracker.TestRMNMRPCResponseId [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.927 s - in org.apache.hadoop.yarn.server.resourcemanager.resourcetracker.TestRMNMRPCResponseId [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.resourcetracker.TestNMExpiry [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.107 s - in org.apache.hadoop.yarn.server.resourcemanager.resourcetracker.TestNMExpiry [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMHAForAsyncScheduler [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.132 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestRMHAForAsyncScheduler [ERROR] testAsyncScheduleThreadStateAfterRMHATransit(org.apache.hadoop.yarn.server.resourcemanager.TestRMHAForAsyncScheduler) Time elapsed: 3.894 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: submitAppAndCheckLaunched####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687272403_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@509c3e86[proto=application_id { id: 1 cluster_timestamp: 1573687272403 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687272403 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687272403_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMHAForAsyncScheduler.submitAppAndCheckLaunched(TestRMHAForAsyncScheduler.java:153) at org.apache.hadoop.yarn.server.resourcemanager.TestRMHAForAsyncScheduler.testAsyncScheduleThreadStateAfterRMHATransit(TestRMHAForAsyncScheduler.java:91) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService [ERROR] Tests run: 9, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 8.283 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService [ERROR] testAppAttemptRemovalAfterNodeRemoval(org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService) Time elapsed: 2.849 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppAttemptRemovalAfterNodeRemoval####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687277323_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4bfb4fb7[proto=application_id { id: 1 cluster_timestamp: 1573687277323 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687277323 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687277323_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService.testAppAttemptRemovalAfterNodeRemoval(TestOpportunisticContainerAllocatorAMService.java:929) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testOpportunisticSchedulerMetrics(org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService) Time elapsed: 0.497 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testOpportunisticSchedulerMetrics####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687279071_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5a0b5f52[proto=application_id { id: 1 cluster_timestamp: 1573687279071 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687279071 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687279071_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService.testOpportunisticSchedulerMetrics(TestOpportunisticContainerAllocatorAMService.java:749) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainerAutoUpdateContainer(org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService) Time elapsed: 0.755 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerAutoUpdateContainer####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687279894_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6e3c89ba[proto=application_id { id: 1 cluster_timestamp: 1573687279894 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687279894 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687279894_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService.testContainerAutoUpdateContainer(TestOpportunisticContainerAllocatorAMService.java:582) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMCrashDuringAllocate(org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService) Time elapsed: 0.48 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMCrashDuringAllocate####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687280284_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@20863675[proto=application_id { id: 1 cluster_timestamp: 1573687280284 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687280284 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687280284_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService.testAMCrashDuringAllocate(TestOpportunisticContainerAllocatorAMService.java:825) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainerPromoteAndDemoteBeforeContainerStart(org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService) Time elapsed: 0.548 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerPromoteAndDemoteBeforeContainerStart####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687282238_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@379ba446[proto=application_id { id: 1 cluster_timestamp: 1573687282238 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687282238 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687282238_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService.testContainerPromoteAndDemoteBeforeContainerStart(TestOpportunisticContainerAllocatorAMService.java:202) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNodeRemovalDuringAllocate(org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService) Time elapsed: 0.329 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNodeRemovalDuringAllocate####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687282751_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7eef6186[proto=application_id { id: 1 cluster_timestamp: 1573687282751 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687282751 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687282751_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService.testNodeRemovalDuringAllocate(TestOpportunisticContainerAllocatorAMService.java:876) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainerPromoteAfterContainerStart(org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService) Time elapsed: 0.439 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerPromoteAfterContainerStart####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687283070_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@18551a1a[proto=application_id { id: 1 cluster_timestamp: 1573687283070 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687283070 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687283070_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService.testContainerPromoteAfterContainerStart(TestOpportunisticContainerAllocatorAMService.java:361) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainerPromoteAfterContainerComplete(org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService) Time elapsed: 0.625 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerPromoteAfterContainerComplete####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687283511_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7a54b00c[proto=application_id { id: 1 cluster_timestamp: 1573687283511 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687283511 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687283511_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService.testContainerPromoteAfterContainerComplete(TestOpportunisticContainerAllocatorAMService.java:478) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestApplicationACLs [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.933 s - in org.apache.hadoop.yarn.server.resourcemanager.TestApplicationACLs [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestMoveApplication [ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.21 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestMoveApplication [ERROR] testMoveSuccessful(org.apache.hadoop.yarn.server.resourcemanager.TestMoveApplication) Time elapsed: 0.729 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMoveSuccessful####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687296238_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@135aa158[proto=application_id { id: 1 cluster_timestamp: 1573687296238 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687296238 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687296238_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestMoveApplication.testMoveSuccessful(TestMoveApplication.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestKillApplicationWithRMHA [ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 7.866 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestKillApplicationWithRMHA [ERROR] testKillAppWhenFailoverHappensAtRunningState(org.apache.hadoop.yarn.server.resourcemanager.TestKillApplicationWithRMHA) Time elapsed: 4.656 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testKillAppWhenFailoverHappensAtRunningState####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687300010_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@23fa05f4[proto=application_id { id: 1 cluster_timestamp: 1573687300010 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687300010 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687300010_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestKillApplicationWithRMHA.testKillAppWhenFailoverHappensAtRunningState(TestKillApplicationWithRMHA.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testKillAppWhenFailoverHappensAtNewState(org.apache.hadoop.yarn.server.resourcemanager.TestKillApplicationWithRMHA) Time elapsed: 1.133 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testKillAppWhenFailoverHappensAtNewState####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687302978_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5a23863c[proto=application_id { id: 1 cluster_timestamp: 1573687302978 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687302978 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687302978_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts=,schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestKillApplicationWithRMHA.testKillAppWhenFailoverHappensAtNewState(TestKillApplicationWithRMHA.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testKillAppWhenFailoverHappensAtFinalState(org.apache.hadoop.yarn.server.resourcemanager.TestKillApplicationWithRMHA) Time elapsed: 0.986 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testKillAppWhenFailoverHappensAtFinalState####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687304021_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1ba0fd76[proto=application_id { id: 1 cluster_timestamp: 1573687304021 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687304021 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687304021_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestKillApplicationWithRMHA.testKillAppWhenFailoverHappensAtFinalState(TestKillApplicationWithRMHA.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testKillAppWhenFailOverHappensDuringApplicationKill(org.apache.hadoop.yarn.server.resourcemanager.TestKillApplicationWithRMHA) Time elapsed: 0.821 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testKillAppWhenFailOverHappensDuringApplicationKill####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687304928_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@18efd0ab[proto=application_id { id: 1 cluster_timestamp: 1573687304928 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687304928 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687304928_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestKillApplicationWithRMHA.testKillAppWhenFailOverHappensDuringApplicationKill(TestKillApplicationWithRMHA.java:162) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService [ERROR] Tests run: 43, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 50.97 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService [ERROR] testGracefulDecommissionWithApp(org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService) Time elapsed: 0.809 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testGracefulDecommissionWithApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687321351_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@76a36b71[proto=application_id { id: 1 cluster_timestamp: 1573687321351 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687321351 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687321351_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService.testGracefulDecommissionWithApp(TestResourceTrackerService.java:427) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testHandleOpportunisticContainerStatus(org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService) Time elapsed: 0.413 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testHandleOpportunisticContainerStatus####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: true####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687322528_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@114a85c2[proto=application_id { id: 1 cluster_timestamp: 1573687322528 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687322528 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687322528_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService.testHandleOpportunisticContainerStatus(TestResourceTrackerService.java:2691) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testHandleContainerStatusInvalidCompletions(org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService) Time elapsed: 0.762 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testHandleContainerStatusInvalidCompletions####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: true####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687322916_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@74fe5966[proto=application_id { id: 1 cluster_timestamp: 1573687322916 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687322916 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687322916_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService.testHandleContainerStatusInvalidCompletions(TestResourceTrackerService.java:1759) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testNodeHeartbeatForAppCollectorsMap(org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService) Time elapsed: 0.813 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNodeHeartbeatForAppCollectorsMap####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687341372_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@56380231[proto=application_id { id: 1 cluster_timestamp: 1573687341372 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687341372 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687341372_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService.testNodeHeartbeatForAppCollectorsMap(TestResourceTrackerService.java:1625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMProxyUsersConf [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.394 s - in org.apache.hadoop.yarn.server.resourcemanager.TestRMProxyUsersConf [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestClusterMetrics [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.459 s - in org.apache.hadoop.yarn.server.resourcemanager.TestClusterMetrics [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage [ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 5.887 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage [ERROR] testUsageAfterAMRestartWithMultipleContainers(org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage) Time elapsed: 3.746 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: amRestartTests####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687395626_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@56e85e27[proto=application_id { id: 1 cluster_timestamp: 1573687395626 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687395626 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687395626_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage.amRestartTests(TestContainerResourceUsage.java:279) at org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage.testUsageAfterAMRestartWithMultipleContainers(TestContainerResourceUsage.java:252) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUsageWithMultipleContainersAndRMRestart(org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage) Time elapsed: 0.759 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUsageWithMultipleContainersAndRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687397777_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7f948fae[proto=application_id { id: 1 cluster_timestamp: 1573687397777 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687397777 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687397777_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage.testUsageWithMultipleContainersAndRMRestart(TestContainerResourceUsage.java:150) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUsageWithOneAttemptAndOneContainer(org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage) Time elapsed: 0.862 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUsageWithOneAttemptAndOneContainer####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687398615_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3320d4c3[proto=application_id { id: 1 cluster_timestamp: 1573687398615 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687398615 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687398615_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage.testUsageWithOneAttemptAndOneContainer(TestContainerResourceUsage.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUsageAfterAMRestartKeepContainers(org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage) Time elapsed: 0.425 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: amRestartTests####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687399244_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5b56f52[proto=application_id { id: 1 cluster_timestamp: 1573687399244 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687399244 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687399244_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage.amRestartTests(TestContainerResourceUsage.java:279) at org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage.testUsageAfterAMRestartKeepContainers(TestContainerResourceUsage.java:257) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup [ERROR] Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 5.872 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup [ERROR] testAppCleanupWhenRMRestartedAfterAppFinished(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup) Time elapsed: 3.212 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppCleanupWhenRMRestartedAfterAppFinished####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687402053_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@47cd1b59[proto=application_id { id: 1 cluster_timestamp: 1573687402053 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687402053 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687402053_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup.testAppCleanupWhenRMRestartedAfterAppFinished(TestApplicationCleanup.java:299) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppCleanupWhenRMRestartedBeforeAppFinished(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup) Time elapsed: 0.454 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppCleanupWhenRMRestartedBeforeAppFinished####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687403812_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@72917d7c[proto=application_id { id: 1 cluster_timestamp: 1573687403812 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687403812 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687403812_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup.testAppCleanupWhenRMRestartedBeforeAppFinished(TestApplicationCleanup.java:336) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testProcessingNMContainerStatusesOnNMRestart(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup) Time elapsed: 0.487 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testProcessingNMContainerStatusesOnNMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687404262_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@c7c0d74[proto=application_id { id: 1 cluster_timestamp: 1573687404262 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687404262 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687404262_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup.testProcessingNMContainerStatusesOnNMRestart(TestApplicationCleanup.java:466) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppCleanupWhenNMReconnects(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup) Time elapsed: 0.335 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppCleanupWhenNMReconnects####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687404758_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@c1c53e1[proto=application_id { id: 1 cluster_timestamp: 1573687404758 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687404758 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687404758_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup.testAppCleanupWhenNMReconnects(TestApplicationCleanup.java:426) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainerCleanupWhenRMRestartedAppNotRegistered(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup) Time elapsed: 0.265 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerCleanupWhenRMRestartedAppNotRegistered####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687405054_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3944cedf[proto=application_id { id: 1 cluster_timestamp: 1573687405054 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687405054 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687405054_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup.testContainerCleanupWhenRMRestartedAppNotRegistered(TestApplicationCleanup.java:390) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppCleanup(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup) Time elapsed: 0.513 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppCleanup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687405344_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3e3047e6[proto=application_id { id: 1 cluster_timestamp: 1573687405344 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687405344 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687405344_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup.testAppCleanup(TestApplicationCleanup.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testContainerCleanup(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup) Time elapsed: 0.47 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerCleanup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687405845_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@78e94dcf[proto=application_id { id: 1 cluster_timestamp: 1573687405845 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687405845 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687405845_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationCleanup.testContainerCleanup(TestApplicationCleanup.java:162) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.security.TestRMDelegationTokens [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.848 s - in org.apache.hadoop.yarn.server.resourcemanager.security.TestRMDelegationTokens [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens [ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 7.713 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens [ERROR] testMasterKeyRollOver[0](org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens) Time elapsed: 3.626 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMasterKeyRollOver####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687417636_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1f130eaf[proto=application_id { id: 1 cluster_timestamp: 1573687417636 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687417636 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687417636_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens.testMasterKeyRollOver(TestAMRMTokens.java:254) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAMRMMasterKeysUpdate[0](org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens) Time elapsed: 1.194 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMRMMasterKeysUpdate####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687420849_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@63490617[proto=application_id { id: 1 cluster_timestamp: 1573687420849 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687420849 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687420849_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens.testAMRMMasterKeysUpdate(TestAMRMTokens.java:384) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testTokenExpiry[0](org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens) Time elapsed: 0.727 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testTokenExpiry####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687421227_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@57f791c6[proto=application_id { id: 1 cluster_timestamp: 1573687421227 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687421227 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687421227_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens.testTokenExpiry(TestAMRMTokens.java:133) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testMasterKeyRollOver[1](org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens) Time elapsed: 0.497 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMasterKeyRollOver####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687421972_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@49a64d82[proto=application_id { id: 1 cluster_timestamp: 1573687421972 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687421972 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687421972_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens.testMasterKeyRollOver(TestAMRMTokens.java:254) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAMRMMasterKeysUpdate[1](org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens) Time elapsed: 0.565 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMRMMasterKeysUpdate####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687422479_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6eedc4b8[proto=application_id { id: 1 cluster_timestamp: 1573687422479 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687422479 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687422479_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens.testAMRMMasterKeysUpdate(TestAMRMTokens.java:384) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testTokenExpiry[1](org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens) Time elapsed: 0.64 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testTokenExpiry####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687423032_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3c8bdd5b[proto=application_id { id: 1 cluster_timestamp: 1573687423032 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687423032 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687423032_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.security.TestAMRMTokens.testTokenExpiry(TestAMRMTokens.java:133) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.security.TestProxyCAManager [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.093 s - in org.apache.hadoop.yarn.server.resourcemanager.security.TestProxyCAManager [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer [ERROR] Tests run: 20, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 43.839 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer [ERROR] testAppSubmissionWithPreviousToken(org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer) Time elapsed: 2.48 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppSubmissionWithPreviousToken####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: org.apache.hadoop.security.Credentials@3ecdb63c####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687432597_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: false####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7b72375c[proto=application_id { id: 1 cluster_timestamp: 1573687432597 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\004user\030\000\004user\brenewer1\004user\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000" } cancel_tokens_when_complete: false maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687432597 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\004user\030\000\004user\brenewer1\004user\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000" } cancel_tokens_when_complete: false maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687432597_0001,priority=0,amContainer=tokens: "HDTS\000\001\004user\030\000\004user\brenewer1\004user\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000",resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer.testAppSubmissionWithPreviousToken(TestDelegationTokenRenewer.java:1238) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartWithExpiredToken(org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer) Time elapsed: 0.419 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartWithExpiredToken####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: org.apache.hadoop.security.Credentials@5c645b43####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687469231_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6bd16207[proto=application_id { id: 1 cluster_timestamp: 1573687469231 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\005user1\032\000\005user1\brenewer1\005user1\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687469231 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\005user1\032\000\005user1\brenewer1\005user1\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687469231_0001,priority=0,amContainer=tokens: "HDTS\000\001\005user1\032\000\005user1\brenewer1\005user1\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000",resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer.testRMRestartWithExpiredToken(TestDelegationTokenRenewer.java:1069) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testCancelWithMultipleAppSubmissions(org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer) Time elapsed: 0.629 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testCancelWithMultipleAppSubmissions####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: org.apache.hadoop.security.Credentials@1db3282f####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687469600_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@39f8824a[proto=application_id { id: 1 cluster_timestamp: 1573687469600 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\bservice1\030\000\004user\brenewer1\004user\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000" } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687469600 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\bservice1\030\000\004user\brenewer1\004user\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000" } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687469600_0001,priority=0,amContainer=tokens: "HDTS\000\001\bservice1\030\000\004user\brenewer1\004user\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000",resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer.testCancelWithMultipleAppSubmissions(TestDelegationTokenRenewer.java:1316) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testReplaceExpiringDelegationToken(org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer) Time elapsed: 0.658 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testReplaceExpiringDelegationToken####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: org.apache.hadoop.security.Credentials@7731d5a2####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687470219_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@30512c8e[proto=application_id { id: 1 cluster_timestamp: 1573687470219 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\005user1\032\000\005user1\brenewer1\005user1\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687470219 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\005user1\032\000\005user1\brenewer1\005user1\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687470219_0001,priority=0,amContainer=tokens: "HDTS\000\001\005user1\032\000\005user1\brenewer1\005user1\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000",resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer.testReplaceExpiringDelegationToken(TestDelegationTokenRenewer.java:981) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRenewTokenUsingTokenConfProvidedByApp(org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer) Time elapsed: 0.464 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: submitApp####Submitapp#### name: app1####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: org.apache.hadoop.security.Credentials@5bb7643d####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687470876_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: null####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: java.nio.HeapByteBuffer[pos=0 lim=451 cap=512]####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3ac04654[proto=application_id { id: 1 cluster_timestamp: 1573687470876 } application_name: "app1" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\005user1\032\000\005user1\brenewer1\005user1\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000" tokens_conf: "\005\'dfs.namenode.rpc-address.mycluster2.nn1\t123.0.0.1\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\033dfs.ha.namenodes.mycluster2\ann1,nn2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\020dfs.nameservices\025mycluster1,mycluster2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000-dfs.client.failover.proxy.provider.mycluster2\bprovider\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\'dfs.namenode.rpc-address.mycluster2.nn2\t123.0.0.2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000" } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687470876 } application_name: "app1" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\005user1\032\000\005user1\brenewer1\005user1\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000" tokens_conf: "\005\'dfs.namenode.rpc-address.mycluster2.nn1\t123.0.0.1\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\033dfs.ha.namenodes.mycluster2\ann1,nn2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\020dfs.nameservices\025mycluster1,mycluster2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000-dfs.client.failover.proxy.provider.mycluster2\bprovider\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\'dfs.namenode.rpc-address.mycluster2.nn2\t123.0.0.2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000" } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687470876_0001,priority=0,amContainer=tokens: "HDTS\000\001\005user1\032\000\005user1\brenewer1\005user1\000\000\000\000\tpassword1\025HDFS_DELEGATION_TOKEN\bservice1\000" tokens_conf: "\005\'dfs.namenode.rpc-address.mycluster2.nn1\t123.0.0.1\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\033dfs.ha.namenodes.mycluster2\ann1,nn2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\020dfs.nameservices\025mycluster1,mycluster2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000-dfs.client.failover.proxy.provider.mycluster2\bprovider\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\'dfs.namenode.rpc-address.mycluster2.nn2\t123.0.0.2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000",resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer.submitApp(TestDelegationTokenRenewer.java:387) at org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer.testRenewTokenUsingTokenConfProvidedByApp(TestDelegationTokenRenewer.java:1446) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppSubmissionWithoutDelegationToken(org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer) Time elapsed: 0.249 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppSubmissionWithoutDelegationToken####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687472098_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6e0cff20[proto=application_id { id: 1 cluster_timestamp: 1573687472098 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687472098 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687472098_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer.testAppSubmissionWithoutDelegationToken(TestDelegationTokenRenewer.java:1174) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewerLifecycle [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.26 s - in org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewerLifecycle [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.security.TestClientToAMTokens [ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 5.6 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.security.TestClientToAMTokens [ERROR] testClientToAMTokens[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.security.TestClientToAMTokens) Time elapsed: 4.281 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testClientToAMTokens####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687477518_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@46678e49[proto=application_id { id: 1 cluster_timestamp: 1573687477518 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687477518 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687477518_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.security.TestClientToAMTokens.testClientToAMTokens(TestClientToAMTokens.java:220) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testClientTokenRace[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.security.TestClientToAMTokens) Time elapsed: 0.282 s <<< ERROR! org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.net.BindException: Problem binding to [0.0.0.0:8032] java.net.BindException: Address already in use; For more details see: http://wiki.apache.org/hadoop/BindException at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.getServer(RpcServerFactoryPBImpl.java:139) at org.apache.hadoop.yarn.ipc.HadoopYarnProtoRPC.getServer(HadoopYarnProtoRPC.java:66) at org.apache.hadoop.yarn.ipc.YarnRPC.getServer(YarnRPC.java:55) at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.serviceStart(ClientRMService.java:282) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194) at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:122) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceStart(ResourceManager.java:939) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.startActiveServices(ResourceManager.java:1309) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$1.run(ResourceManager.java:1350) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$1.run(ResourceManager.java:1346) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1891) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.transitionToActive(ResourceManager.java:1346) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStart(ResourceManager.java:1397) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194) at org.apache.hadoop.yarn.server.resourcemanager.security.TestClientToAMTokens.testClientTokenRace(TestClientToAMTokens.java:447) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) Caused by: java.net.BindException: Problem binding to [0.0.0.0:8032] java.net.BindException: Address already in use; For more details see: http://wiki.apache.org/hadoop/BindException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:837) at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:738) at org.apache.hadoop.ipc.Server.bind(Server.java:628) at org.apache.hadoop.ipc.Server$Listener.(Server.java:1196) at org.apache.hadoop.ipc.Server.(Server.java:3078) at org.apache.hadoop.ipc.RPC$Server.(RPC.java:1039) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.(ProtobufRpcEngine.java:427) at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:347) at org.apache.hadoop.ipc.RPC$Builder.build(RPC.java:848) at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.createServer(RpcServerFactoryPBImpl.java:173) at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.getServer(RpcServerFactoryPBImpl.java:132) ... 29 more Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at org.apache.hadoop.ipc.Server.bind(Server.java:611) ... 37 more [ERROR] testClientToAMTokens[FAIR](org.apache.hadoop.yarn.server.resourcemanager.security.TestClientToAMTokens) Time elapsed: 0.285 s <<< ERROR! org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.net.BindException: Problem binding to [0.0.0.0:8032] java.net.BindException: Address already in use; For more details see: http://wiki.apache.org/hadoop/BindException at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.getServer(RpcServerFactoryPBImpl.java:139) at org.apache.hadoop.yarn.ipc.HadoopYarnProtoRPC.getServer(HadoopYarnProtoRPC.java:66) at org.apache.hadoop.yarn.ipc.YarnRPC.getServer(YarnRPC.java:55) at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.serviceStart(ClientRMService.java:282) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194) at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:122) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceStart(ResourceManager.java:939) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.startActiveServices(ResourceManager.java:1309) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$1.run(ResourceManager.java:1350) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$1.run(ResourceManager.java:1346) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1891) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.transitionToActive(ResourceManager.java:1346) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStart(ResourceManager.java:1397) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194) at org.apache.hadoop.yarn.server.resourcemanager.security.TestClientToAMTokens.testClientToAMTokens(TestClientToAMTokens.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: java.net.BindException: Problem binding to [0.0.0.0:8032] java.net.BindException: Address already in use; For more details see: http://wiki.apache.org/hadoop/BindException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:837) at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:738) at org.apache.hadoop.ipc.Server.bind(Server.java:628) at org.apache.hadoop.ipc.Server$Listener.(Server.java:1196) at org.apache.hadoop.ipc.Server.(Server.java:3078) at org.apache.hadoop.ipc.RPC$Server.(RPC.java:1039) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.(ProtobufRpcEngine.java:427) at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:347) at org.apache.hadoop.ipc.RPC$Builder.build(RPC.java:848) at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.createServer(RpcServerFactoryPBImpl.java:173) at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.getServer(RpcServerFactoryPBImpl.java:132) ... 52 more Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at org.apache.hadoop.ipc.Server.bind(Server.java:611) ... 60 more [ERROR] testClientTokenRace[FAIR](org.apache.hadoop.yarn.server.resourcemanager.security.TestClientToAMTokens) Time elapsed: 0.207 s <<< ERROR! org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.net.BindException: Problem binding to [0.0.0.0:8032] java.net.BindException: Address already in use; For more details see: http://wiki.apache.org/hadoop/BindException at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.getServer(RpcServerFactoryPBImpl.java:139) at org.apache.hadoop.yarn.ipc.HadoopYarnProtoRPC.getServer(HadoopYarnProtoRPC.java:66) at org.apache.hadoop.yarn.ipc.YarnRPC.getServer(YarnRPC.java:55) at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.serviceStart(ClientRMService.java:282) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194) at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:122) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceStart(ResourceManager.java:939) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.startActiveServices(ResourceManager.java:1309) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$1.run(ResourceManager.java:1350) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$1.run(ResourceManager.java:1346) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1891) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.transitionToActive(ResourceManager.java:1346) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStart(ResourceManager.java:1397) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194) at org.apache.hadoop.yarn.server.resourcemanager.security.TestClientToAMTokens.testClientTokenRace(TestClientToAMTokens.java:447) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) Caused by: java.net.BindException: Problem binding to [0.0.0.0:8032] java.net.BindException: Address already in use; For more details see: http://wiki.apache.org/hadoop/BindException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:837) at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:738) at org.apache.hadoop.ipc.Server.bind(Server.java:628) at org.apache.hadoop.ipc.Server$Listener.(Server.java:1196) at org.apache.hadoop.ipc.Server.(Server.java:3078) at org.apache.hadoop.ipc.RPC$Server.(RPC.java:1039) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.(ProtobufRpcEngine.java:427) at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:347) at org.apache.hadoop.ipc.RPC$Builder.build(RPC.java:848) at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.createServer(RpcServerFactoryPBImpl.java:173) at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.getServer(RpcServerFactoryPBImpl.java:132) ... 29 more Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at org.apache.hadoop.ipc.Server.bind(Server.java:611) ... 37 more [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.security.TestRMAuthenticationFilter [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.876 s - in org.apache.hadoop.yarn.server.resourcemanager.security.TestRMAuthenticationFilter [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceInterceptor [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.338 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceInterceptor [ERROR] testApplicationMasterInterceptor(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceInterceptor) Time elapsed: 3.197 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testApplicationMasterInterceptor####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687484899_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2e997faf[proto=application_id { id: 1 cluster_timestamp: 1573687484899 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687484899 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687484899_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceInterceptor.testApplicationMasterInterceptor(TestApplicationMasterServiceInterceptor.java:174) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestDecommissioningNodesWatcher [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 3.95 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestDecommissioningNodesWatcher [ERROR] testDecommissioningNodesWatcherWithPreviousRunningApps(org.apache.hadoop.yarn.server.resourcemanager.TestDecommissioningNodesWatcher) Time elapsed: 3.291 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testDecommissioningNodesWatcherWithPreviousRunningApps####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687489449_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@726e5805[proto=application_id { id: 1 cluster_timestamp: 1573687489449 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687489449 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687489449_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestDecommissioningNodesWatcher.testDecommissioningNodesWatcherWithPreviousRunningApps(TestDecommissioningNodesWatcher.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testDecommissioningNodesWatcher(org.apache.hadoop.yarn.server.resourcemanager.TestDecommissioningNodesWatcher) Time elapsed: 0.585 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testDecommissioningNodesWatcher####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687491079_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@15eebbff[proto=application_id { id: 1 cluster_timestamp: 1573687491079 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687491079 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687491079_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestDecommissioningNodesWatcher.testDecommissioningNodesWatcher(TestDecommissioningNodesWatcher.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMHAMetrics [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.577 s - in org.apache.hadoop.yarn.server.resourcemanager.TestRMHAMetrics [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter [ERROR] Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 6.862 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter [ERROR] testRMWritingMassiveHistoryForFairSche(org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter) Time elapsed: 2.759 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMWritingMassiveHistory####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687499728_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3f29e26[proto=application_id { id: 1 cluster_timestamp: 1573687499728 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687499728 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687499728_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter.testRMWritingMassiveHistory(TestRMApplicationHistoryWriter.java:448) at org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter.testRMWritingMassiveHistory(TestRMApplicationHistoryWriter.java:431) at org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter.testRMWritingMassiveHistoryForFairSche(TestRMApplicationHistoryWriter.java:378) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testRMWritingMassiveHistoryForCapacitySche(org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter) Time elapsed: 0.597 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMWritingMassiveHistory####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687502266_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4b869331[proto=application_id { id: 1 cluster_timestamp: 1573687502266 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687502266 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687502266_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter.testRMWritingMassiveHistory(TestRMApplicationHistoryWriter.java:448) at org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter.testRMWritingMassiveHistory(TestRMApplicationHistoryWriter.java:431) at org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter.testRMWritingMassiveHistoryForCapacitySche(TestRMApplicationHistoryWriter.java:384) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMHAForNodeLabels [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.482 s - in org.apache.hadoop.yarn.server.resourcemanager.TestRMHAForNodeLabels [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestSignalContainer [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.241 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestSignalContainer [ERROR] testSignalRequestDeliveryToNM(org.apache.hadoop.yarn.server.resourcemanager.TestSignalContainer) Time elapsed: 3.099 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSignalRequestDeliveryToNM####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687510534_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1fcb4808[proto=application_id { id: 1 cluster_timestamp: 1573687510534 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687510534 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687510534_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestSignalContainer.testSignalRequestDeliveryToNM(TestSignalContainer.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMServerUtils [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.985 s - in org.apache.hadoop.yarn.server.resourcemanager.TestRMServerUtils [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM [ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 4.491 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM [ERROR] testUAMRestartNoKeepContainers[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM) Time elapsed: 2.816 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUAMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: true####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687517402_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4532afbd[proto=application_id { id: 1 cluster_timestamp: 1573687517402 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687517402 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687517402_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM.testUAMRestart(TestWorkPreservingUnmanagedAM.java:92) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM.testUAMRestartNoKeepContainers(TestWorkPreservingUnmanagedAM.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUAMRestartKeepContainers[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM) Time elapsed: 0.36 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUAMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: true####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687519101_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4788b54a[proto=application_id { id: 1 cluster_timestamp: 1573687519101 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687519101 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687519101_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM.testUAMRestart(TestWorkPreservingUnmanagedAM.java:92) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM.testUAMRestartKeepContainers(TestWorkPreservingUnmanagedAM.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUAMRestartNoKeepContainers[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM) Time elapsed: 0.513 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUAMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: true####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687519504_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3105e284[proto=application_id { id: 1 cluster_timestamp: 1573687519504 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687519504 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687519504_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM.testUAMRestart(TestWorkPreservingUnmanagedAM.java:92) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM.testUAMRestartNoKeepContainers(TestWorkPreservingUnmanagedAM.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUAMRestartKeepContainers[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM) Time elapsed: 0.264 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUAMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: true####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687519995_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@912b020[proto=application_id { id: 1 cluster_timestamp: 1573687519995 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687519995 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687519995_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM.testUAMRestart(TestWorkPreservingUnmanagedAM.java:92) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingUnmanagedAM.testUAMRestartKeepContainers(TestWorkPreservingUnmanagedAM.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair [ERROR] Tests run: 12, Failures: 0, Errors: 12, Skipped: 0, Time elapsed: 7.442 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair [ERROR] testRequestCapacityMinMaxAllocationWithDifferentUnits(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair) Time elapsed: 3.059 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRequestCapacityMinMaxAllocationWithDifferentUnits####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: root.default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687522643_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1fcb4808[proto=application_id { id: 1 cluster_timestamp: 1573687522643 } application_name: "app" queue: "root.default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "res_1" value: 0 units: "G" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687522643 } application_name: "app" queue: "root.default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "res_1" value: 0 units: "G" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687522643_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair.testRequestCapacityMinMaxAllocationWithDifferentUnits(TestApplicationMasterServiceFair.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testRequestCapacityMinMaxAllocationForResourceTypes(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair) Time elapsed: 0.363 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRequestCapacityMinMaxAllocationForResourceTypes####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: root.default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687524349_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@32e5e45e[proto=application_id { id: 1 cluster_timestamp: 1573687524349 } application_name: "app" queue: "root.default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "res_1" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687524349 } application_name: "app" queue: "root.default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "res_1" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687524349_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testRequestCapacityMinMaxAllocationForResourceTypes(ApplicationMasterServiceTestBase.java:631) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUpdateTrackingUrl(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair) Time elapsed: 0.508 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdateTrackingUrl####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687524790_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@10cabbad[proto=application_id { id: 1 cluster_timestamp: 1573687524790 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687524790 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687524790_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testUpdateTrackingUrl(ApplicationMasterServiceTestBase.java:508) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInvalidContainerReleaseRequest(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair) Time elapsed: 0.362 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInvalidContainerReleaseRequest####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687525166_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@190c74b2[proto=application_id { id: 1 cluster_timestamp: 1573687525166 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687525166 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687525166_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testInvalidContainerReleaseRequest(ApplicationMasterServiceTestBase.java:213) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testResourceTypes(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair) Time elapsed: 0.379 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testResourceTypes####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687525629_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@105f618[proto=application_id { id: 1 cluster_timestamp: 1573687525629 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687525629 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687525629_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testResourceTypes(ApplicationMasterServiceTestBase.java:453) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMIdentifierOnContainerAllocation(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair) Time elapsed: 0.344 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMIdentifierOnContainerAllocation####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687525899_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@790d32b4[proto=application_id { id: 1 cluster_timestamp: 1573687525899 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687525899 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687525899_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testRMIdentifierOnContainerAllocation(ApplicationMasterServiceTestBase.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testFinishApplicationMasterBeforeRegistering(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair) Time elapsed: 0.336 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testFinishApplicationMasterBeforeRegistering####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687526232_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@17db9d2f[proto=application_id { id: 1 cluster_timestamp: 1573687526232 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687526232 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687526232_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testFinishApplicationMasterBeforeRegistering(ApplicationMasterServiceTestBase.java:333) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAllocateAfterUnregister(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair) Time elapsed: 0.454 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAllocateAfterUnregister####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687526576_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3e2e9996[proto=application_id { id: 1 cluster_timestamp: 1573687526576 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687526576 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687526576_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testAllocateAfterUnregister(ApplicationMasterServiceTestBase.java:477) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRepeatedFinishApplicationMaster(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair) Time elapsed: 0.41 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRepeatedFinishApplicationMaster####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687527043_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7492a061[proto=application_id { id: 1 cluster_timestamp: 1573687527043 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687527043 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687527043_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testRepeatedFinishApplicationMaster(ApplicationMasterServiceTestBase.java:377) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAllocateResponseIdOverflow(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair) Time elapsed: 0.335 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAllocateResponseIdOverflow####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687527427_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@493d449e[proto=application_id { id: 1 cluster_timestamp: 1573687527427 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687527427 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687527427_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testAllocateResponseIdOverflow(ApplicationMasterServiceTestBase.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testProgressFilter(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair) Time elapsed: 0.239 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testProgressFilter####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687527767_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@10c87943[proto=application_id { id: 1 cluster_timestamp: 1573687527767 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687527767 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687527767_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testProgressFilter(ApplicationMasterServiceTestBase.java:268) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testValidateRequestCapacityAgainstMinMaxAllocation(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceFair) Time elapsed: 0.491 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testValidateRequestCapacityAgainstMinMaxAllocation####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: root.default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687528041_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3fabca6d[proto=application_id { id: 1 cluster_timestamp: 1573687528041 } application_name: "app" queue: "root.default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687528041 } application_name: "app" queue: "root.default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687528041_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testValidateRequestCapacityAgainstMinMaxAllocation(ApplicationMasterServiceTestBase.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity [ERROR] Tests run: 13, Failures: 0, Errors: 13, Skipped: 0, Time elapsed: 8.26 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity [ERROR] testInvalidIncreaseDecreaseRequest(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity) Time elapsed: 3.102 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInvalidIncreaseDecreaseRequest####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687530982_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4e5a6c8[proto=application_id { id: 1 cluster_timestamp: 1573687530982 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687530982 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687530982_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity.testInvalidIncreaseDecreaseRequest(TestApplicationMasterServiceCapacity.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPriorityInAllocatedResponse(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity) Time elapsed: 0.324 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPriorityInAllocatedResponse####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687532704_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 5####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6618e699[proto=application_id { id: 1 cluster_timestamp: 1573687532704 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687532704 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687532704_0001,priority=5,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity.testPriorityInAllocatedResponse(TestApplicationMasterServiceCapacity.java:183) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRequestCapacityMinMaxAllocationForResourceTypes(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity) Time elapsed: 0.487 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRequestCapacityMinMaxAllocationForResourceTypes####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687533072_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5356f5[proto=application_id { id: 1 cluster_timestamp: 1573687533072 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "res_1" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687533072 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "res_1" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687533072_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testRequestCapacityMinMaxAllocationForResourceTypes(ApplicationMasterServiceTestBase.java:631) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUpdateTrackingUrl(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity) Time elapsed: 0.358 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdateTrackingUrl####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687533508_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@47cfec55[proto=application_id { id: 1 cluster_timestamp: 1573687533508 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687533508 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687533508_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testUpdateTrackingUrl(ApplicationMasterServiceTestBase.java:508) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInvalidContainerReleaseRequest(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity) Time elapsed: 0.53 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInvalidContainerReleaseRequest####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687533817_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@b37717d[proto=application_id { id: 1 cluster_timestamp: 1573687533817 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687533817 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687533817_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testInvalidContainerReleaseRequest(ApplicationMasterServiceTestBase.java:213) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testResourceTypes(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity) Time elapsed: 0.591 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testResourceTypes####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687534473_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4b9e8c21[proto=application_id { id: 1 cluster_timestamp: 1573687534473 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687534473 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687534473_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testResourceTypes(ApplicationMasterServiceTestBase.java:453) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMIdentifierOnContainerAllocation(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity) Time elapsed: 0.257 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMIdentifierOnContainerAllocation####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687534948_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@126fca32[proto=application_id { id: 1 cluster_timestamp: 1573687534948 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687534948 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687534948_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testRMIdentifierOnContainerAllocation(ApplicationMasterServiceTestBase.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testFinishApplicationMasterBeforeRegistering(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity) Time elapsed: 0.286 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testFinishApplicationMasterBeforeRegistering####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687535211_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6c2e21f3[proto=application_id { id: 1 cluster_timestamp: 1573687535211 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687535211 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687535211_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testFinishApplicationMasterBeforeRegistering(ApplicationMasterServiceTestBase.java:333) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAllocateAfterUnregister(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity) Time elapsed: 0.312 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAllocateAfterUnregister####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687535477_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@33f6fd91[proto=application_id { id: 1 cluster_timestamp: 1573687535477 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687535477 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687535477_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testAllocateAfterUnregister(ApplicationMasterServiceTestBase.java:477) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRepeatedFinishApplicationMaster(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity) Time elapsed: 0.511 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRepeatedFinishApplicationMaster####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687535793_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2095004f[proto=application_id { id: 1 cluster_timestamp: 1573687535793 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687535793 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687535793_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testRepeatedFinishApplicationMaster(ApplicationMasterServiceTestBase.java:377) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAllocateResponseIdOverflow(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity) Time elapsed: 0.394 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAllocateResponseIdOverflow####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687536306_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6174c34[proto=application_id { id: 1 cluster_timestamp: 1573687536306 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687536306 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687536306_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testAllocateResponseIdOverflow(ApplicationMasterServiceTestBase.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testProgressFilter(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity) Time elapsed: 0.433 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testProgressFilter####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687536697_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@62d54bec[proto=application_id { id: 1 cluster_timestamp: 1573687536697 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687536697 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687536697_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testProgressFilter(ApplicationMasterServiceTestBase.java:268) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testValidateRequestCapacityAgainstMinMaxAllocation(org.apache.hadoop.yarn.server.resourcemanager.TestApplicationMasterServiceCapacity) Time elapsed: 0.509 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testValidateRequestCapacityAgainstMinMaxAllocation####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687537200_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@77b3a63[proto=application_id { id: 1 cluster_timestamp: 1573687537200 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687537200 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687537200_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterServiceTestBase.testValidateRequestCapacityAgainstMinMaxAllocation(ApplicationMasterServiceTestBase.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestLeaderElectorService [ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 31.933 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestLeaderElectorService [ERROR] testStateStoreFailureCauseFailover(org.apache.hadoop.yarn.server.resourcemanager.TestLeaderElectorService) Time elapsed: 3.137 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testStateStoreFailureCauseFailover####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687549126_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@128d2484[proto=application_id { id: 1 cluster_timestamp: 1573687549126 } application_name: "app1" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687549126 } application_name: "app1" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687549126_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestLeaderElectorService.testStateStoreFailureCauseFailover(TestLeaderElectorService.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMEmbeddedElector [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.633 s - in org.apache.hadoop.yarn.server.resourcemanager.TestRMEmbeddedElector [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestReservationSystemWithRMHA [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.439 s - in org.apache.hadoop.yarn.server.resourcemanager.TestReservationSystemWithRMHA [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeProcessor [ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 5.573 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeProcessor [ERROR] testVolumeResourceAllocate(org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeProcessor) Time elapsed: 3.596 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testVolumeResourceAllocate####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687625753_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2a8d53b8[proto=application_id { id: 1 cluster_timestamp: 1573687625753 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "yarn.io/csi-volume" value: 0 units: "Mi" type: COUNTABLE tags: "system:csi-volume" } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687625753 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "yarn.io/csi-volume" value: 0 units: "Mi" type: COUNTABLE tags: "system:csi-volume" } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687625753_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeProcessor.testVolumeResourceAllocate(TestVolumeProcessor.java:305) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testVolumeProvisioning(org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeProcessor) Time elapsed: 0.84 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testVolumeProvisioning####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687627971_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@77ad7331[proto=application_id { id: 1 cluster_timestamp: 1573687627971 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "yarn.io/csi-volume" value: 0 units: "Mi" type: COUNTABLE tags: "system:csi-volume" } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687627971 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "yarn.io/csi-volume" value: 0 units: "Mi" type: COUNTABLE tags: "system:csi-volume" } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687627971_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeProcessor.testVolumeProvisioning(TestVolumeProcessor.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInvalidRequest(org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeProcessor) Time elapsed: 0.537 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInvalidRequest####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687628659_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5b80c94c[proto=application_id { id: 1 cluster_timestamp: 1573687628659 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "yarn.io/csi-volume" value: 0 units: "Mi" type: COUNTABLE tags: "system:csi-volume" } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687628659 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "yarn.io/csi-volume" value: 0 units: "Mi" type: COUNTABLE tags: "system:csi-volume" } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687628659_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeProcessor.testInvalidRequest(TestVolumeProcessor.java:220) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testProvisioningFailures(org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeProcessor) Time elapsed: 0.453 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testProvisioningFailures####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687629188_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2a6fe9f0[proto=application_id { id: 1 cluster_timestamp: 1573687629188 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "yarn.io/csi-volume" value: 0 units: "Mi" type: COUNTABLE tags: "system:csi-volume" } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687629188 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "yarn.io/csi-volume" value: 0 units: "Mi" type: COUNTABLE tags: "system:csi-volume" } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687629188_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeProcessor.testProvisioningFailures(TestVolumeProcessor.java:262) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeLifecycle [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.109 s - in org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeLifecycle [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeMetaData [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.247 s - in org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeMetaData [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeCapabilityRange [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.096 s - in org.apache.hadoop.yarn.server.resourcemanager.volume.csi.TestVolumeCapabilityRange [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestClientRMService [ERROR] Tests run: 38, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 28.527 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestClientRMService [ERROR] testUpdateApplicationPriorityRequest(org.apache.hadoop.yarn.server.resourcemanager.TestClientRMService) Time elapsed: 0.969 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdateApplicationPriorityRequest####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687657232_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 5####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@42e9905b[proto=application_id { id: 1 cluster_timestamp: 1573687657232 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687657232 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687657232_0001,priority=5,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestClientRMService.testUpdateApplicationPriorityRequest(TestClientRMService.java:2473) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUpdatePriorityAndKillAppWithZeroClusterResource(org.apache.hadoop.yarn.server.resourcemanager.TestClientRMService) Time elapsed: 0.446 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdatePriorityAndKillAppWithZeroClusterResource####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687658265_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 5####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6873b84f[proto=application_id { id: 1 cluster_timestamp: 1573687658265 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687658265 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687658265_0001,priority=5,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestClientRMService.testUpdatePriorityAndKillAppWithZeroClusterResource(TestClientRMService.java:2447) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testForceKillApplication(org.apache.hadoop.yarn.server.resourcemanager.TestClientRMService) Time elapsed: 3.584 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testForceKillApplication####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687661770_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@cfd1075[proto=application_id { id: 1 cluster_timestamp: 1573687661770 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687661770 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687661770_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestClientRMService.testForceKillApplication(TestClientRMService.java:608) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServices [INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.302 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServices [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesContainers [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.224 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesContainers [ERROR] testSignalContainer(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesContainers) Time elapsed: 1.915 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSignalContainer####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573687688290_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@66b59b7d[proto=application_id { id: 1 cluster_timestamp: 1573687688290 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573687688290 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573687688290_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesContainers.testSignalContainer(TestRMWebServicesContainers.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestApplicationsRequestBuilder [INFO] Tests run: 51, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.151 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestApplicationsRequestBuilder [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesReservation [INFO] Tests run: 160, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 857.435 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesReservation [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesDelegationTokens [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.316 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesDelegationTokens [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebappAuthentication [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.068 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebappAuthentication [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesForCSWithPartitions [ERROR] Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.825 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesForCSWithPartitions [ERROR] testPartitionInSchedulerActivities(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesForCSWithPartitions) Time elapsed: 1.718 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPartitionInSchedulerActivities####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: Qb####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: Lx}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688589184_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: Lx####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@54755dd9[proto=application_id { id: 1 cluster_timestamp: 1573688589184 } application_name: "app1" queue: "Qb" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "Lx" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688589184 } application_name: "app1" queue: "Qb" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "Lx" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688589184_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: Lx}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesForCSWithPartitions.testPartitionInSchedulerActivities(TestRMWebServicesForCSWithPartitions.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebAppFairScheduler [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.112 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebAppFairScheduler [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesHttpStaticUserPermissions [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.754 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesHttpStaticUserPermissions [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities [ERROR] Tests run: 28, Failures: 0, Errors: 22, Skipped: 0, Time elapsed: 27.36 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities [ERROR] testAppAssignMultipleContainersPerNodeHeartbeat(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 1.738 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppAssignMultipleContainersPerNodeHeartbeat####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688611426_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6e7c351d[proto=application_id { id: 1 cluster_timestamp: 1573688611426 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688611426 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688611426_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testAppAssignMultipleContainersPerNodeHeartbeat(TestRMWebServicesSchedulerActivities.java:593) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppActivityJSON(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.937 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppActivityJSON####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688613299_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@12bbfc54[proto=application_id { id: 1 cluster_timestamp: 1573688613299 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688613299 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688613299_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testAppActivityJSON(TestRMWebServicesSchedulerActivities.java:531) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testWrongNodeId(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.517 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testWrongNodeId####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688614271_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@513b52af[proto=application_id { id: 1 cluster_timestamp: 1573688614271 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688614271 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688614271_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testWrongNodeId(TestRMWebServicesSchedulerActivities.java:277) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testActivityJSON(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.665 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testActivityJSON####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688614868_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2ecf5915[proto=application_id { id: 1 cluster_timestamp: 1573688614868 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688614868 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688614868_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testActivityJSON(TestRMWebServicesSchedulerActivities.java:473) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testPlacementConstraintDiagnostic(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.635 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPlacementConstraintDiagnostic####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688615659_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@12699b4f[proto=application_id { id: 1 cluster_timestamp: 1573688615659 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688615659 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688615659_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testPlacementConstraintDiagnostic(TestRMWebServicesSchedulerActivities.java:857) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppSummary(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.702 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppSummary####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688616457_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7b473282[proto=application_id { id: 1 cluster_timestamp: 1573688616457 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 5120 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 5120 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688616457 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 5120 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 5120 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688616457_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testAppSummary(TestRMWebServicesSchedulerActivities.java:1355) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppReserveNewContainer(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.579 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppReserveNewContainer####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688617230_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@52226e57[proto=application_id { id: 1 cluster_timestamp: 1573688617230 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688617230 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688617230_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testAppReserveNewContainer(TestRMWebServicesSchedulerActivities.java:728) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppNoNM(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.539 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppNoNM####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688617972_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@691500ab[proto=application_id { id: 1 cluster_timestamp: 1573688617972 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688617972 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688617972_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testAppNoNM(TestRMWebServicesSchedulerActivities.java:689) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAssignWithoutAvailableResource(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.434 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAssignWithoutAvailableResource####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688620884_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4b87074a[proto=application_id { id: 1 cluster_timestamp: 1573688620884 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688620884 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688620884_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testAssignWithoutAvailableResource(TestRMWebServicesSchedulerActivities.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testNodeSkippedBecauseOfRelaxLocality(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.649 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNodeSkippedBecauseOfRelaxLocality####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688621406_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@a1691c0[proto=application_id { id: 1 cluster_timestamp: 1573688621406 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688621406 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688621406_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testNodeSkippedBecauseOfRelaxLocality(TestRMWebServicesSchedulerActivities.java:1427) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppActions(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.674 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppActions####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688622251_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@79286bf[proto=application_id { id: 1 cluster_timestamp: 1573688622251 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688622251 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688622251_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testAppActions(TestRMWebServicesSchedulerActivities.java:1247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppFilterByRequestPrioritiesAndAllocationRequestIds(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.615 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppFilterByRequestPrioritiesAndAllocationRequestIds####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688622967_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1349b8ea[proto=application_id { id: 1 cluster_timestamp: 1573688622967 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688622967 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688622967_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testAppFilterByRequestPrioritiesAndAllocationRequestIds(TestRMWebServicesSchedulerActivities.java:1036) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppPlacementConstraintDiagnostic(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 1.062 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppPlacementConstraintDiagnostic####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688623747_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@66e24717[proto=application_id { id: 1 cluster_timestamp: 1573688623747 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688623747 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688623747_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testAppPlacementConstraintDiagnostic(TestRMWebServicesSchedulerActivities.java:978) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInsufficientResourceDiagnostic(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.503 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInsufficientResourceDiagnostic####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688625007_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6c770e2d[proto=application_id { id: 1 cluster_timestamp: 1573688625007 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688625007 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688625007_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testInsufficientResourceDiagnostic(TestRMWebServicesSchedulerActivities.java:794) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppAssignWithoutAvailableResource(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.49 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppAssignWithoutAvailableResource####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688625583_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@46612bfc[proto=application_id { id: 1 cluster_timestamp: 1573688625583 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688625583 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688625583_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testAppAssignWithoutAvailableResource(TestRMWebServicesSchedulerActivities.java:647) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testReserveNewContainer(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.591 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testReserveNewContainer####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688626148_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@48dff674[proto=application_id { id: 1 cluster_timestamp: 1573688626148 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688626148 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688626148_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testReserveNewContainer(TestRMWebServicesSchedulerActivities.java:337) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAssignMultipleContainersPerNodeHeartbeat(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.76 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAssignMultipleContainersPerNodeHeartbeat####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688626848_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@69eb544f[proto=application_id { id: 1 cluster_timestamp: 1573688626848 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688626848 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688626848_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testAssignMultipleContainersPerNodeHeartbeat(TestRMWebServicesSchedulerActivities.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppInsufficientResourceDiagnostic(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.451 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppInsufficientResourceDiagnostic####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688627718_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4057b54f[proto=application_id { id: 1 cluster_timestamp: 1573688627718 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688627718 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688627718_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testAppInsufficientResourceDiagnostic(TestRMWebServicesSchedulerActivities.java:926) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testQueueSkippedBecauseOfHeadroom(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.613 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueSkippedBecauseOfHeadroom####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688628244_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1124910c[proto=application_id { id: 1 cluster_timestamp: 1573688628244 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688628244 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688628244_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testQueueSkippedBecauseOfHeadroom(TestRMWebServicesSchedulerActivities.java:1518) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppLimit(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.42 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppLimit####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688628969_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3fd03959[proto=application_id { id: 1 cluster_timestamp: 1573688628969 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688628969 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688628969_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities.testAppLimit(TestRMWebServicesSchedulerActivities.java:1173) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPerUserResourcesXML(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.555 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPerUserResourcesXML####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688629464_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7c421952[proto=application_id { id: 1 cluster_timestamp: 1573688629464 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688629464 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688629464_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySched.testPerUserResourcesXML(TestRMWebServicesCapacitySched.java:543) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testPerUserResourcesJSON(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivities) Time elapsed: 0.439 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPerUserResourcesJSON####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688632361_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3de88f64[proto=application_id { id: 1 cluster_timestamp: 1573688632361 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688632361 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688632361_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySched.testPerUserResourcesJSON(TestRMWebServicesCapacitySched.java:640) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.fairscheduler.TestRMWebServicesFairScheduler [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.277 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.fairscheduler.TestRMWebServicesFairScheduler [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.fairscheduler.TestRMWebServicesFairSchedulerCustomResourceTypes [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.515 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.fairscheduler.TestRMWebServicesFairSchedulerCustomResourceTypes [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesDelegationTokenAuthentication [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.431 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesDelegationTokenAuthentication [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsCustomResourceTypes [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 5.743 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsCustomResourceTypes [ERROR] testRunningAppsJson(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsCustomResourceTypes) Time elapsed: 3.97 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRunningAppsJson####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688673965_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2e140e59[proto=application_id { id: 1 cluster_timestamp: 1573688673965 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "custom-resource-1" value: 0 units: "k" type: COUNTABLE } resource_value_map { key: "custom-resource-2" value: 0 units: "k" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688673965 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "custom-resource-1" value: 0 units: "k" type: COUNTABLE } resource_value_map { key: "custom-resource-2" value: 0 units: "k" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688673965_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsCustomResourceTypes.testRunningAppsJson(TestRMWebServicesAppsCustomResourceTypes.java:162) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testRunningAppsXml(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsCustomResourceTypes) Time elapsed: 0.563 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRunningAppsXml####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688676073_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5ff60a8c[proto=application_id { id: 1 cluster_timestamp: 1573688676073 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "custom-resource-1" value: 0 units: "k" type: COUNTABLE } resource_value_map { key: "custom-resource-2" value: 0 units: "k" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688676073 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "custom-resource-1" value: 0 units: "k" type: COUNTABLE } resource_value_map { key: "custom-resource-2" value: 0 units: "k" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688676073_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsCustomResourceTypes.testRunningAppsXml(TestRMWebServicesAppsCustomResourceTypes.java:126) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts [ERROR] Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 9.996 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts [ERROR] testAppAttemptsSlash(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts) Time elapsed: 1.73 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppAttemptsSlash####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688681890_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3a26ec8d[proto=application_id { id: 1 cluster_timestamp: 1573688681890 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688681890 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688681890_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts.testAppAttemptsSlash(TestRMWebServicesAppAttempts.java:168) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testNonexistAppAttempts(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts) Time elapsed: 0.549 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNonexistAppAttempts####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688683735_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1507c3c3[proto=application_id { id: 1 cluster_timestamp: 1573688683735 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688683735 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688683735_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts.testNonexistAppAttempts(TestRMWebServicesAppAttempts.java:276) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppAttemptsXML(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts) Time elapsed: 0.373 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppAttemptsXML####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688684466_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@696b4a95[proto=application_id { id: 1 cluster_timestamp: 1573688684466 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688684466 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688684466_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts.testAppAttemptsXML(TestRMWebServicesAppAttempts.java:347) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testInvalidAppIdGetAttempts(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts) Time elapsed: 0.371 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInvalidAppIdGetAttempts####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688684946_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@52bf7bf6[proto=application_id { id: 1 cluster_timestamp: 1573688684946 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688684946 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688684946_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts.testInvalidAppIdGetAttempts(TestRMWebServicesAppAttempts.java:189) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testInvalidAppAttemptId(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts) Time elapsed: 0.452 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInvalidAppAttemptId####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688685434_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@9efcd90[proto=application_id { id: 1 cluster_timestamp: 1573688685434 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688685434 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688685434_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts.testInvalidAppAttemptId(TestRMWebServicesAppAttempts.java:230) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppAttempts(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts) Time elapsed: 0.408 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppAttempts####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688685975_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@46911148[proto=application_id { id: 1 cluster_timestamp: 1573688685975 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688685975 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688685975_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts.testAppAttempts(TestRMWebServicesAppAttempts.java:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppAttemptsDefault(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts) Time elapsed: 0.324 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppAttemptsDefault####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688686505_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@22d322f5[proto=application_id { id: 1 cluster_timestamp: 1573688686505 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688686505 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688686505_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts.testAppAttemptsDefault(TestRMWebServicesAppAttempts.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testMultipleAppAttempts(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts) Time elapsed: 0.562 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMultipleAppAttempts####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688686933_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@34491ea1[proto=application_id { id: 1 cluster_timestamp: 1573688686933 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688686933 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688686933_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppAttempts.testMultipleAppAttempts(TestRMWebServicesAppAttempts.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestNodesPage [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.907 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestNodesPage [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestAppPage [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.144 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestAppPage [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppCustomResourceTypes [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 5.623 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppCustomResourceTypes [ERROR] testRunningAppXml(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppCustomResourceTypes) Time elapsed: 4.021 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRunningAppXml####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688701019_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2e140e59[proto=application_id { id: 1 cluster_timestamp: 1573688701019 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "custom-resource-1" value: 0 units: "k" type: COUNTABLE } resource_value_map { key: "custom-resource-2" value: 0 units: "k" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688701019 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "custom-resource-1" value: 0 units: "k" type: COUNTABLE } resource_value_map { key: "custom-resource-2" value: 0 units: "k" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688701019_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppCustomResourceTypes.testRunningAppXml(TestRMWebServicesAppCustomResourceTypes.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testRunningAppJson(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppCustomResourceTypes) Time elapsed: 0.437 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRunningAppJson####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688703207_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5ff60a8c[proto=application_id { id: 1 cluster_timestamp: 1573688703207 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "custom-resource-1" value: 0 units: "k" type: COUNTABLE } resource_value_map { key: "custom-resource-2" value: 0 units: "k" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688703207 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "custom-resource-1" value: 0 units: "k" type: COUNTABLE } resource_value_map { key: "custom-resource-2" value: 0 units: "k" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688703207_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppCustomResourceTypes.testRunningAppJson(TestRMWebServicesAppCustomResourceTypes.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled [ERROR] Tests run: 7, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 40.827 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled [ERROR] testAppGroupByDiagnostics(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled) Time elapsed: 4.542 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppGroupByDiagnostics####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688707954_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@77690540[proto=application_id { id: 1 cluster_timestamp: 1573688707954 } application_name: "app1" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688707954 } application_name: "app1" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688707954_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.testAppGroupByDiagnostics(TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.java:586) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testGroupByDiagnostics(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled) Time elapsed: 0.681 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testGroupByDiagnostics####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688710245_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@15fa59e1[proto=application_id { id: 1 cluster_timestamp: 1573688710245 } application_name: "app1" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688710245 } application_name: "app1" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688710245_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.testGroupByDiagnostics(TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.java:500) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppAssignContainer(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled) Time elapsed: 30.234 s <<< ERROR! org.junit.runners.model.TestTimedOutException: test timed out after 30000 milliseconds at java.lang.Thread.sleep(Native Method) at org.apache.hadoop.yarn.server.resourcemanager.MockRM.waitForState(MockRM.java:287) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:191) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.testAppAssignContainer(TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.java:267) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInsufficientResourceDiagnostic(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled) Time elapsed: 0.759 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInsufficientResourceDiagnostic####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688743541_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@17c1ff22[proto=application_id { id: 1 cluster_timestamp: 1573688743541 } application_name: "app1" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688743541 } application_name: "app1" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688743541_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.testInsufficientResourceDiagnostic(TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.java:335) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAssignContainer(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled) Time elapsed: 0.482 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAssignContainer####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688744373_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6e19ed72[proto=application_id { id: 1 cluster_timestamp: 1573688744373 } application_name: "app1" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688744373 } application_name: "app1" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688744373_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.testAssignContainer(TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppInsufficientResourceDiagnostic(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled) Time elapsed: 0.404 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppInsufficientResourceDiagnostic####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688744900_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4850a491[proto=application_id { id: 1 cluster_timestamp: 1573688744900 } application_name: "app1" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688744900 } application_name: "app1" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688744900_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.testAppInsufficientResourceDiagnostic(TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.java:421) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesConfigurationMutation [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.89 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesConfigurationMutation [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesNodes [INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.827 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesNodes [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps [ERROR] Tests run: 40, Failures: 0, Errors: 40, Skipped: 0, Time elapsed: 24.258 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps [ERROR] testAppsQueryStartBeginEnd(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 1.791 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryStartBeginEnd####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688789382_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@17143b3b[proto=application_id { id: 1 cluster_timestamp: 1573688789382 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688789382 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688789382_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryStartBeginEnd(TestRMWebServicesApps.java:876) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryStartBeginSome(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.624 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryStartBeginSome####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688791299_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@655a01d8[proto=application_id { id: 1 cluster_timestamp: 1573688791299 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688791299 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688791299_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryStartBeginSome(TestRMWebServicesApps.java:828) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryStateNone(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.476 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryStateNone####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688792076_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6c1cfa53[proto=application_id { id: 1 cluster_timestamp: 1573688792076 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688792076 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688792076_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryStateNone(TestRMWebServicesApps.java:441) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsSlash(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.337 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsSlash####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688792686_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@261db982[proto=application_id { id: 1 cluster_timestamp: 1573688792686 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688792686 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688792686_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsSlash(TestRMWebServicesApps.java:146) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryFinishBegin(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.315 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryFinishBegin####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688793146_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7eb200ce[proto=application_id { id: 1 cluster_timestamp: 1573688793146 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688793146 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688793146_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryFinishBegin(TestRMWebServicesApps.java:903) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryStates(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.505 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryStates####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688793601_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2db1b657[proto=application_id { id: 1 cluster_timestamp: 1573688793601 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688793601 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688793601_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryStates(TestRMWebServicesApps.java:318) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsXML(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.417 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsXML####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688794222_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@65afeb6d[proto=application_id { id: 1 cluster_timestamp: 1573688794222 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688794222 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688794222_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsXML(TestRMWebServicesApps.java:171) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testApps(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.302 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testApps####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688794755_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1c33e528[proto=application_id { id: 1 cluster_timestamp: 1573688794755 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688794755 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688794755_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testApps(TestRMWebServicesApps.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryFinalStatusNone(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.424 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryFinalStatusNone####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688795176_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3332c7a5[proto=application_id { id: 1 cluster_timestamp: 1573688795176 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688795176 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688795176_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryFinalStatusNone(TestRMWebServicesApps.java:563) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSingleAppsXML(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.311 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppsXML####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688795686_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5d318e91[proto=application_id { id: 1 cluster_timestamp: 1573688795686 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688795686 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688795686_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testSingleAppsXML(TestRMWebServicesApps.java:1705) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSingleAppsSlash(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.29 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppsSlash####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688796101_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4f281aaf[proto=application_id { id: 1 cluster_timestamp: 1573688796101 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688796101 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688796101_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testSingleAppsSlash(TestRMWebServicesApps.java:1584) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testUnmarshalAppInfo(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.274 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUnmarshalAppInfo####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688796474_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1e1237ab[proto=application_id { id: 1 cluster_timestamp: 1573688796474 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688796474 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688796474_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testUnmarshalAppInfo(TestRMWebServicesApps.java:1560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppStatistics(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.27 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppStatistics####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688796844_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@44aa2e13[proto=application_id { id: 1 cluster_timestamp: 1573688796844 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688796844 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688796844_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppStatistics(TestRMWebServicesApps.java:1348) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryWithDeselects(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.357 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryWithDeselects####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688797200_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@19827608[proto=application_id { id: 1 cluster_timestamp: 1573688797200 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688797200 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688797200_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryWithDeselects(TestRMWebServicesApps.java:1242) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryStartBegin(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.508 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryStartBegin####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688797705_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1cd2ff5b[proto=application_id { id: 1 cluster_timestamp: 1573688797705 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688797705 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688797705_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryStartBegin(TestRMWebServicesApps.java:806) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSingleApp(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.242 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleApp####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688798291_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@55296b50[proto=application_id { id: 1 cluster_timestamp: 1573688798291 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688798291 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688798291_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testSingleApp(TestRMWebServicesApps.java:1544) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryQueueAndStateOneFinishedApp(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.345 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryQueueAndStateOneFinishedApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688798623_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@53982523[proto=application_id { id: 1 cluster_timestamp: 1573688798623 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688798623 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688798623_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryQueueAndStateOneFinishedApp(TestRMWebServicesApps.java:711) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryWithInvaildDeselects(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.242 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryWithInvaildDeselects####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688799097_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4f213a2[proto=application_id { id: 1 cluster_timestamp: 1573688799097 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688799097 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688799097_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryWithInvaildDeselects(TestRMWebServicesApps.java:1209) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryStatesComma(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.339 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryStatesComma####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688799399_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@28b458e6[proto=application_id { id: 1 cluster_timestamp: 1573688799399 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688799399 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688799399_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryStatesComma(TestRMWebServicesApps.java:369) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryFinalStatus(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.345 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryFinalStatus####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688799834_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@163e8949[proto=application_id { id: 1 cluster_timestamp: 1573688799834 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688799834 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688799834_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryFinalStatus(TestRMWebServicesApps.java:538) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsXMLMulti(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.248 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsXMLMulti####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688800254_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@100d0218[proto=application_id { id: 1 cluster_timestamp: 1573688800254 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688800254 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688800254_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsXMLMulti(TestRMWebServicesApps.java:238) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testNonexistApp(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.292 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNonexistApp####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688800611_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4ab66127[proto=application_id { id: 1 cluster_timestamp: 1573688800611 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688800611 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688800611_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testNonexistApp(TestRMWebServicesApps.java:1649) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryStatesInvalid(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.265 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryStatesInvalid####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688801033_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@f849027[proto=application_id { id: 1 cluster_timestamp: 1573688801033 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688801033 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688801033_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryStatesInvalid(TestRMWebServicesApps.java:462) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryUser(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.239 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryUser####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688801448_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@45bd4753[proto=application_id { id: 1 cluster_timestamp: 1573688801448 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688801448 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688801448_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryUser(TestRMWebServicesApps.java:622) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryStatesNone(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.421 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryStatesNone####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688801779_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3c07e830[proto=application_id { id: 1 cluster_timestamp: 1573688801779 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688801779 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688801779_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryStatesNone(TestRMWebServicesApps.java:420) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryFinishEnd(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.237 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryFinishEnd####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688802301_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@b70fa38[proto=application_id { id: 1 cluster_timestamp: 1573688802301 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688802301 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688802301_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryFinishEnd(TestRMWebServicesApps.java:938) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryLimit(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.532 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryLimit####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688802702_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@44492c06[proto=application_id { id: 1 cluster_timestamp: 1573688802702 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688802702 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688802702_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryLimit(TestRMWebServicesApps.java:782) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryQueue(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.294 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryQueue####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688803342_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7d7b4e04[proto=application_id { id: 1 cluster_timestamp: 1573688803342 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688803342 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688803342_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryQueue(TestRMWebServicesApps.java:651) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryState(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.345 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryState####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688803722_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4fea5ee0[proto=application_id { id: 1 cluster_timestamp: 1573688803722 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688803722 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688803722_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryState(TestRMWebServicesApps.java:294) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSingleAppsDefault(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.509 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppsDefault####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688804150_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@216328b2[proto=application_id { id: 1 cluster_timestamp: 1573688804150 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688804150 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688804150_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testSingleAppsDefault(TestRMWebServicesApps.java:1595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryStateInvalid(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.277 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryStateInvalid####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688804795_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@b788dc2[proto=application_id { id: 1 cluster_timestamp: 1573688804795 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688804795 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688804795_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryStateInvalid(TestRMWebServicesApps.java:500) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryAppTypes(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.303 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryAppTypes####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688805141_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@d0fabc8[proto=application_id { id: 1 cluster_timestamp: 1573688805141 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688805141 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688805141_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryAppTypes(TestRMWebServicesApps.java:998) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryFinalStatusInvalid(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.246 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryFinalStatusInvalid####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688805516_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@71beada8[proto=application_id { id: 1 cluster_timestamp: 1573688805516 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688805516 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688805516_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryFinalStatusInvalid(TestRMWebServicesApps.java:583) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testInvalidApp(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.411 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInvalidApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688805846_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@252d8df6[proto=application_id { id: 1 cluster_timestamp: 1573688805846 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688805846 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688805846_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testInvalidApp(TestRMWebServicesApps.java:1605) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryStartEnd(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.266 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryStartEnd####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688806352_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@335972a5[proto=application_id { id: 1 cluster_timestamp: 1573688806352 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688806352 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688806352_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryStartEnd(TestRMWebServicesApps.java:854) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryQueueOneFinishedApp(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.449 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryQueueOneFinishedApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688806721_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5e9ea380[proto=application_id { id: 1 cluster_timestamp: 1573688806721 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688806721 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688806721_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryQueueOneFinishedApp(TestRMWebServicesApps.java:747) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsDefault(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.242 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsDefault####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688807240_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6badb08c[proto=application_id { id: 1 cluster_timestamp: 1573688807240 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688807240 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688807240_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsDefault(TestRMWebServicesApps.java:156) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryQueueAndStateTwoFinishedApps(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.263 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryQueueAndStateTwoFinishedApps####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688807656_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2dc73024[proto=application_id { id: 1 cluster_timestamp: 1573688807656 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688807656 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688807656_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryQueueAndStateTwoFinishedApps(TestRMWebServicesApps.java:675) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testRunningApp(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.255 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRunningApp####Submitapp#### name: testwordcount####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688808092_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5b715ea[proto=application_id { id: 1 cluster_timestamp: 1573688808092 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688808092 } application_name: "testwordcount" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688808092_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testRunningApp(TestRMWebServicesApps.java:202) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsQueryFinishBeginEnd(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps) Time elapsed: 0.517 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsQueryFinishBeginEnd####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688808476_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@8f09a02[proto=application_id { id: 1 cluster_timestamp: 1573688808476 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688808476 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688808476_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryFinishBeginEnd(TestRMWebServicesApps.java:968) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification [ERROR] Tests run: 48, Failures: 0, Errors: 30, Skipped: 0, Time elapsed: 42.491 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification [ERROR] testGetAppQueue[0](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 1.627 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testGetAppQueue####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688814003_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@63411512[proto=application_id { id: 1 cluster_timestamp: 1573688814003 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688814003 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688814003_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testGetAppQueue(TestRMWebServicesAppsModification.java:1066) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppMove[0](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.736 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppMove####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688816209_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1bc719fc[proto=application_id { id: 1 cluster_timestamp: 1573688816209 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688816209 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688816209_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testAppMove(TestRMWebServicesAppsModification.java:1216) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleAppKill[0](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.37 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppKill####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688817354_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@76770f64[proto=application_id { id: 1 cluster_timestamp: 1573688817354 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688817354 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688817354_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppKill(TestRMWebServicesAppsModification.java:381) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleAppKillInvalidState[0](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.255 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppKillInvalidState####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688818143_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2cd388f5[proto=application_id { id: 1 cluster_timestamp: 1573688818143 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688818143 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688818143_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppKillInvalidState(TestRMWebServicesAppsModification.java:477) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSingleAppKillUnauthorized[0](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.508 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppKillUnauthorized####Submitapp#### name: test####Submitapp#### user: someuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688818892_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@20a46ac2[proto=application_id { id: 1 cluster_timestamp: 1573688818892 } application_name: "test" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688818892 } application_name: "test" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688818892_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppKillUnauthorized(TestRMWebServicesAppsModification.java:589) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleAppState[0](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.169 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppState####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688822506_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@51af8049[proto=application_id { id: 1 cluster_timestamp: 1573688822506 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688822506 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688822506_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppState(TestRMWebServicesAppsModification.java:349) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testUpdateAppPriority[0](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.597 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdateAppPriority####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688824675_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@424e252c[proto=application_id { id: 1 cluster_timestamp: 1573688824675 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688824675 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688824675_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testUpdateAppPriority(TestRMWebServicesAppsModification.java:1125) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUpdateAppTimeout[0](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.269 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdateAppTimeout####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688825674_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4d215b1d[proto=application_id { id: 1 cluster_timestamp: 1573688825674 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688825674 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688825674_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testUpdateAppTimeout(TestRMWebServicesAppsModification.java:1367) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testGetAppQueue[1](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.592 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testGetAppQueue####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688827365_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1e6bd367[proto=application_id { id: 1 cluster_timestamp: 1573688827365 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688827365 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688827365_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testGetAppQueue(TestRMWebServicesAppsModification.java:1066) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppMove[1](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.305 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppMove####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688828409_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6d325297[proto=application_id { id: 1 cluster_timestamp: 1573688828409 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688828409 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688828409_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testAppMove(TestRMWebServicesAppsModification.java:1216) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleAppKill[1](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.567 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppKill####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688828970_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@20f3b7a0[proto=application_id { id: 1 cluster_timestamp: 1573688828970 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688828970 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688828970_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppKill(TestRMWebServicesAppsModification.java:381) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleAppKillInvalidState[1](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.154 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppKillInvalidState####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688829882_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@46051269[proto=application_id { id: 1 cluster_timestamp: 1573688829882 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688829882 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688829882_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppKillInvalidState(TestRMWebServicesAppsModification.java:477) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSingleAppKillUnauthorized[1](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.229 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppKillUnauthorized####Submitapp#### name: test####Submitapp#### user: someuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688830460_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3fc6e7b0[proto=application_id { id: 1 cluster_timestamp: 1573688830460 } application_name: "test" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688830460 } application_name: "test" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688830460_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppKillUnauthorized(TestRMWebServicesAppsModification.java:589) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleAppState[1](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.275 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppState####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688832810_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@287dde94[proto=application_id { id: 1 cluster_timestamp: 1573688832810 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688832810 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688832810_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppState(TestRMWebServicesAppsModification.java:349) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testUpdateAppPriority[1](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.243 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdateAppPriority####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688835176_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@65f15eeb[proto=application_id { id: 1 cluster_timestamp: 1573688835176 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688835176 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688835176_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testUpdateAppPriority(TestRMWebServicesAppsModification.java:1125) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUpdateAppTimeout[1](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.233 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdateAppTimeout####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688835731_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1a525140[proto=application_id { id: 1 cluster_timestamp: 1573688835731 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688835731 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688835731_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testUpdateAppTimeout(TestRMWebServicesAppsModification.java:1367) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testGetAppQueue[2](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.185 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testGetAppQueue####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688837161_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5dce3e82[proto=application_id { id: 1 cluster_timestamp: 1573688837161 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688837161 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688837161_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testGetAppQueue(TestRMWebServicesAppsModification.java:1066) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppMove[2](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.182 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppMove####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688837680_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4228956e[proto=application_id { id: 1 cluster_timestamp: 1573688837680 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688837680 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688837680_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testAppMove(TestRMWebServicesAppsModification.java:1216) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleAppKill[2](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.29 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppKill####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688838120_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@48d7f5a[proto=application_id { id: 1 cluster_timestamp: 1573688838120 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688838120 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688838120_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppKill(TestRMWebServicesAppsModification.java:381) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleAppKillInvalidState[2](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.164 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppKillInvalidState####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688838731_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@189fe8af[proto=application_id { id: 1 cluster_timestamp: 1573688838731 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688838731 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688838731_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppKillInvalidState(TestRMWebServicesAppsModification.java:477) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSingleAppKillUnauthorized[2](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.195 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppKillUnauthorized####Submitapp#### name: test####Submitapp#### user: someuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688839260_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7e30ef8f[proto=application_id { id: 1 cluster_timestamp: 1573688839260 } application_name: "test" queue: "root.someuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688839260 } application_name: "test" queue: "root.someuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688839260_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppKillUnauthorized(TestRMWebServicesAppsModification.java:589) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleAppState[2](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.41 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppState####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688841417_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3005133e[proto=application_id { id: 1 cluster_timestamp: 1573688841417 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688841417 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688841417_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppState(TestRMWebServicesAppsModification.java:349) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testUpdateAppTimeout[2](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.141 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdateAppTimeout####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688843579_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@64f93406[proto=application_id { id: 1 cluster_timestamp: 1573688843579 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688843579 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688843579_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testUpdateAppTimeout(TestRMWebServicesAppsModification.java:1367) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testGetAppQueue[3](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.252 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testGetAppQueue####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688844797_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4d37c839[proto=application_id { id: 1 cluster_timestamp: 1573688844797 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688844797 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688844797_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testGetAppQueue(TestRMWebServicesAppsModification.java:1066) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppMove[3](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.409 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppMove####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688845542_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2dd7ee32[proto=application_id { id: 1 cluster_timestamp: 1573688845542 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688845542 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688845542_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testAppMove(TestRMWebServicesAppsModification.java:1216) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleAppKill[3](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.163 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppKill####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688846191_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@78d05512[proto=application_id { id: 1 cluster_timestamp: 1573688846191 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688846191 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688846191_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppKill(TestRMWebServicesAppsModification.java:381) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleAppKillInvalidState[3](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.411 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppKillInvalidState####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688846653_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@38b65eb9[proto=application_id { id: 1 cluster_timestamp: 1573688846653 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688846653 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688846653_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppKillInvalidState(TestRMWebServicesAppsModification.java:477) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSingleAppKillUnauthorized[3](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.181 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppKillUnauthorized####Submitapp#### name: test####Submitapp#### user: someuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688847332_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4721923f[proto=application_id { id: 1 cluster_timestamp: 1573688847332 } application_name: "test" queue: "root.someuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688847332 } application_name: "test" queue: "root.someuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688847332_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppKillUnauthorized(TestRMWebServicesAppsModification.java:589) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleAppState[3](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.14 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSingleAppState####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688849397_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@43549693[proto=application_id { id: 1 cluster_timestamp: 1573688849397 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688849397 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688849397_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testSingleAppState(TestRMWebServicesAppsModification.java:349) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testUpdateAppTimeout[3](org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification) Time elapsed: 0.164 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdateAppTimeout####Submitapp#### name: ####Submitapp#### user: testuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688851297_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@493f2cb5[proto=application_id { id: 1 cluster_timestamp: 1573688851297 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688851297 } application_name: "" queue: "root.testuser" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688851297_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesAppsModification.testUpdateAppTimeout(TestRMWebServicesAppsModification.java:1367) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRedirectionErrorPage [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.999 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRedirectionErrorPage [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesNodeLabels [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.613 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesNodeLabels [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebApp [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.533 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebApp [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.TestFairSchedulerQueueInfo [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.952 s - in org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.TestFairSchedulerQueueInfo [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServiceAppsNodelabel [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 5.602 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServiceAppsNodelabel [ERROR] testAppsFinished(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServiceAppsNodelabel) Time elapsed: 4.049 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsFinished####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688877322_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@336365bc[proto=application_id { id: 1 cluster_timestamp: 1573688877322 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688877322 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688877322_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServiceAppsNodelabel.testAppsFinished(TestRMWebServiceAppsNodelabel.java:150) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppsRunning(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServiceAppsNodelabel) Time elapsed: 0.444 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppsRunning####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688879402_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4b2d44bc[proto=application_id { id: 1 cluster_timestamp: 1573688879402 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688879402 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688879402_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServiceAppsNodelabel.testAppsRunning(TestRMWebServiceAppsNodelabel.java:186) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySched [ERROR] Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.289 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySched [ERROR] testPerUserResourcesXML(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySched) Time elapsed: 1.817 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPerUserResourcesXML####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688885093_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@17273273[proto=application_id { id: 1 cluster_timestamp: 1573688885093 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688885093 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688885093_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySched.testPerUserResourcesXML(TestRMWebServicesCapacitySched.java:543) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testPerUserResourcesJSON(org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySched) Time elapsed: 0.557 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPerUserResourcesJSON####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688889730_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6ef60295[proto=application_id { id: 1 cluster_timestamp: 1573688889730 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688889730 } application_name: "app1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688889730_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesCapacitySched.testPerUserResourcesJSON(TestRMWebServicesCapacitySched.java:640) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.blacklist.TestBlacklistManager [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.299 s - in org.apache.hadoop.yarn.server.resourcemanager.blacklist.TestBlacklistManager [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.nodelabels.TestFileSystemNodeAttributeStore [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.043 s - in org.apache.hadoop.yarn.server.resourcemanager.nodelabels.TestFileSystemNodeAttributeStore [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.nodelabels.TestRMDelegatedNodeLabelsUpdater [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.428 s - in org.apache.hadoop.yarn.server.resourcemanager.nodelabels.TestRMDelegatedNodeLabelsUpdater [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.nodelabels.TestRMNodeLabelsManager [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.944 s - in org.apache.hadoop.yarn.server.resourcemanager.nodelabels.TestRMNodeLabelsManager [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.nodelabels.TestNodeAttributesManager [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.1 s - in org.apache.hadoop.yarn.server.resourcemanager.nodelabels.TestNodeAttributesManager [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization [ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 5.526 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization [ERROR] testAuthorizedAccess[0](org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization) Time elapsed: 3.204 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAuthorizedAccess####Submitapp#### name: appname####Submitapp#### user: appuser####Submitapp#### acls: {VIEW_APP=*}####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688922427_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@681aad3b[proto=application_id { id: 1 cluster_timestamp: 1573688922427 } application_name: "appname" queue: "default" priority { priority: 0 } am_container_spec { application_ACLs { accessType: APPACCESS_VIEW_APP acl: "*" } } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688922427 } application_name: "appname" queue: "default" priority { priority: 0 } am_container_spec { application_ACLs { accessType: APPACCESS_VIEW_APP acl: "*" } } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688922427_0001,priority=0,amContainer=application_ACLs { accessType: APPACCESS_VIEW_APP acl: "*" },resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization.testAuthorizedAccess(TestAMAuthorization.java:279) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testUnauthorizedAccess[0](org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization) Time elapsed: 0.587 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUnauthorizedAccess####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688924566_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@24f43aa3[proto=application_id { id: 1 cluster_timestamp: 1573688924566 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688924566 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688924566_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization.testUnauthorizedAccess(TestAMAuthorization.java:337) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAuthorizedAccess[1](org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization) Time elapsed: 0.469 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAuthorizedAccess####Submitapp#### name: appname####Submitapp#### user: appuser####Submitapp#### acls: {VIEW_APP=*}####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688925154_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3caa4757[proto=application_id { id: 1 cluster_timestamp: 1573688925154 } application_name: "appname" queue: "default" priority { priority: 0 } am_container_spec { application_ACLs { accessType: APPACCESS_VIEW_APP acl: "*" } } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688925154 } application_name: "appname" queue: "default" priority { priority: 0 } am_container_spec { application_ACLs { accessType: APPACCESS_VIEW_APP acl: "*" } } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688925154_0001,priority=0,amContainer=application_ACLs { accessType: APPACCESS_VIEW_APP acl: "*" },resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization.testAuthorizedAccess(TestAMAuthorization.java:279) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testUnauthorizedAccess[1](org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization) Time elapsed: 0.787 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUnauthorizedAccess####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688925842_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1dfd5f51[proto=application_id { id: 1 cluster_timestamp: 1573688925842 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688925842 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688925842_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization.testUnauthorizedAccess(TestAMAuthorization.java:337) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.preprocessor.TestNodeLabelProcessor [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.99 s - in org.apache.hadoop.yarn.server.resourcemanager.preprocessor.TestNodeLabelProcessor [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.preprocessor.TestContextProcessor [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.024 s - in org.apache.hadoop.yarn.server.resourcemanager.preprocessor.TestContextProcessor [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.preprocessor.TestTagAddProcessor [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.002 s - in org.apache.hadoop.yarn.server.resourcemanager.preprocessor.TestTagAddProcessor [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.preprocessor.TestQueueProcessor [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.995 s - in org.apache.hadoop.yarn.server.resourcemanager.preprocessor.TestQueueProcessor [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestAppManagerWithFairScheduler [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.283 s - in org.apache.hadoop.yarn.server.resourcemanager.TestAppManagerWithFairScheduler [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.865 s - in org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures [ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 4.304 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures [ERROR] testNoBlacklistingForNonSystemErrors(org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures) Time elapsed: 2.88 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNoBlacklistingForNonSystemErrors####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 100####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688942843_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@24cf9039[proto=application_id { id: 1 cluster_timestamp: 1573688942843 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 100 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688942843 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 100 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688942843_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures.testNoBlacklistingForNonSystemErrors(TestNodeBlacklistingOnAMFailures.java:393) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNodeBlacklistingOnAMFailureStrictNodeLocality(org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures) Time elapsed: 0.349 s <<< ERROR! java.lang.NullPointerException at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.checkResourceRequestAgainstAvailableResource(SchedulerUtils.java:399) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.validateResourceRequest(SchedulerUtils.java:337) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.normalizeAndValidateRequest(SchedulerUtils.java:292) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.validateAndCreateResourceRequest(RMAppManager.java:630) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.createAndPopulateNewRMApp(RMAppManager.java:455) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.submitApplication(RMAppManager.java:389) at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.submitApplication(ClientRMService.java:691) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter$1.run(MockRMAppSubmitter.java:175) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter$1.run(MockRMAppSubmitter.java:169) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1891) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:188) at org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures.submitAppWithAMResourceRequests(TestNodeBlacklistingOnAMFailures.java:85) at org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures.testNodeBlacklistingOnAMFailureStrictNodeLocality(TestNodeBlacklistingOnAMFailures.java:245) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNodeBlacklistingOnAMFailure(org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures) Time elapsed: 0.507 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNodeBlacklistingOnAMFailure####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688944688_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@8d114c[proto=application_id { id: 1 cluster_timestamp: 1573688944688 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688944688 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688944688_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures.testNodeBlacklistingOnAMFailure(TestNodeBlacklistingOnAMFailures.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNodeBlacklistingOnAMFailureRelaxedNodeLocality(org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures) Time elapsed: 0.49 s <<< ERROR! java.lang.NullPointerException at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.checkResourceRequestAgainstAvailableResource(SchedulerUtils.java:399) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.validateResourceRequest(SchedulerUtils.java:337) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.normalizeAndValidateRequest(SchedulerUtils.java:292) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.validateAndCreateResourceRequest(RMAppManager.java:630) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.createAndPopulateNewRMApp(RMAppManager.java:455) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.submitApplication(RMAppManager.java:389) at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.submitApplication(ClientRMService.java:691) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter$1.run(MockRMAppSubmitter.java:175) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter$1.run(MockRMAppSubmitter.java:169) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1891) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:188) at org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures.submitAppWithAMResourceRequests(TestNodeBlacklistingOnAMFailures.java:85) at org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures.testNodeBlacklistingOnAMFailureRelaxedNodeLocality(TestNodeBlacklistingOnAMFailures.java:332) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.federation.TestFederationRMStateStoreService [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.25 s - in org.apache.hadoop.yarn.server.resourcemanager.federation.TestFederationRMStateStoreService [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestConfigurationMutationACLPolicies [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.61 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestConfigurationMutationACLPolicies [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.distributed.TestNodeQueueLoadMonitor [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.233 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.distributed.TestNodeQueueLoadMonitor [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.distributed.TestCentralizedOpportunisticContainerAllocator [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.553 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.distributed.TestCentralizedOpportunisticContainerAllocator [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAppSchedulingInfo [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.798 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAppSchedulingInfo [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestQueueMetrics [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.439 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestQueueMetrics [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestQueueMetricsForCustomResources [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.814 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestQueueMetricsForCustomResources [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.activities.TestActivitiesManager [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.115 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.activities.TestActivitiesManager [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestVisitedResourceRequestTracker [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.48 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestVisitedResourceRequestTracker [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerOvercommit [ERROR] Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 5.339 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerOvercommit [ERROR] testReduceKill(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerOvercommit) Time elapsed: 2.83 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688992231_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5f9678e1[proto=application_id { id: 1 cluster_timestamp: 1573688992231 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688992231 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688992231_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testChangeResourcesNoTimeout(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerOvercommit) Time elapsed: 0.427 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688993510_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5cdd09b1[proto=application_id { id: 1 cluster_timestamp: 1573688993510 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688993510 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688993510_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testEndToEnd(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerOvercommit) Time elapsed: 0.485 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688993933_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3401a114[proto=application_id { id: 1 cluster_timestamp: 1573688993933 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688993933 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688993933_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testReducePreemptAndKill(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerOvercommit) Time elapsed: 0.324 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688994419_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@235a0c16[proto=application_id { id: 1 cluster_timestamp: 1573688994419 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688994419 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688994419_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testReduceNoTimeout(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerOvercommit) Time elapsed: 0.343 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688994736_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6c25e6c4[proto=application_id { id: 1 cluster_timestamp: 1573688994736 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688994736 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688994736_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testKillMultipleContainers(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerOvercommit) Time elapsed: 0.411 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688995082_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3e14c16d[proto=application_id { id: 1 cluster_timestamp: 1573688995082 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688995082 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688995082_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testReducePreemptAndCancel(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerOvercommit) Time elapsed: 0.343 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573688995491_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@55342f40[proto=application_id { id: 1 cluster_timestamp: 1573688995491 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573688995491 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573688995491_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerQueueACLs [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.178 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerQueueACLs [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSQueueMetrics [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.593 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSQueueMetrics [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerWithMultiResourceTypes [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.715 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerWithMultiResourceTypes [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSAppAttempt [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.365 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSAppAttempt [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSLeafQueue [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.738 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSLeafQueue [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerConfiguration [INFO] Tests run: 58, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.769 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerConfiguration [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSAppStarvation [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.26 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSAppStarvation [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerPreemption [INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.075 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerPreemption [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestAppRunnability [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.623 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestAppRunnability [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestSchedulingPolicy [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.43 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestSchedulingPolicy [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSParentQueue [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.977 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSParentQueue [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerUtilities [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerUtilities [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestAllocationFileLoaderService [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.463 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestAllocationFileLoaderService [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestComputeFairShares [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.452 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestComputeFairShares [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.policies.TestEmptyQueues [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.385 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.policies.TestEmptyQueues [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.policies.TestDominantResourceFairnessPolicy [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.997 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.policies.TestDominantResourceFairnessPolicy [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestSchedulingUpdate [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.029 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestSchedulingUpdate [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestApplicationMasterServiceWithFS [ERROR] Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 4.022 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestApplicationMasterServiceWithFS [ERROR] testSchedulerLevelContainerAllocationSuccess(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestApplicationMasterServiceWithFS) Time elapsed: 3.025 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testFairSchedulerContainerAllocationSuccess####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: queueC####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689099120_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@17414b95[proto=application_id { id: 1 cluster_timestamp: 1573689099120 } application_name: "" queue: "root.queueC" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689099120 } application_name: "" queue: "root.queueC" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689099120_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestApplicationMasterServiceWithFS.testFairSchedulerContainerAllocationSuccess(TestApplicationMasterServiceWithFS.java:150) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestApplicationMasterServiceWithFS.testSchedulerLevelContainerAllocationSuccess(TestApplicationMasterServiceWithFS.java:135) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testQueueLevelContainerAllocationFail(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestApplicationMasterServiceWithFS) Time elapsed: 0.284 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueLevelContainerAllocationFail####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: queueA####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689100661_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3176f01d[proto=application_id { id: 1 cluster_timestamp: 1573689100661 } application_name: "" queue: "root.queueA" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689100661 } application_name: "" queue: "root.queueA" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689100661_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestApplicationMasterServiceWithFS.testQueueLevelContainerAllocationFail(TestApplicationMasterServiceWithFS.java:105) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testQueueLevelContainerAllocationSuccess(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestApplicationMasterServiceWithFS) Time elapsed: 0.379 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testFairSchedulerContainerAllocationSuccess####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: queueB####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689100927_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@29615cd8[proto=application_id { id: 1 cluster_timestamp: 1573689100927 } application_name: "" queue: "root.queueB" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689100927 } application_name: "" queue: "root.queueB" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689100927_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestApplicationMasterServiceWithFS.testFairSchedulerContainerAllocationSuccess(TestApplicationMasterServiceWithFS.java:150) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestApplicationMasterServiceWithFS.testQueueLevelContainerAllocationSuccess(TestApplicationMasterServiceWithFS.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestMaxRunningAppsEnforcer [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.64 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestMaxRunningAppsEnforcer [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSSchedulerNode [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.908 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSSchedulerNode [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerFairShare [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.746 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerFairShare [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueueManager [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.625 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueueManager [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestConfigurableResource [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.419 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestConfigurableResource [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler [ERROR] Tests run: 103, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 20.586 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler [ERROR] testRefreshQueuesWhenRMHA(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler) Time elapsed: 1.296 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRefreshQueuesWhenRMHA####Submitapp#### name: test_app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: test_queue####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689136448_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@70a9db92[proto=application_id { id: 1 cluster_timestamp: 1573689136448 } application_name: "test_app" queue: "root.test_queue" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689136448 } application_name: "test_app" queue: "root.test_queue" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689136448_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler.testRefreshQueuesWhenRMHA(TestFairScheduler.java:5230) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestContinuousScheduling [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.344 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestContinuousScheduling [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueueManagerRealScheduler [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.972 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueueManagerRealScheduler [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.TestFSQueueConverter [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.988 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.TestFSQueueConverter [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.TestFSYarnSiteConverter [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.203 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.TestFSYarnSiteConverter [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.TestFSConfigToCSConfigRuleHandler [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.173 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.TestFSConfigToCSConfigRuleHandler [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.TestFSConfigToCSConfigArgumentHandler [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.911 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.TestFSConfigToCSConfigArgumentHandler [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.TestFSConfigToCSConfigConverter [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.305 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.TestFSConfigToCSConfigConverter [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueuePlacementPolicy [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.393 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestQueuePlacementPolicy [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestAllocationTagsManager [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.888 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestAllocationTagsManager [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestBatchedRequestsIterators [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.48 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestBatchedRequestsIterators [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.algorithm.TestCircularIterator [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.algorithm.TestCircularIterator [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.algorithm.TestLocalAllocationTagsManager [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.138 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.algorithm.TestLocalAllocationTagsManager [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor [ERROR] Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 9.02 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor [ERROR] testNodeCapacityRejection(org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor) Time elapsed: 3.257 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNodeCapacityRejection####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689186440_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@132596b2[proto=application_id { id: 1 cluster_timestamp: 1573689186440 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689186440 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689186440_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor.testNodeCapacityRejection(TestPlacementProcessor.java:531) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAffinityPlacement(org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor) Time elapsed: 0.68 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAffinityPlacement####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689188327_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6a31994c[proto=application_id { id: 1 cluster_timestamp: 1573689188327 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689188327 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689188327_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor.testAffinityPlacement(TestPlacementProcessor.java:317) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testComplexPlacement(org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor) Time elapsed: 0.458 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testComplexPlacement####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689188950_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4f6184a8[proto=application_id { id: 1 cluster_timestamp: 1573689188950 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689188950 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689188950_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor.testComplexPlacement(TestPlacementProcessor.java:373) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRePlacementAfterSchedulerRejection(org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor) Time elapsed: 0.88 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRePlacementAfterSchedulerRejection####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689189903_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@b4c9119[proto=application_id { id: 1 cluster_timestamp: 1573689189903 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689189903 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689189903_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor.testRePlacementAfterSchedulerRejection(TestPlacementProcessor.java:625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testMutualAntiAffinityPlacement(org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor) Time elapsed: 0.566 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMutualAntiAffinityPlacement####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689190268_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7df3d04e[proto=application_id { id: 1 cluster_timestamp: 1573689190268 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689190268 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689190268_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor.testMutualAntiAffinityPlacement(TestPlacementProcessor.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSchedulerRejection(org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor) Time elapsed: 0.902 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSchedulerRejection####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689191270_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@8c473df[proto=application_id { id: 1 cluster_timestamp: 1573689191270 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689191270 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689191270_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor.testSchedulerRejection(TestPlacementProcessor.java:452) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPlacementRejection(org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor) Time elapsed: 0.374 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPlacementRejection####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689191740_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@129af98b[proto=application_id { id: 1 cluster_timestamp: 1573689191740 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689191740 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689191740_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor.testPlacementRejection(TestPlacementProcessor.java:705) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAndOrPlacement(org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor) Time elapsed: 0.58 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAndOrPlacement####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689192100_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4a789af0[proto=application_id { id: 1 cluster_timestamp: 1573689192100 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689192100 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689192100_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor.testAndOrPlacement(TestPlacementProcessor.java:788) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAntiAffinityPlacement(org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor) Time elapsed: 0.696 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAntiAffinityPlacement####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689192689_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7b578b66[proto=application_id { id: 1 cluster_timestamp: 1573689192689 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689192689 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689192689_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor.testAntiAffinityPlacement(TestPlacementProcessor.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testCardinalityPlacement(org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor) Time elapsed: 0.448 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testCardinalityPlacement####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689193392_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3d1fa8ce[proto=application_id { id: 1 cluster_timestamp: 1573689193392 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689193392 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689193392_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementProcessor.testCardinalityPlacement(TestPlacementProcessor.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestAllocationTagsNamespace [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.339 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestAllocationTagsNamespace [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementConstraintsUtil [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.352 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementConstraintsUtil [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementConstraintManagerService [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.387 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.TestPlacementConstraintManagerService [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerApplicationAttempt [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.563 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerApplicationAttempt [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerUtils [ERROR] Tests run: 17, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.893 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerUtils [ERROR] testValidateResourceBlacklistRequest(org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerUtils) Time elapsed: 3.197 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testValidateResourceBlacklistRequest####Submitapp#### name: appname####Submitapp#### user: appuser####Submitapp#### acls: {VIEW_APP=*}####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689213162_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@46d9aec8[proto=application_id { id: 1 cluster_timestamp: 1573689213162 } application_name: "appname" queue: "default" priority { priority: 0 } am_container_spec { application_ACLs { accessType: APPACCESS_VIEW_APP acl: "*" } } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689213162 } application_name: "appname" queue: "default" priority { priority: 0 } am_container_spec { application_ACLs { accessType: APPACCESS_VIEW_APP acl: "*" } } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689213162_0001,priority=0,amContainer=application_ACLs { accessType: APPACCESS_VIEW_APP acl: "*" },resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerUtils.testValidateResourceBlacklistRequest(TestSchedulerUtils.java:701) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:239) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestClusterNodeTracker [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.515 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestClusterNodeTracker [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.TestFifoOrderingPolicyWithExclusivePartitions [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.461 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.TestFifoOrderingPolicyWithExclusivePartitions [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.TestFifoOrderingPolicy [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.481 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.TestFifoOrderingPolicy [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.TestFifoOrderingPolicyForPendingApps [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.565 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.TestFifoOrderingPolicyForPendingApps [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.TestFairOrderingPolicy [ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.352 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.TestFairOrderingPolicy [ERROR] testSizeBasedWeightNotAffectAppActivation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.TestFairOrderingPolicy) Time elapsed: 2.975 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSizeBasedWeightNotAffectAppActivation####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689223648_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3b77a04f[proto=application_id { id: 1 cluster_timestamp: 1573689223648 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689223648 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689223648_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.policy.TestFairOrderingPolicy.testSizeBasedWeightNotAffectAppActivation(TestFairOrderingPolicy.java:191) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerHealth [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.621 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerHealth [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler [ERROR] Tests run: 18, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 9.774 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler [ERROR] testAllocateContainerOnNodeWithoutOffSwitchSpecified(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler) Time elapsed: 0.681 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAllocateContainerOnNodeWithoutOffSwitchSpecified####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689234069_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2b8379ea[proto=application_id { id: 1 cluster_timestamp: 1573689234069 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689234069 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689234069_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler.testAllocateContainerOnNodeWithoutOffSwitchSpecified(TestFifoScheduler.java:665) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testResourceOverCommit(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler) Time elapsed: 0.727 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testResourceOverCommit####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689236869_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@36af597a[proto=application_id { id: 1 cluster_timestamp: 1573689236869 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689236869 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689236869_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler.testResourceOverCommit(TestFifoScheduler.java:1111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testDefaultMinimumAllocation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler) Time elapsed: 0.297 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMinimumAllocation####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689238188_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@22e289c8[proto=application_id { id: 1 cluster_timestamp: 1573689238188 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689238188 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689238188_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler.testMinimumAllocation(TestFifoScheduler.java:816) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler.testDefaultMinimumAllocation(TestFifoScheduler.java:837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNonDefaultMinimumAllocation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler) Time elapsed: 0.355 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMinimumAllocation####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689238503_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6ef995f8[proto=application_id { id: 1 cluster_timestamp: 1573689238503 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1536 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1536 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689238503 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1536 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1536 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689238503_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler.testMinimumAllocation(TestFifoScheduler.java:816) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler.testNonDefaultMinimumAllocation(TestFifoScheduler.java:850) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testFifoScheduling(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler) Time elapsed: 0.485 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testFifoScheduling####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689239005_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@147d030[proto=application_id { id: 1 cluster_timestamp: 1573689239005 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689239005 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689239005_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.TestFifoScheduler.testFifoScheduling(TestFifoScheduler.java:696) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId [ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 5.97 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId [ERROR] testMultipleAllocationRequestIds[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId) Time elapsed: 2.823 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMultipleAllocationRequestIds####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689241911_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@cb2961c[proto=application_id { id: 1 cluster_timestamp: 1573689241911 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689241911 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689241911_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId.testMultipleAllocationRequestIds(TestSchedulingWithAllocationRequestId.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testMultipleAllocationRequestDiffPriority[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId) Time elapsed: 0.684 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMultipleAllocationRequestDiffPriority####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689243638_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@44ee6855[proto=application_id { id: 1 cluster_timestamp: 1573689243638 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689243638 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689243638_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId.testMultipleAllocationRequestDiffPriority(TestSchedulingWithAllocationRequestId.java:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testMultipleAppsWithAllocationReqId[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId) Time elapsed: 0.475 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMultipleAppsWithAllocationReqId####Submitapp#### name: user_0####Submitapp#### user: a1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689244313_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5b602f34[proto=application_id { id: 1 cluster_timestamp: 1573689244313 } application_name: "user_0" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689244313 } application_name: "user_0" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689244313_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId.testMultipleAppsWithAllocationReqId(TestSchedulingWithAllocationRequestId.java:185) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testMultipleAllocationRequestIds[FAIR](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId) Time elapsed: 0.536 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMultipleAllocationRequestIds####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689244885_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6ef1e662[proto=application_id { id: 1 cluster_timestamp: 1573689244885 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689244885 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689244885_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId.testMultipleAllocationRequestIds(TestSchedulingWithAllocationRequestId.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testMultipleAllocationRequestDiffPriority[FAIR](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId) Time elapsed: 0.346 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMultipleAllocationRequestDiffPriority####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689245357_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@631c059e[proto=application_id { id: 1 cluster_timestamp: 1573689245357 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689245357 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689245357_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId.testMultipleAllocationRequestDiffPriority(TestSchedulingWithAllocationRequestId.java:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testMultipleAppsWithAllocationReqId[FAIR](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId) Time elapsed: 0.513 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMultipleAppsWithAllocationReqId####Submitapp#### name: user_0####Submitapp#### user: a1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689245708_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3b49843a[proto=application_id { id: 1 cluster_timestamp: 1573689245708 } application_name: "user_0" queue: "root.a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689245708 } application_name: "user_0" queue: "root.a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689245708_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulingWithAllocationRequestId.testMultipleAppsWithAllocationReqId(TestSchedulingWithAllocationRequestId.java:185) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.placement.TestSingleConstraintAppPlacementAllocator [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.66 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.placement.TestSingleConstraintAppPlacementAllocator [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestResourceUsage [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.432 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestResourceUsage [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler [ERROR] Tests run: 26, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 14.891 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler [ERROR] testContainerRecoveredByNode[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler) Time elapsed: 2.47 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerRecoveredByNode####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: Test####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689253561_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@50c0a1f1[proto=application_id { id: 1 cluster_timestamp: 1573689253561 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689253561 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689253561_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler.testContainerRecoveredByNode(TestAbstractYarnScheduler.java:1052) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testReleasedContainerIfAppAttemptisNull[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler) Time elapsed: 0.562 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testReleasedContainerIfAppAttemptisNull####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689255010_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@14b3697a[proto=application_id { id: 1 cluster_timestamp: 1573689255010 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689255010 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689255010_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler.testReleasedContainerIfAppAttemptisNull(TestAbstractYarnScheduler.java:407) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainerReleaseWithAllocationTags[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler) Time elapsed: 0.751 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerReleaseWithAllocationTags####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: Test####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689259338_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@48b7cd0f[proto=application_id { id: 1 cluster_timestamp: 1573689259338 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689259338 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689259338_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler.testContainerReleaseWithAllocationTags(TestAbstractYarnScheduler.java:458) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainerReleasedByNode[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler) Time elapsed: 0.285 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerReleasedByNode####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: Test####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689261366_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3259c4aa[proto=application_id { id: 1 cluster_timestamp: 1573689261366 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689261366 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689261366_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler.testContainerReleasedByNode(TestAbstractYarnScheduler.java:561) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testResourceRequestRecoveryToTheRightAppAttempt[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler) Time elapsed: 0.285 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testResourceRequestRecoveryToTheRightAppAttempt####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: Test####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689261682_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2f48b3d2[proto=application_id { id: 1 cluster_timestamp: 1573689261682 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689261682 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689261682_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler.testResourceRequestRecoveryToTheRightAppAttempt(TestAbstractYarnScheduler.java:783) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testResourceRequestRestoreWhenRMContainerIsAtAllocated[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler) Time elapsed: 0.235 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testResourceRequestRestoreWhenRMContainerIsAtAllocated####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: Test####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689261968_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6d1e96a7[proto=application_id { id: 1 cluster_timestamp: 1573689261968 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689261968 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689261968_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler.testResourceRequestRestoreWhenRMContainerIsAtAllocated(TestAbstractYarnScheduler.java:684) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainerRecoveredByNode[FAIR](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler) Time elapsed: 0.396 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerRecoveredByNode####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: Test####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689262316_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@62ea47fa[proto=application_id { id: 1 cluster_timestamp: 1573689262316 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689262316 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689262316_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler.testContainerRecoveredByNode(TestAbstractYarnScheduler.java:1052) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testReleasedContainerIfAppAttemptisNull[FAIR](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler) Time elapsed: 0.447 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testReleasedContainerIfAppAttemptisNull####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689262673_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6766ea64[proto=application_id { id: 1 cluster_timestamp: 1573689262673 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689262673 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689262673_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler.testReleasedContainerIfAppAttemptisNull(TestAbstractYarnScheduler.java:407) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainerReleasedByNode[FAIR](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler) Time elapsed: 0.288 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerReleasedByNode####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: Test####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689265830_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2b1c9a1a[proto=application_id { id: 1 cluster_timestamp: 1573689265830 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689265830 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689265830_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler.testContainerReleasedByNode(TestAbstractYarnScheduler.java:561) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testResourceRequestRecoveryToTheRightAppAttempt[FAIR](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler) Time elapsed: 0.305 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testResourceRequestRecoveryToTheRightAppAttempt####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: Test####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689266153_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@73163d48[proto=application_id { id: 1 cluster_timestamp: 1573689266153 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689266153 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689266153_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler.testResourceRequestRecoveryToTheRightAppAttempt(TestAbstractYarnScheduler.java:783) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testResourceRequestRestoreWhenRMContainerIsAtAllocated[FAIR](org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler) Time elapsed: 0.342 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testResourceRequestRestoreWhenRMContainerIsAtAllocated####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: Test####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689266468_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1c55dccd[proto=application_id { id: 1 cluster_timestamp: 1573689266468 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689266468 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "Test" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689266468_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestAbstractYarnScheduler.testResourceRequestRestoreWhenRMContainerIsAtAllocated(TestAbstractYarnScheduler.java:684) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerMultiNodes [ERROR] Tests run: 4, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 4.981 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerMultiNodes [ERROR] testAllocateForReservedContainer(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerMultiNodes) Time elapsed: 3.299 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAllocateForReservedContainer####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689269478_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@248e8333[proto=application_id { id: 1 cluster_timestamp: 1573689269478 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 5120 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 5120 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689269478 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 5120 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 5120 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689269478_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerMultiNodes.testAllocateForReservedContainer(TestCapacitySchedulerMultiNodes.java:296) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testMultiNodeSorterForSchedulingWithOrdering(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerMultiNodes) Time elapsed: 0.48 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMultiNodeSorterForSchedulingWithOrdering####Submitapp#### name: app-1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689271284_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3891771e[proto=application_id { id: 1 cluster_timestamp: 1573689271284 } application_name: "app-1" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689271284 } application_name: "app-1" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689271284_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerMultiNodes.testMultiNodeSorterForSchedulingWithOrdering(TestCapacitySchedulerMultiNodes.java:133) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testExcessReservationWillBeUnreserved(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerMultiNodes) Time elapsed: 0.397 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testExcessReservationWillBeUnreserved####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689272393_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@fa00792[proto=application_id { id: 1 cluster_timestamp: 1573689272393 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 5120 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 5120 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689272393 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 5120 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 5120 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689272393_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerMultiNodes.testExcessReservationWillBeUnreserved(TestCapacitySchedulerMultiNodes.java:205) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueStateManager [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.658 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueStateManager [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerDynamicBehavior [ERROR] Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 5.183 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerDynamicBehavior [ERROR] testRemoveQueue(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerDynamicBehavior) Time elapsed: 0.968 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRemoveQueue####Submitapp#### name: test-move-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689279980_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4ee37ca3[proto=application_id { id: 1 cluster_timestamp: 1573689279980 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689279980 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689279980_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerDynamicBehavior.testRemoveQueue(TestCapacitySchedulerDynamicBehavior.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testMoveAppToPlanQueue(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerDynamicBehavior) Time elapsed: 0.811 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMoveAppToPlanQueue####Submitapp#### name: test-move-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689281561_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2b491fee[proto=application_id { id: 1 cluster_timestamp: 1573689281561 } application_name: "test-move-1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689281561 } application_name: "test-move-1" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689281561_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerDynamicBehavior.testMoveAppToPlanQueue(TestCapacitySchedulerDynamicBehavior.java:224) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestReservationQueue [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.418 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestReservationQueue [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation [ERROR] Tests run: 22, Failures: 0, Errors: 22, Skipped: 0, Time elapsed: 14.412 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation [ERROR] testContainerAllocateWithComplexLabels(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 3.421 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerAllocateWithComplexLabels####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689288132_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5300c73a[proto=application_id { id: 1 cluster_timestamp: 1573689288132 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689288132 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689288132_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testContainerAllocateWithComplexLabels(TestNodeLabelContainerAllocation.java:289) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testOrderOfAllocationOnPartitionsWhenAccessibilityIsAll(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.49 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testOrderOfAllocationOnPartitionsWhenAccessibilityIsAll####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689289984_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: x####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@327b636c[proto=application_id { id: 1 cluster_timestamp: 1573689289984 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689289984 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689289984_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testOrderOfAllocationOnPartitionsWhenAccessibilityIsAll(TestNodeLabelContainerAllocation.java:2094) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testQueueUsedCapacitiesUpdate(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.412 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueUsedCapacitiesUpdate####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689290464_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2928854b[proto=application_id { id: 1 cluster_timestamp: 1573689290464 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689290464 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689290464_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testQueueUsedCapacitiesUpdate(TestNodeLabelContainerAllocation.java:1676) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testContainerReservationWithLabels(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.727 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerReservationWithLabels####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689290935_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4133e3ce[proto=application_id { id: 1 cluster_timestamp: 1573689290935 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689290935 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689290935_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testContainerReservationWithLabels(TestNodeLabelContainerAllocation.java:596) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainerAllocateWithDefaultQueueLabels(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.651 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerAllocateWithDefaultQueueLabels####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689291692_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@215f2570[proto=application_id { id: 1 cluster_timestamp: 1573689291692 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689291692 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689291692_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testContainerAllocateWithDefaultQueueLabels(TestNodeLabelContainerAllocation.java:492) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPreferenceOfNeedyAppsTowardsNodePartitions(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.595 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreferenceOfNeedyAppsTowardsNodePartitions####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689292249_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6fe7aac8[proto=application_id { id: 1 cluster_timestamp: 1573689292249 } application_name: "app" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689292249 } application_name: "app" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689292249_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testPreferenceOfNeedyAppsTowardsNodePartitions(TestNodeLabelContainerAllocation.java:877) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testPreferenceOfNeedyPrioritiesUnderSameAppTowardsNodePartitions(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.452 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreferenceOfNeedyPrioritiesUnderSameAppTowardsNodePartitions####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689292871_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@130161f7[proto=application_id { id: 1 cluster_timestamp: 1573689292871 } application_name: "app" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689292871 } application_name: "app" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689292871_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testPreferenceOfNeedyPrioritiesUnderSameAppTowardsNodePartitions(TestNodeLabelContainerAllocation.java:971) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testQueueMetricsWithLabelsDisableElasticity(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.457 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueMetricsWithLabelsDisableElasticity####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689293256_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: x####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@245b4bdc[proto=application_id { id: 1 cluster_timestamp: 1573689293256 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689293256 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689293256_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testQueueMetricsWithLabelsDisableElasticity(TestNodeLabelContainerAllocation.java:2709) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testContainerAllocateWithLabels(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.535 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerAllocateWithLabels####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689293731_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@904372a[proto=application_id { id: 1 cluster_timestamp: 1573689293731 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689293731 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689293731_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testContainerAllocateWithLabels(TestNodeLabelContainerAllocation.java:392) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testResourceRequestUpdateNodePartitions(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.583 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testResourceRequestUpdateNodePartitions####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689294298_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@33d512c1[proto=application_id { id: 1 cluster_timestamp: 1573689294298 } application_name: "app" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689294298 } application_name: "app" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689294298_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testResourceRequestUpdateNodePartitions(TestNodeLabelContainerAllocation.java:771) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testNonLabeledResourceRequestGetPreferrenceToNonLabeledNode(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.477 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNonLabeledResourceRequestGetPreferrenceToNonLabeledNode####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689294929_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7eac9008[proto=application_id { id: 1 cluster_timestamp: 1573689294929 } application_name: "app" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689294929 } application_name: "app" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689294929_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testNonLabeledResourceRequestGetPreferrenceToNonLabeledNode(TestNodeLabelContainerAllocation.java:1030) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testQueueMaxCapacitiesWillNotBeHonoredWhenNotRespectingExclusivity(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.586 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueMaxCapacitiesWillNotBeHonoredWhenNotRespectingExclusivity####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689295268_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@291deb97[proto=application_id { id: 1 cluster_timestamp: 1573689295268 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689295268 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689295268_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testQueueMaxCapacitiesWillNotBeHonoredWhenNotRespectingExclusivity(TestNodeLabelContainerAllocation.java:1480) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testOrderOfAllocationOnPartitions(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.512 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testOrderOfAllocationOnPartitions####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689295873_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1e66f1f5[proto=application_id { id: 1 cluster_timestamp: 1573689295873 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689295873 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689295873_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testOrderOfAllocationOnPartitions(TestNodeLabelContainerAllocation.java:1900) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testParentQueueMaxCapsAreRespected(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.346 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testParentQueueMaxCapsAreRespected####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689296393_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: x####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@17a7f733[proto=application_id { id: 1 cluster_timestamp: 1573689296393 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689296393 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689296393_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testParentQueueMaxCapsAreRespected(TestNodeLabelContainerAllocation.java:2202) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testRMContainerLeakInLeafQueue(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.569 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMContainerLeakInLeafQueue####Submitapp#### name: app1####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689296777_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@e6d8385[proto=application_id { id: 1 cluster_timestamp: 1573689296777 } application_name: "app1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689296777 } application_name: "app1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689296777_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testRMContainerLeakInLeafQueue(TestNodeLabelContainerAllocation.java:670) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testQueuesWithoutAccessUsingPartitionedNodes(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.809 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueuesWithoutAccessUsingPartitionedNodes####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689297315_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1b1426f4[proto=application_id { id: 1 cluster_timestamp: 1573689297315 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689297315 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689297315_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testQueuesWithoutAccessUsingPartitionedNodes(TestNodeLabelContainerAllocation.java:1313) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testQueueMetricsWithMixedLabels(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.299 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueMetricsWithMixedLabels####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689298092_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: x####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@27462a88[proto=application_id { id: 1 cluster_timestamp: 1573689298092 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689298092 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689298092_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testQueueMetricsWithMixedLabels(TestNodeLabelContainerAllocation.java:2529) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testPreferenceOfQueuesTowardsNodePartitions(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.643 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreferenceOfQueuesTowardsNodePartitions####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689298502_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@738dc9b[proto=application_id { id: 1 cluster_timestamp: 1573689298502 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689298502 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689298502_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testPreferenceOfQueuesTowardsNodePartitions(TestNodeLabelContainerAllocation.java:1156) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testQueueMetricsWithLabels(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.426 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueMetricsWithLabels####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689299050_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: x####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7bba5817[proto=application_id { id: 1 cluster_timestamp: 1573689299050 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689299050 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689299050_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testQueueMetricsWithLabels(TestNodeLabelContainerAllocation.java:2307) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testQueueMetricsWithLabelsOnDefaultLabelNode(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.451 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueMetricsWithLabelsOnDefaultLabelNode####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689299473_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1033576a[proto=application_id { id: 1 cluster_timestamp: 1573689299473 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689299473 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689299473_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testQueueMetricsWithLabelsOnDefaultLabelNode(TestNodeLabelContainerAllocation.java:2420) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testContainerAllocationWithSingleUserLimits(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.472 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerAllocationWithSingleUserLimits####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689299948_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4ac8b751[proto=application_id { id: 1 cluster_timestamp: 1573689299948 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689299948 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689299948_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testContainerAllocationWithSingleUserLimits(TestNodeLabelContainerAllocation.java:191) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMContainerAllocationWillAlwaysBeExclusive(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation) Time elapsed: 0.385 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMContainerAllocationWillAlwaysBeExclusive####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689300450_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@d554c5f[proto=application_id { id: 1 cluster_timestamp: 1573689300450 } application_name: "app" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689300450 } application_name: "app" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689300450_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation.testAMContainerAllocationWillAlwaysBeExclusive(TestNodeLabelContainerAllocation.java:1385) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerWorkflowPriorityMapping [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.31 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerWorkflowPriorityMapping [ERROR] testWorkflowPriorityMappings(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerWorkflowPriorityMapping) Time elapsed: 3.231 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testWorkflowPriorityMappings####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a2####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: true####Submitapp#### applicationId: application_0_0001####Submitapp#### applicationId after: application_0_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: [workflowid:workflow3]####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5e81e5ac[proto=application_id { id: 1 cluster_timestamp: 0 } application_name: "" queue: "a2" priority { priority: 4 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "workflowid:workflow3" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 0 } application_name: "" queue: "a2" priority { priority: 4 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "workflowid:workflow3" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_0_0001,priority=4,amContainer=,resource=,applicationTags=[workflowid:workflow3],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerWorkflowPriorityMapping.testWorkflowPriorityMappings(TestCapacitySchedulerWorkflowPriorityMapping.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation [ERROR] Tests run: 13, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 14.56 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation [ERROR] testAutoCreateLeafQueueFailsWithNoQueueMapping(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation) Time elapsed: 2.925 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAutoCreateLeafQueueFailsWithNoQueueMapping####Submitapp#### name: app####Submitapp#### user: invalid_user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: invalid_user####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689307950_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@156d4b9[proto=application_id { id: 1 cluster_timestamp: 1573689307950 } application_name: "app" queue: "invalid_user" priority { priority: 0 } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689307950 } application_name: "app" queue: "invalid_user" priority { priority: 0 } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689307950_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation.testAutoCreateLeafQueueFailsWithNoQueueMapping(TestCapacitySchedulerAutoQueueCreation.java:368) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testClusterResourceUpdationOnAutoCreatedLeafQueues(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation) Time elapsed: 1.398 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: submitApp####Submitapp#### name: test-auto-queue-activation####Submitapp#### user: user_1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: user_1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: SSD}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689310812_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2783717b[proto=application_id { id: 1 cluster_timestamp: 1573689310812 } application_name: "test-auto-queue-activation" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "SSD" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689310812 } application_name: "test-auto-queue-activation" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "SSD" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689310812_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: SSD}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueueBase.submitApp(TestCapacitySchedulerAutoCreatedQueueBase.java:479) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation.testClusterResourceUpdationOnAutoCreatedLeafQueues(TestCapacitySchedulerAutoQueueCreation.java:641) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAutoCreateLeafQueueCreation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation) Time elapsed: 0.503 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: submitApp####Submitapp#### name: test-auto-queue-activation####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: user_0####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: SSD}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689314148_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6196a720[proto=application_id { id: 1 cluster_timestamp: 1573689314148 } application_name: "test-auto-queue-activation" queue: "user_0" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "SSD" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689314148 } application_name: "test-auto-queue-activation" queue: "user_0" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "SSD" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689314148_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: SSD}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueueBase.submitApp(TestCapacitySchedulerAutoCreatedQueueBase.java:479) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation.testAutoCreateLeafQueueCreation(TestCapacitySchedulerAutoQueueCreation.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testReinitializeQueuesWithAutoCreatedLeafQueues(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation) Time elapsed: 0.972 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: submitApp####Submitapp#### name: test-auto-queue-activation####Submitapp#### user: user_1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: user_1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: SSD}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689316012_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6c451c9c[proto=application_id { id: 1 cluster_timestamp: 1573689316012 } application_name: "test-auto-queue-activation" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "SSD" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689316012 } application_name: "test-auto-queue-activation" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "SSD" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689316012_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: SSD}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueueBase.submitApp(TestCapacitySchedulerAutoCreatedQueueBase.java:479) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation.testReinitializeQueuesWithAutoCreatedLeafQueues(TestCapacitySchedulerAutoQueueCreation.java:743) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAutoCreatedQueueActivationDeactivation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation) Time elapsed: 0.432 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: submitApp####Submitapp#### name: test-auto-queue-activation####Submitapp#### user: user_1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: user_1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: SSD}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689316543_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7577b641[proto=application_id { id: 1 cluster_timestamp: 1573689316543 } application_name: "test-auto-queue-activation" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "SSD" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689316543 } application_name: "test-auto-queue-activation" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "SSD" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689316543_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: SSD}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueueBase.submitApp(TestCapacitySchedulerAutoCreatedQueueBase.java:479) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation.testAutoCreatedQueueActivationDeactivation(TestCapacitySchedulerAutoQueueCreation.java:547) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testReinitializeStoppedAutoCreatedLeafQueue(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation) Time elapsed: 0.663 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testReinitializeStoppedAutoCreatedLeafQueue####Submitapp#### name: test-auto-queue-creation-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: user_0####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: SSD}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689318032_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@bf71cec[proto=application_id { id: 1 cluster_timestamp: 1573689318032 } application_name: "test-auto-queue-creation-1" queue: "user_0" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "SSD" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689318032 } application_name: "test-auto-queue-creation-1" queue: "user_0" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "SSD" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689318032_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: SSD}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation.testReinitializeStoppedAutoCreatedLeafQueue(TestCapacitySchedulerAutoQueueCreation.java:183) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestWorkPreservingRMRestartForNodeLabel [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.75 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestWorkPreservingRMRestartForNodeLabel [ERROR] testWorkPreservingRestartForNodeLabel(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestWorkPreservingRMRestartForNodeLabel) Time elapsed: 3.682 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testWorkPreservingRestartForNodeLabel####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689323506_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4fc5e095[proto=application_id { id: 1 cluster_timestamp: 1573689323506 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689323506 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689323506_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestWorkPreservingRMRestartForNodeLabel.testWorkPreservingRestartForNodeLabel(TestWorkPreservingRMRestartForNodeLabel.java:167) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCSAllocateCustomResource [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.011 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCSAllocateCustomResource [ERROR] testCapacitySchedulerJobWhenConfigureCustomResourceType(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCSAllocateCustomResource) Time elapsed: 2.595 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testCapacitySchedulerJobWhenConfigureCustomResourceType####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689329310_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1fde0371[proto=application_id { id: 1 cluster_timestamp: 1573689329310 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "yarn.io/gpu" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689329310 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "yarn.io/gpu" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689329310_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCSAllocateCustomResource.testCapacitySchedulerJobWhenConfigureCustomResourceType(TestCSAllocateCustomResource.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriorityACLConfiguration [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.446 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriorityACLConfiguration [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestAbsoluteResourceConfiguration [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.79 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestAbsoluteResourceConfiguration [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerWithMultiResourceTypes [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.237 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerWithMultiResourceTypes [ERROR] testMaxLimitsOfQueueWithMultipleResources(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerWithMultiResourceTypes) Time elapsed: 3.537 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMaxLimitsOfQueueWithMultipleResources####Submitapp#### name: app-1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689341666_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@662f5666[proto=application_id { id: 1 cluster_timestamp: 1573689341666 } application_name: "app-1" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "yarn.io/gpu" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689341666 } application_name: "app-1" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "yarn.io/gpu" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689341666_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerWithMultiResourceTypes.testMaxLimitsOfQueueWithMultipleResources(TestCapacitySchedulerWithMultiResourceTypes.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSchedulingRequestUpdate [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 3.956 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSchedulingRequestUpdate [ERROR] testNodePartitionPendingResourceUpdate(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSchedulingRequestUpdate) Time elapsed: 3.438 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNodePartitionPendingResourceUpdate####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689346889_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@338494fa[proto=application_id { id: 1 cluster_timestamp: 1573689346889 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689346889 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689346889_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSchedulingRequestUpdate.testNodePartitionPendingResourceUpdate(TestCapacitySchedulerSchedulingRequestUpdate.java:222) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testBasicPendingResourceUpdate(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSchedulingRequestUpdate) Time elapsed: 0.449 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testBasicPendingResourceUpdate####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689348546_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3b956878[proto=application_id { id: 1 cluster_timestamp: 1573689348546 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689348546 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689348546_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSchedulingRequestUpdate.testBasicPendingResourceUpdate(TestCapacitySchedulerSchedulingRequestUpdate.java:88) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation [ERROR] Tests run: 16, Failures: 0, Errors: 16, Skipped: 0, Time elapsed: 10.417 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation [ERROR] testSchedulingRequestDisabledByDefault[0](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 3.129 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSchedulingRequestDisabledByDefault####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689351477_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@19fb8826[proto=application_id { id: 1 cluster_timestamp: 1573689351477 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689351477 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689351477_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testSchedulingRequestDisabledByDefault(TestSchedulingRequestContainerAllocation.java:438) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testMultiAllocationTagsConstraints[0](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.392 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: submitApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689353063_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: null####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: [server1]####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4e895da1[proto=application_id { id: 1 cluster_timestamp: 1573689353063 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "server1" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689353063 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "server1" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689353063_0001,priority=0,amContainer=,resource=,applicationTags=[server1],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.submitApp(TestSchedulingRequestContainerAllocation.java:125) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testMultiAllocationTagsConstraints(TestSchedulingRequestContainerAllocation.java:734) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testIntraAppAntiAffinityWithMultipleTags[0](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.489 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIntraAppAntiAffinityWithMultipleTags####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689353543_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@142fb90a[proto=application_id { id: 1 cluster_timestamp: 1573689353543 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689353543 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689353543_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testIntraAppAntiAffinityWithMultipleTags(TestSchedulingRequestContainerAllocation.java:234) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInterAppAntiAffinity[0](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.478 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInterAppAntiAffinity####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689354004_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@30f0a4d2[proto=application_id { id: 1 cluster_timestamp: 1573689354004 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689354004 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689354004_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testInterAppAntiAffinity(TestSchedulingRequestContainerAllocation.java:312) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSchedulingRequestWithNullConstraint[0](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.45 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSchedulingRequestWithNullConstraint####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689354455_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@650baf1c[proto=application_id { id: 1 cluster_timestamp: 1573689354455 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689354455 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689354455_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testSchedulingRequestWithNullConstraint(TestSchedulingRequestContainerAllocation.java:488) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testIntraAppAntiAffinity[0](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.411 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIntraAppAntiAffinity####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689354943_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@11f74f28[proto=application_id { id: 1 cluster_timestamp: 1573689354943 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689354943 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689354943_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testIntraAppAntiAffinity(TestSchedulingRequestContainerAllocation.java:160) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInterAppConstraintsWithNamespaces[0](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.738 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: submitApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689355277_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: null####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: [former5]####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2c7af5d6[proto=application_id { id: 1 cluster_timestamp: 1573689355277 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "former5" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689355277 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "former5" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689355277_0001,priority=0,amContainer=,resource=,applicationTags=[former5],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.submitApp(TestSchedulingRequestContainerAllocation.java:125) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testInterAppConstraintsWithNamespaces(TestSchedulingRequestContainerAllocation.java:817) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInterAppCompositeConstraints[0](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.494 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: submitApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689356014_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: null####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: [hbase]####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2fa38c92[proto=application_id { id: 1 cluster_timestamp: 1573689356014 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "hbase" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689356014 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "hbase" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689356014_0001,priority=0,amContainer=,resource=,applicationTags=[hbase],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.submitApp(TestSchedulingRequestContainerAllocation.java:125) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testInterAppCompositeConstraints(TestSchedulingRequestContainerAllocation.java:606) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSchedulingRequestDisabledByDefault[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.464 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSchedulingRequestDisabledByDefault####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689356586_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1d7f7be7[proto=application_id { id: 1 cluster_timestamp: 1573689356586 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689356586 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689356586_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testSchedulingRequestDisabledByDefault(TestSchedulingRequestContainerAllocation.java:438) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testMultiAllocationTagsConstraints[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.421 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: submitApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689356954_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: null####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: [server1]####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@21a9b2ce[proto=application_id { id: 1 cluster_timestamp: 1573689356954 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "server1" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689356954 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "server1" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689356954_0001,priority=0,amContainer=,resource=,applicationTags=[server1],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.submitApp(TestSchedulingRequestContainerAllocation.java:125) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testMultiAllocationTagsConstraints(TestSchedulingRequestContainerAllocation.java:734) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testIntraAppAntiAffinityWithMultipleTags[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.908 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIntraAppAntiAffinityWithMultipleTags####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689357415_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@787ad0f4[proto=application_id { id: 1 cluster_timestamp: 1573689357415 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689357415 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689357415_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testIntraAppAntiAffinityWithMultipleTags(TestSchedulingRequestContainerAllocation.java:234) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInterAppAntiAffinity[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.402 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testInterAppAntiAffinity####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689358326_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7df92b8d[proto=application_id { id: 1 cluster_timestamp: 1573689358326 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689358326 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689358326_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testInterAppAntiAffinity(TestSchedulingRequestContainerAllocation.java:312) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSchedulingRequestWithNullConstraint[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.354 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSchedulingRequestWithNullConstraint####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689358731_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@24a88145[proto=application_id { id: 1 cluster_timestamp: 1573689358731 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689358731 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689358731_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testSchedulingRequestWithNullConstraint(TestSchedulingRequestContainerAllocation.java:488) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testIntraAppAntiAffinity[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.531 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIntraAppAntiAffinity####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689359083_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5ede03a2[proto=application_id { id: 1 cluster_timestamp: 1573689359083 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689359083 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689359083_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testIntraAppAntiAffinity(TestSchedulingRequestContainerAllocation.java:160) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInterAppConstraintsWithNamespaces[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.296 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: submitApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689359561_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: null####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: [former5]####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2a83b632[proto=application_id { id: 1 cluster_timestamp: 1573689359561 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "former5" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689359561 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "former5" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689359561_0001,priority=0,amContainer=,resource=,applicationTags=[former5],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.submitApp(TestSchedulingRequestContainerAllocation.java:125) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testInterAppConstraintsWithNamespaces(TestSchedulingRequestContainerAllocation.java:817) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testInterAppCompositeConstraints[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation) Time elapsed: 0.354 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: submitApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689359879_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: null####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: [hbase]####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@35fbb2f0[proto=application_id { id: 1 cluster_timestamp: 1573689359879 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "hbase" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689359879 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false applicationTags: "hbase" attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689359879_0001,priority=0,amContainer=,resource=,applicationTags=[hbase],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.submitApp(TestSchedulingRequestContainerAllocation.java:125) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocation.testInterAppCompositeConstraints(TestSchedulingRequestContainerAllocation.java:606) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestGuaranteedOrZeroCapacityOverTimePolicy [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.176 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestGuaranteedOrZeroCapacityOverTimePolicy [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition [ERROR] Tests run: 7, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 8.66 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition [ERROR] testAMLimitByAllResources(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition) Time elapsed: 3.237 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMLimitByAllResources####Submitapp#### name: app-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689363777_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@75f5fd58[proto=application_id { id: 1 cluster_timestamp: 1573689363777 } application_name: "app-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "gpu" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689363777 } application_name: "app-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } resource_value_map { key: "gpu" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689363777_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition.testAMLimitByAllResources(TestApplicationLimitsByPartition.java:983) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAMResourceLimitForMultipleApplications(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition) Time elapsed: 0.603 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMResourceLimitForMultipleApplications####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: y}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689365717_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: y####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@56f6d40b[proto=application_id { id: 1 cluster_timestamp: 1573689365717 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "y" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689365717 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "y" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689365717_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: y}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition.testAMResourceLimitForMultipleApplications(TestApplicationLimitsByPartition.java:659) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAMResourceLimitWithLabels(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition) Time elapsed: 0.522 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMResourceLimitWithLabels####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689366289_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: x####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1a531efb[proto=application_id { id: 1 cluster_timestamp: 1573689366289 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689366289 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689366289_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition.testAMResourceLimitWithLabels(TestApplicationLimitsByPartition.java:168) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testDefaultAMLimitFromQueueForPartition(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition) Time elapsed: 0.545 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testDefaultAMLimitFromQueueForPartition####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689369460_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: x####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@67092d4e[proto=application_id { id: 1 cluster_timestamp: 1573689369460 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689369460 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689369460_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition.testDefaultAMLimitFromQueueForPartition(TestApplicationLimitsByPartition.java:430) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUserAMResourceLimitWithLabels(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition) Time elapsed: 0.471 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUserAMResourceLimitWithLabels####Submitapp#### name: app####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689369931_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: x####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4aa34c1c[proto=application_id { id: 1 cluster_timestamp: 1573689369931 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689369931 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689369931_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition.testUserAMResourceLimitWithLabels(TestApplicationLimitsByPartition.java:514) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAtleastOneAMRunPerPartition(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition) Time elapsed: 0.469 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAtleastOneAMRunPerPartition####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689370434_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: x####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@122df7e7[proto=application_id { id: 1 cluster_timestamp: 1573689370434 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689370434 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689370434_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimitsByPartition.testAtleastOneAMRunPerPartition(TestApplicationLimitsByPartition.java:323) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueManagementDynamicEditPolicy [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.565 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueManagementDynamicEditPolicy [ERROR] testEditSchedule(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueManagementDynamicEditPolicy) Time elapsed: 3.383 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: submitApp####Submitapp#### name: test-auto-queue-activation####Submitapp#### user: user_1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: user_1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: SSD}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689373653_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@75459c75[proto=application_id { id: 1 cluster_timestamp: 1573689373653 } application_name: "test-auto-queue-activation" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "SSD" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689373653 } application_name: "test-auto-queue-activation" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "SSD" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689373653_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: SSD}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueueBase.submitApp(TestCapacitySchedulerAutoCreatedQueueBase.java:479) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueManagementDynamicEditPolicy.testEditSchedule(TestQueueManagementDynamicEditPolicy.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueCapacities [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.18 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueCapacities [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriorityACLs [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.252 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriorityACLs [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerQueueMappingFactory [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.74 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerQueueMappingFactory [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueParsing [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.235 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueParsing [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueState [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.711 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueState [ERROR] testRecoverDrainingStateAfterRMRestart(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueState) Time elapsed: 2.323 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRecoverDrainingStateAfterRMRestart####Submitapp#### name: appname####Submitapp#### user: appuser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: q2####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689398006_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@41b4f9af[proto=application_id { id: 1 cluster_timestamp: 1573689398006 } application_name: "appname" queue: "q2" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689398006 } application_name: "appname" queue: "q2" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689398006_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueState.testRecoverDrainingStateAfterRMRestart(TestQueueState.java:239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerPerf [WARNING] Tests run: 4, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 0.215 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerPerf [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.policy.TestPriorityUtilizationQueueOrderingPolicy [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.251 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.policy.TestPriorityUtilizationQueueOrderingPolicy [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption [ERROR] Tests run: 11, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 9.765 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption [ERROR] testSimpleSurgicalPreemptionOnAutoCreatedLeafQueues(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption) Time elapsed: 3.999 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSimpleSurgicalPreemption####Submitapp#### name: app####Submitapp#### user: user_1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: user_1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689405952_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@676e300f[proto=application_id { id: 1 cluster_timestamp: 1573689405952 } application_name: "app" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689405952 } application_name: "app" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689405952_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testSimpleSurgicalPreemption(TestCapacitySchedulerSurgicalPreemption.java:134) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption.testSimpleSurgicalPreemptionOnAutoCreatedLeafQueues(TestCapacitySchedulerAutoCreatedQueuePreemption.java:160) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPreemptionFromHighestPriorityManagedParentQueueAndOldestContainer(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption) Time elapsed: 0.72 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer####Submitapp#### name: app####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: user_0####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689407888_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7f453247[proto=application_id { id: 1 cluster_timestamp: 1573689407888 } application_name: "app" queue: "user_0" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689407888 } application_name: "app" queue: "user_0" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689407888_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer(TestCapacitySchedulerSurgicalPreemption.java:804) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption.testPreemptionFromHighestPriorityManagedParentQueueAndOldestContainer(TestCapacitySchedulerAutoCreatedQueuePreemption.java:198) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPreemptionForFragmentatedCluster(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption) Time elapsed: 0.703 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreemptionForFragmentatedCluster####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689408538_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6cdd5ad8[proto=application_id { id: 1 cluster_timestamp: 1573689408538 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689408538 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689408538_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPreemptionForFragmentatedCluster(TestCapacitySchedulerSurgicalPreemption.java:1197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption) Time elapsed: 0.745 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689409218_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1fb5d12d[proto=application_id { id: 1 cluster_timestamp: 1573689409218 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689409218 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689409218_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer(TestCapacitySchedulerSurgicalPreemption.java:804) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer(TestCapacitySchedulerSurgicalPreemption.java:759) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPriorityPreemptionRequiresMoveReservation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption) Time elapsed: 0.373 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPriorityPreemptionRequiresMoveReservation####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689409976_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@111b7960[proto=application_id { id: 1 cluster_timestamp: 1573689409976 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689409976 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689409976_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionRequiresMoveReservation(TestCapacitySchedulerSurgicalPreemption.java:503) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSurgicalPreemptionWithAvailableResource(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption) Time elapsed: 0.817 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSurgicalPreemptionWithAvailableResource####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689410327_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1e1b79e5[proto=application_id { id: 1 cluster_timestamp: 1573689410327 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689410327 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689410327_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testSurgicalPreemptionWithAvailableResource(TestCapacitySchedulerSurgicalPreemption.java:258) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPriorityPreemptionOnlyTriggeredWhenDemandingQueueUnsatisfied(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption) Time elapsed: 0.599 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPriorityPreemptionOnlyTriggeredWhenDemandingQueueUnsatisfied####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689411154_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3c45af5d[proto=application_id { id: 1 cluster_timestamp: 1573689411154 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689411154 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689411154_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionOnlyTriggeredWhenDemandingQueueUnsatisfied(TestCapacitySchedulerSurgicalPreemption.java:644) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPriorityPreemptionWhenAllQueuesAreBelowGuaranteedCapacities(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption) Time elapsed: 0.391 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPriorityPreemptionWhenAllQueuesAreBelowGuaranteedCapacities####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689411738_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3c85a196[proto=application_id { id: 1 cluster_timestamp: 1573689411738 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689411738 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689411738_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionWhenAllQueuesAreBelowGuaranteedCapacities(TestCapacitySchedulerSurgicalPreemption.java:378) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSimpleSurgicalPreemption(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption) Time elapsed: 0.407 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSimpleSurgicalPreemption####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689412160_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@259a2cf1[proto=application_id { id: 1 cluster_timestamp: 1573689412160 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689412160 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689412160_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testSimpleSurgicalPreemption(TestCapacitySchedulerSurgicalPreemption.java:134) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testSimpleSurgicalPreemption(TestCapacitySchedulerSurgicalPreemption.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPriorityPreemptionWithNodeLabels(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption) Time elapsed: 0.478 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPriorityPreemptionWithNodeLabels####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: B####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689412554_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6f19ac19[proto=application_id { id: 1 cluster_timestamp: 1573689412554 } application_name: "app" queue: "B" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 4096 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 4096 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689412554 } application_name: "app" queue: "B" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 4096 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 4096 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689412554_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionWithNodeLabels(TestCapacitySchedulerSurgicalPreemption.java:1060) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testPreemptionToBalanceWithCustomTimeout(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoCreatedQueuePreemption) Time elapsed: 0.444 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreemptionToBalanceWithCustomTimeout####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689413012_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4b3e32ff[proto=application_id { id: 1 cluster_timestamp: 1573689413012 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689413012 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689413012_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPreemptionToBalanceWithCustomTimeout(TestCapacitySchedulerSurgicalPreemption.java:1319) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestChildQueueOrder [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.397 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestChildQueueOrder [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling [ERROR] Tests run: 11, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 11.565 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling [ERROR] testThreeThreadsAsyncContainerAllocation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling) Time elapsed: 3.56 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAsyncContainerAllocation####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689420212_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3e9b55de[proto=application_id { id: 1 cluster_timestamp: 1573689420212 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689420212 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689420212_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testAsyncContainerAllocation(TestCapacitySchedulerAsyncScheduling.java:150) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testThreeThreadsAsyncContainerAllocation(TestCapacitySchedulerAsyncScheduling.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testCommitOutdatedReservedProposal(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling) Time elapsed: 0.742 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testCommitOutdatedReservedProposal####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689422281_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1bc43383[proto=application_id { id: 1 cluster_timestamp: 1573689422281 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689422281 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689422281_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testCommitOutdatedReservedProposal(TestCapacitySchedulerAsyncScheduling.java:347) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testCommitProposalsForUnusableNode(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling) Time elapsed: 0.678 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testCommitProposalsForUnusableNode####Submitapp#### name: app1####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689423052_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@40c53a54[proto=application_id { id: 1 cluster_timestamp: 1573689423052 } application_name: "app1" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689423052 } application_name: "app1" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689423052_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testCommitProposalsForUnusableNode(TestCapacitySchedulerAsyncScheduling.java:868) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testCommitDuplicatedAllocateFromReservedProposals(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling) Time elapsed: 0.697 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testCommitDuplicatedAllocateFromReservedProposals####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689423704_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3d1b8b99[proto=application_id { id: 1 cluster_timestamp: 1573689423704 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689423704 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689423704_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testCommitDuplicatedAllocateFromReservedProposals(TestCapacitySchedulerAsyncScheduling.java:709) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testTwoThreadsAsyncContainerAllocation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling) Time elapsed: 0.771 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAsyncContainerAllocation####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689424448_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@144ca165[proto=application_id { id: 1 cluster_timestamp: 1573689424448 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689424448 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689424448_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testAsyncContainerAllocation(TestCapacitySchedulerAsyncScheduling.java:150) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testTwoThreadsAsyncContainerAllocation(TestCapacitySchedulerAsyncScheduling.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAsyncSchedulerSkipNoHeartbeatNMs(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling) Time elapsed: 0.869 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAsyncSchedulerSkipNoHeartbeatNMs####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689425419_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@197d671[proto=application_id { id: 1 cluster_timestamp: 1573689425419 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689425419 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689425419_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testAsyncSchedulerSkipNoHeartbeatNMs(TestCapacitySchedulerAsyncScheduling.java:586) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testReleaseOutdatedReservedContainer(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling) Time elapsed: 0.72 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testReleaseOutdatedReservedContainer####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689426110_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@47cb1d14[proto=application_id { id: 1 cluster_timestamp: 1573689426110 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 4096 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 4096 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689426110 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 4096 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 4096 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689426110_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testReleaseOutdatedReservedContainer(TestCapacitySchedulerAsyncScheduling.java:804) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testReturnNullWhenGetSchedulerContainer(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling) Time elapsed: 0.583 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testReturnNullWhenGetSchedulerContainer####Submitapp#### name: app1####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689426830_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@31f8867d[proto=application_id { id: 1 cluster_timestamp: 1573689426830 } application_name: "app1" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689426830 } application_name: "app1" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689426830_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testReturnNullWhenGetSchedulerContainer(TestCapacitySchedulerAsyncScheduling.java:986) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNodeResourceOverAllocated(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling) Time elapsed: 0.479 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNodeResourceOverAllocated####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689427370_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@a70a5a7[proto=application_id { id: 1 cluster_timestamp: 1573689427370 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689427370 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689427370_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testNodeResourceOverAllocated(TestCapacitySchedulerAsyncScheduling.java:505) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleThreadAsyncContainerAllocation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling) Time elapsed: 1.516 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAsyncContainerAllocation####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689428204_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@64a35f40[proto=application_id { id: 1 cluster_timestamp: 1573689428204 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689428204 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689428204_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testAsyncContainerAllocation(TestCapacitySchedulerAsyncScheduling.java:150) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testSingleThreadAsyncContainerAllocation(TestCapacitySchedulerAsyncScheduling.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testCommitProposalForFailedAppAttempt(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling) Time elapsed: 0.85 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testCommitProposalForFailedAppAttempt####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689429441_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@ead6781[proto=application_id { id: 1 cluster_timestamp: 1573689429441 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689429441 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689429441_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAsyncScheduling.testCommitProposalForFailedAppAttempt(TestCapacitySchedulerAsyncScheduling.java:247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing [ERROR] Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 7.625 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing [ERROR] testDecreaseContainerWillNotDeadlockContainerAllocation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing) Time elapsed: 3.073 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testDecreaseContainerWillNotDeadlockContainerAllocation####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689432838_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4b86de7f[proto=application_id { id: 1 cluster_timestamp: 1573689432838 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689432838 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689432838_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing.testDecreaseContainerWillNotDeadlockContainerAllocation(TestContainerResizing.java:1049) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testExcessiveReservationWhenCancelIncreaseRequest(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing) Time elapsed: 0.58 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testExcessiveReservationWhenCancelIncreaseRequest####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689434529_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2aa5fe93[proto=application_id { id: 1 cluster_timestamp: 1573689434529 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689434529 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689434529_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing.testExcessiveReservationWhenCancelIncreaseRequest(TestContainerResizing.java:469) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testIncreaseContainerUnreservedWhenContainerCompleted(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing) Time elapsed: 0.552 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIncreaseContainerUnreservedWhenContainerCompleted####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689435081_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5db250b4[proto=application_id { id: 1 cluster_timestamp: 1573689435081 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689435081 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689435081_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing.testIncreaseContainerUnreservedWhenContainerCompleted(TestContainerResizing.java:716) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testIncreaseRequestWithNoHeadroomLeft(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing) Time elapsed: 0.469 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIncreaseRequestWithNoHeadroomLeft####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689435665_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7c469c48[proto=application_id { id: 1 cluster_timestamp: 1573689435665 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689435665 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689435665_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing.testIncreaseRequestWithNoHeadroomLeft(TestContainerResizing.java:386) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testIncreaseContainerUnreservedWhenApplicationCompleted(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing) Time elapsed: 0.381 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIncreaseContainerUnreservedWhenApplicationCompleted####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689436079_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@659a969b[proto=application_id { id: 1 cluster_timestamp: 1573689436079 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689436079 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689436079_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing.testIncreaseContainerUnreservedWhenApplicationCompleted(TestContainerResizing.java:828) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSimpleDecreaseContainer(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing) Time elapsed: 0.437 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSimpleDecreaseContainer####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689436473_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4ac3c60d[proto=application_id { id: 1 cluster_timestamp: 1573689436473 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689436473 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689436473_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing.testSimpleDecreaseContainer(TestContainerResizing.java:204) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testOrderOfIncreaseContainerRequestAllocation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing) Time elapsed: 0.349 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testOrderOfIncreaseContainerRequestAllocation####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689436911_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5fdcaa40[proto=application_id { id: 1 cluster_timestamp: 1573689436911 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689436911 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689436911_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing.testOrderOfIncreaseContainerRequestAllocation(TestContainerResizing.java:960) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSimpleIncreaseRequestReservation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing) Time elapsed: 0.777 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSimpleIncreaseRequestReservation####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689437285_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@223d2c72[proto=application_id { id: 1 cluster_timestamp: 1573689437285 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689437285 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689437285_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing.testSimpleIncreaseRequestReservation(TestContainerResizing.java:277) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testExcessiveReservationWhenDecreaseSameContainer(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing) Time elapsed: 0.554 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testExcessiveReservationWhenDecreaseSameContainer####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689438023_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@65fb9ffc[proto=application_id { id: 1 cluster_timestamp: 1573689438023 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689438023 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689438023_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing.testExcessiveReservationWhenDecreaseSameContainer(TestContainerResizing.java:591) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSimpleIncreaseContainer(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing) Time elapsed: 0.285 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSimpleIncreaseContainer####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689438572_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3fc2959f[proto=application_id { id: 1 cluster_timestamp: 1573689438572 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689438572 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689438572_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerResizing.testSimpleIncreaseContainer(TestContainerResizing.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestReservations [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.444 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestReservations [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation [ERROR] Tests run: 17, Failures: 0, Errors: 17, Skipped: 0, Time elapsed: 10.528 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation [ERROR] testContinuousReservationLookingWhenUsedEqualsMax(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 3.604 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContinuousReservationLookingWhenUsedEqualsMax####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689448810_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6cbbd009[proto=application_id { id: 1 cluster_timestamp: 1573689448810 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689448810 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689448810_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testContinuousReservationLookingWhenUsedEqualsMax(TestContainerAllocation.java:742) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testLogAggregationContextPassedIntoContainerToken(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.25 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: getLogAggregationContextFromContainerToken####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689450686_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3b938003[proto=application_id { id: 1 cluster_timestamp: 1573689450686 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689450686 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689450686_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.getLogAggregationContextFromContainerToken(TestContainerAllocation.java:269) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testLogAggregationContextPassedIntoContainerToken(TestContainerAllocation.java:240) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAllocationForReservedContainer(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.474 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAllocationForReservedContainer####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689451136_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7d3b03f4[proto=application_id { id: 1 cluster_timestamp: 1573689451136 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689451136 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689451136_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testAllocationForReservedContainer(TestContainerAllocation.java:485) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMContainerAllocationWhenDNSUnavailable(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.293 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMContainerAllocationWhenDNSUnavailable####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689451584_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3fad8a5b[proto=application_id { id: 1 cluster_timestamp: 1573689451584 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689451584 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689451584_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testAMContainerAllocationWhenDNSUnavailable(TestContainerAllocation.java:340) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testActiveUsersWithOnlyPendingApps(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.374 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testActiveUsersWithOnlyPendingApps####Submitapp#### name: app####Submitapp#### user: u1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689451899_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4c1d9d4b[proto=application_id { id: 1 cluster_timestamp: 1573689451899 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689451899 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689451899_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testActiveUsersWithOnlyPendingApps(TestContainerAllocation.java:1109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testContainerTokenGeneratedOnPullRequest(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.26 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerTokenGeneratedOnPullRequest####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689452243_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6d2a209c[proto=application_id { id: 1 cluster_timestamp: 1573689452243 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689452243 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689452243_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testContainerTokenGeneratedOnPullRequest(TestContainerAllocation.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testExcessReservationThanNodeManagerCapacity(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.382 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testExcessReservationThanNodeManagerCapacity####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689452519_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@297cc8a1[proto=application_id { id: 1 cluster_timestamp: 1573689452519 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689452519 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689452519_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testExcessReservationThanNodeManagerCapacity(TestContainerAllocation.java:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAllocationCannotBeBlockedWhenFormerQueueReachedItsLimit(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.557 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAllocationCannotBeBlockedWhenFormerQueueReachedItsLimit####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689452977_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@52a1b1c2[proto=application_id { id: 1 cluster_timestamp: 1573689452977 } application_name: "app" queue: "c1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689452977 } application_name: "app" queue: "c1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689452977_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testAllocationCannotBeBlockedWhenFormerQueueReachedItsLimit(TestContainerAllocation.java:1304) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainerRejectionWhenAskBeyondDynamicMax(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.484 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerRejectionWhenAskBeyondDynamicMax####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689453488_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@11b96dad[proto=application_id { id: 1 cluster_timestamp: 1573689453488 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689453488 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689453488_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testContainerRejectionWhenAskBeyondDynamicMax(TestContainerAllocation.java:1364) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPendingResourcesConsideringUserLimit(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.405 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPendingResourcesConsideringUserLimit####Submitapp#### name: app####Submitapp#### user: u1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689453982_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@635eaaf1[proto=application_id { id: 1 cluster_timestamp: 1573689453982 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689453982 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689453982_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testPendingResourcesConsideringUserLimit(TestContainerAllocation.java:810) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testUnreserveWhenClusterResourceHasEmptyResourceType(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.484 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUnreserveWhenClusterResourceHasEmptyResourceType####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689454417_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@73f139b1[proto=application_id { id: 1 cluster_timestamp: 1573689454417 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } resource_value_map { key: "resource1" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689454417 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } resource_value_map { key: "resource1" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689454417_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testUnreserveWhenClusterResourceHasEmptyResourceType(TestContainerAllocation.java:1207) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testReservedContainerMetricsOnDecommisionedNode(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.364 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testReservedContainerMetricsOnDecommisionedNode####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689454815_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@77e2d255[proto=application_id { id: 1 cluster_timestamp: 1573689454815 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689454815 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689454815_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testReservedContainerMetricsOnDecommisionedNode(TestContainerAllocation.java:597) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAssignMultipleOffswitchContainers(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.453 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAssignMultipleOffswitchContainers####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689455184_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2ae31dd4[proto=application_id { id: 1 cluster_timestamp: 1573689455184 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689455184 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689455184_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testAssignMultipleOffswitchContainers(TestContainerAllocation.java:685) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNormalContainerAllocationWhenDNSUnavailable(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.39 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNormalContainerAllocationWhenDNSUnavailable####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689455615_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7fa98a66[proto=application_id { id: 1 cluster_timestamp: 1573689455615 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689455615 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689455615_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testNormalContainerAllocationWhenDNSUnavailable(TestContainerAllocation.java:201) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testExcessReservationWillBeUnreserved(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.45 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testExcessReservationWillBeUnreserved####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689456143_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3b17cb62[proto=application_id { id: 1 cluster_timestamp: 1573689456143 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689456143 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689456143_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testExcessReservationWillBeUnreserved(TestContainerAllocation.java:386) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testQueuePriorityOrdering(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.586 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueuePriorityOrdering####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689456539_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@62b9a33c[proto=application_id { id: 1 cluster_timestamp: 1573689456539 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689456539 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689456539_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testQueuePriorityOrdering(TestContainerAllocation.java:917) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUserLimitAllocationMultipleContainers(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation) Time elapsed: 0.551 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUserLimitAllocationMultipleContainers####Submitapp#### name: app####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689457098_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@affd297[proto=application_id { id: 1 cluster_timestamp: 1573689457098 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689457098 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689457098_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testUserLimitAllocationMultipleContainers(TestContainerAllocation.java:1046) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerQueueACLs [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.198 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerQueueACLs [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueMappings [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.117 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestQueueMappings [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimits [ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.213 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimits [ERROR] testApplicationLimitSubmit(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimits) Time elapsed: 5.178 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testApplicationLimitSubmit####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689472427_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5202ef4e[proto=application_id { id: 1 cluster_timestamp: 1573689472427 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689472427 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689472427_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimits.testApplicationLimitSubmit(TestApplicationLimits.java:829) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue [INFO] Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.075 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler [ERROR] Tests run: 71, Failures: 0, Errors: 29, Skipped: 0, Time elapsed: 53.907 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler [ERROR] testRecoverRequestAfterPreemption(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 1.664 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRecoverRequestAfterPreemption####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689506789_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@26989db6[proto=application_id { id: 1 cluster_timestamp: 1573689506789 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689506789 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689506789_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testRecoverRequestAfterPreemption(TestCapacityScheduler.java:1801) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppReservationWithDominantResourceCalculator(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.716 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppReservationWithDominantResourceCalculator####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689508506_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@77a00890[proto=application_id { id: 1 cluster_timestamp: 1573689508506 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689508506 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689508506_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testAppReservationWithDominantResourceCalculator(TestCapacityScheduler.java:3081) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testMoveAllApps(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.653 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMoveAllApps####Submitapp#### name: test-move-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689512200_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6f3e19b3[proto=application_id { id: 1 cluster_timestamp: 1573689512200 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689512200 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689512200_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testMoveAllApps(TestCapacityScheduler.java:2565) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAllocateDoesNotBlockOnSchedulerLock(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 1.149 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAllocateDoesNotBlockOnSchedulerLock####Submitapp#### name: appname####Submitapp#### user: appuser####Submitapp#### acls: {VIEW_APP=*}####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689512713_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@72a23a9d[proto=application_id { id: 1 cluster_timestamp: 1573689512713 } application_name: "appname" queue: "default" priority { priority: 0 } am_container_spec { application_ACLs { accessType: APPACCESS_VIEW_APP acl: "*" } } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689512713 } application_name: "appname" queue: "default" priority { priority: 0 } am_container_spec { application_ACLs { accessType: APPACCESS_VIEW_APP acl: "*" } } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689512713_0001,priority=0,amContainer=application_ACLs { accessType: APPACCESS_VIEW_APP acl: "*" },resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testAllocateDoesNotBlockOnSchedulerLock(TestCapacityScheduler.java:1589) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMUsedResource(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.695 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMUsedResource####Submitapp#### name: app-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689514521_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@174759f1[proto=application_id { id: 1 cluster_timestamp: 1573689514521 } application_name: "app-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689514521 } application_name: "app-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689514521_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testAMUsedResource(TestCapacityScheduler.java:4125) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testMoveAllAppsInvalidSource(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.631 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMoveAllAppsInvalidSource####Submitapp#### name: test-move-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689517717_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4b039c6d[proto=application_id { id: 1 cluster_timestamp: 1573689517717 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689517717 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689517717_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testMoveAllAppsInvalidSource(TestCapacityScheduler.java:2701) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testMoveAppWithActiveUsersWithOnlyPendingApps(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.627 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMoveAppWithActiveUsersWithOnlyPendingApps####Submitapp#### name: test-move-1####Submitapp#### user: u1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689518782_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@29fd8e67[proto=application_id { id: 1 cluster_timestamp: 1573689518782 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689518782 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689518782_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testMoveAppWithActiveUsersWithOnlyPendingApps(TestCapacityScheduler.java:5604) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testMoveAllAppsInvalidDestination(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.628 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMoveAllAppsInvalidDestination####Submitapp#### name: test-move-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689520750_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6198e9b5[proto=application_id { id: 1 cluster_timestamp: 1573689520750 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689520750 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689520750_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testMoveAllAppsInvalidDestination(TestCapacityScheduler.java:2635) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testPreemptionInfo(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.669 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreemptionInfo####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 3####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689521335_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@65aeb2af[proto=application_id { id: 1 cluster_timestamp: 1573689521335 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 3 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689521335 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 3 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689521335_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testPreemptionInfo(TestCapacityScheduler.java:1735) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMLimitUsage(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 10.602 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: verifyAMLimitForLeafQueue####Submitapp#### name: app-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689524108_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@619dfa81[proto=application_id { id: 1 cluster_timestamp: 1573689524108 } application_name: "app-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689524108 } application_name: "app-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689524108_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.verifyAMLimitForLeafQueue(TestCapacityScheduler.java:4509) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testAMLimitUsage(TestCapacityScheduler.java:4357) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testParentQueueMaxCapsAreRespected(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.642 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testParentQueueMaxCapsAreRespected####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689534878_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7e61e25c[proto=application_id { id: 1 cluster_timestamp: 1573689534878 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689534878 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689534878_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testParentQueueMaxCapsAreRespected(TestCapacityScheduler.java:3925) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testPendingResourceUpdatedAccordingToIncreaseRequestChanges(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.684 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPendingResourceUpdatedAccordingToIncreaseRequestChanges####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689535503_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2c9306d3[proto=application_id { id: 1 cluster_timestamp: 1573689535503 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689535503 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689535503_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testPendingResourceUpdatedAccordingToIncreaseRequestChanges(TestCapacityScheduler.java:4402) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testMoveAppPendingMetrics(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.755 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMoveAppPendingMetrics####Submitapp#### name: test-move-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689536335_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@52ba685a[proto=application_id { id: 1 cluster_timestamp: 1573689536335 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689536335 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689536335_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testMoveAppPendingMetrics(TestCapacityScheduler.java:1961) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testKillAllAppsInvalidSource(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.745 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testKillAllAppsInvalidSource####Submitapp#### name: test-move-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689537398_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@51f68849[proto=application_id { id: 1 cluster_timestamp: 1573689537398 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689537398 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689537398_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testKillAllAppsInvalidSource(TestCapacityScheduler.java:3020) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testResourceOverCommit(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.629 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testResourceOverCommit####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689538066_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@437281c5[proto=application_id { id: 1 cluster_timestamp: 1573689538066 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689538066 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689538066_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testResourceOverCommit(TestCapacityScheduler.java:1339) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testContainerAllocationLocalitySkipped(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.583 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerAllocationLocalitySkipped####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689538717_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@71b97eeb[proto=application_id { id: 1 cluster_timestamp: 1573689538717 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689538717 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689538717_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testContainerAllocationLocalitySkipped(TestCapacityScheduler.java:5534) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testQueueMappingWithCurrentUserQueueMappingForaGroup(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.566 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueMappingWithCurrentUserQueueMappingForaGroup####Submitapp#### name: appname####Submitapp#### user: a1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689539636_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@439f2d87[proto=application_id { id: 1 cluster_timestamp: 1573689539636 } application_name: "appname" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689539636 } application_name: "appname" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689539636_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testQueueMappingWithCurrentUserQueueMappingForaGroup(TestCapacityScheduler.java:5343) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testKillAllAppsInQueue(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.722 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testKillAllAppsInQueue####Submitapp#### name: test-move-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689541132_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6c66ddab[proto=application_id { id: 1 cluster_timestamp: 1573689541132 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689541132 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689541132_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testKillAllAppsInQueue(TestCapacityScheduler.java:2967) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testMoveAppSameParent(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.724 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMoveAppSameParent####Submitapp#### name: test-move-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689544723_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@67e4928c[proto=application_id { id: 1 cluster_timestamp: 1573689544723 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689544723 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689544723_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testMoveAppSameParent(TestCapacityScheduler.java:2041) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSchedulerKeyGarbageCollection(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.569 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSchedulerKeyGarbageCollection####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689545373_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@79445efb[proto=application_id { id: 1 cluster_timestamp: 1573689545373 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689545373 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689545373_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testSchedulerKeyGarbageCollection(TestCapacityScheduler.java:3661) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testSchedulingOnRemovedNode(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.715 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSchedulingOnRemovedNode####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689545924_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4641f66c[proto=application_id { id: 1 cluster_timestamp: 1573689545924 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689545924 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689545924_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testSchedulingOnRemovedNode(TestCapacityScheduler.java:4711) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testHierarchyQueuesCurrentLimits(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.527 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testHierarchyQueuesCurrentLimits####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689548003_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@674ed201[proto=application_id { id: 1 cluster_timestamp: 1573689548003 } application_name: "app" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689548003 } application_name: "app" queue: "b1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689548003_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testHierarchyQueuesCurrentLimits(TestCapacityScheduler.java:3820) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testAppAttemptLocalityStatistics(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.482 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppAttemptLocalityStatistics####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689549467_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5d15789f[proto=application_id { id: 1 cluster_timestamp: 1573689549467 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689549467 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689549467_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testAppAttemptLocalityStatistics(TestCapacityScheduler.java:5001) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testClearRequestsBeforeApplyTheProposal(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.539 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testClearRequestsBeforeApplyTheProposal####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689552704_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1221a836[proto=application_id { id: 1 cluster_timestamp: 1573689552704 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689552704 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689552704_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testClearRequestsBeforeApplyTheProposal(TestCapacityScheduler.java:5465) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testQueueHierarchyPendingResourceUpdate(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.456 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueHierarchyPendingResourceUpdate####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689553257_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@999cd18[proto=application_id { id: 1 cluster_timestamp: 1573689553257 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689553257 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689553257_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testQueueHierarchyPendingResourceUpdate(TestCapacityScheduler.java:3989) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testMoveAppBasic(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.565 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMoveAppBasic####Submitapp#### name: test-move-1####Submitapp#### user: user_0####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573689555257_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@342394b3[proto=application_id { id: 1 cluster_timestamp: 1573689555257 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573689555257 } application_name: "test-move-1" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573689555257_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testMoveAppBasic(TestCapacityScheduler.java:1889) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testRefreshQueuesMaxAllocationRefreshLarger(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.061 s <<< ERROR! java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:717) at java.util.Timer.(Timer.java:160) at java.util.Timer.(Timer.java:132) at org.apache.hadoop.yarn.server.resourcemanager.security.NMTokenSecretManagerInRM.(NMTokenSecretManagerInRM.java:59) at org.apache.hadoop.yarn.server.resourcemanager.RMSecretManagerService.createNMTokenSecretManager(RMSecretManagerService.java:114) at org.apache.hadoop.yarn.server.resourcemanager.RMSecretManagerService.(RMSecretManagerService.java:54) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createRMSecretManagerService(ResourceManager.java:1471) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:675) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1299) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:350) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.setUp(TestCapacityScheduler.java:219) at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testMaximumCapacitySetup(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.067 s <<< ERROR! java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:717) at java.util.Timer.(Timer.java:160) at java.util.Timer.(Timer.java:132) at org.apache.hadoop.yarn.server.resourcemanager.security.NMTokenSecretManagerInRM.(NMTokenSecretManagerInRM.java:59) at org.apache.hadoop.yarn.server.resourcemanager.RMSecretManagerService.createNMTokenSecretManager(RMSecretManagerService.java:114) at org.apache.hadoop.yarn.server.resourcemanager.RMSecretManagerService.(RMSecretManagerService.java:54) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createRMSecretManagerService(ResourceManager.java:1471) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:675) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1299) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:350) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.setUp(TestCapacityScheduler.java:219) at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testApplicationHeadRoom(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 0.059 s <<< ERROR! java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:717) at java.util.Timer.(Timer.java:160) at java.util.Timer.(Timer.java:132) at org.apache.hadoop.yarn.server.resourcemanager.security.NMTokenSecretManagerInRM.(NMTokenSecretManagerInRM.java:59) at org.apache.hadoop.yarn.server.resourcemanager.RMSecretManagerService.createNMTokenSecretManager(RMSecretManagerService.java:114) at org.apache.hadoop.yarn.server.resourcemanager.RMSecretManagerService.(RMSecretManagerService.java:54) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createRMSecretManagerService(ResourceManager.java:1471) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:675) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1299) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:350) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.setUp(TestCapacityScheduler.java:219) at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate [ERROR] Tests run: 8, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 7.492 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate [ERROR] testMoveApplicationWithLabel(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate) Time elapsed: 3.78 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMoveApplicationWithLabel####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690404843_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7d9cf056[proto=application_id { id: 1 cluster_timestamp: 1573690404843 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690404843 } application_name: "app" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690404843_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate.testMoveApplicationWithLabel(TestCapacitySchedulerNodeLabelUpdate.java:475) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testResourceUsageWhenNodeUpdatesPartition(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate) Time elapsed: 0.651 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testResourceUsageWhenNodeUpdatesPartition####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690406925_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@37e547da[proto=application_id { id: 1 cluster_timestamp: 1573690406925 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690406925 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690406925_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate.testResourceUsageWhenNodeUpdatesPartition(TestCapacitySchedulerNodeLabelUpdate.java:306) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testComplexResourceUsageWhenNodeUpdatesPartition(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate) Time elapsed: 0.533 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testComplexResourceUsageWhenNodeUpdatesPartition####Submitapp#### name: app####Submitapp#### user: u1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690407492_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@239a7ca2[proto=application_id { id: 1 cluster_timestamp: 1573690407492 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690407492 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690407492_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate.testComplexResourceUsageWhenNodeUpdatesPartition(TestCapacitySchedulerNodeLabelUpdate.java:561) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRequestContainerAfterNodePartitionUpdated(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate) Time elapsed: 0.436 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRequestContainerAfterNodePartitionUpdated####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690408009_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@74e192ff[proto=application_id { id: 1 cluster_timestamp: 1573690408009 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690408009 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690408009_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate.testRequestContainerAfterNodePartitionUpdated(TestCapacitySchedulerNodeLabelUpdate.java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMResourceUsageWhenNodeUpdatesPartition(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate) Time elapsed: 0.463 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMResourceUsageWhenNodeUpdatesPartition####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690408479_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: x####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6b89f493[proto=application_id { id: 1 cluster_timestamp: 1573690408479 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690408479 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690408479_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate.testAMResourceUsageWhenNodeUpdatesPartition(TestCapacitySchedulerNodeLabelUpdate.java:717) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testBlacklistAMDisableLabel(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate) Time elapsed: 0.455 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testBlacklistAMDisableLabel####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690409951_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5016d3e[proto=application_id { id: 1 cluster_timestamp: 1573690409951 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690409951 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690409951_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerNodeLabelUpdate.testBlacklistAMDisableLabel(TestCapacitySchedulerNodeLabelUpdate.java:821) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption [ERROR] Tests run: 9, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 8.617 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption [ERROR] testPreemptionForFragmentatedCluster(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption) Time elapsed: 4.121 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreemptionForFragmentatedCluster####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690413761_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3f18688c[proto=application_id { id: 1 cluster_timestamp: 1573690413761 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690413761 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 3072 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 3072 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690413761_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPreemptionForFragmentatedCluster(TestCapacitySchedulerSurgicalPreemption.java:1197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption) Time elapsed: 0.453 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690415733_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@642e9580[proto=application_id { id: 1 cluster_timestamp: 1573690415733 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690415733 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690415733_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer(TestCapacitySchedulerSurgicalPreemption.java:804) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer(TestCapacitySchedulerSurgicalPreemption.java:759) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPriorityPreemptionRequiresMoveReservation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption) Time elapsed: 0.498 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPriorityPreemptionRequiresMoveReservation####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690416177_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@67d10d5a[proto=application_id { id: 1 cluster_timestamp: 1573690416177 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690416177 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690416177_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionRequiresMoveReservation(TestCapacitySchedulerSurgicalPreemption.java:503) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSurgicalPreemptionWithAvailableResource(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption) Time elapsed: 0.531 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSurgicalPreemptionWithAvailableResource####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690416622_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@63293421[proto=application_id { id: 1 cluster_timestamp: 1573690416622 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690416622 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690416622_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testSurgicalPreemptionWithAvailableResource(TestCapacitySchedulerSurgicalPreemption.java:258) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPriorityPreemptionOnlyTriggeredWhenDemandingQueueUnsatisfied(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption) Time elapsed: 0.543 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPriorityPreemptionOnlyTriggeredWhenDemandingQueueUnsatisfied####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690417201_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1c30cf0a[proto=application_id { id: 1 cluster_timestamp: 1573690417201 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690417201 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690417201_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionOnlyTriggeredWhenDemandingQueueUnsatisfied(TestCapacitySchedulerSurgicalPreemption.java:644) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPriorityPreemptionWhenAllQueuesAreBelowGuaranteedCapacities(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption) Time elapsed: 0.472 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPriorityPreemptionWhenAllQueuesAreBelowGuaranteedCapacities####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: b####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690417693_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@366f2335[proto=application_id { id: 1 cluster_timestamp: 1573690417693 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690417693 } application_name: "app" queue: "b" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690417693_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionWhenAllQueuesAreBelowGuaranteedCapacities(TestCapacitySchedulerSurgicalPreemption.java:378) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSimpleSurgicalPreemption(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption) Time elapsed: 0.783 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSimpleSurgicalPreemption####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690418143_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5497ab05[proto=application_id { id: 1 cluster_timestamp: 1573690418143 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690418143 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690418143_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testSimpleSurgicalPreemption(TestCapacitySchedulerSurgicalPreemption.java:134) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testSimpleSurgicalPreemption(TestCapacitySchedulerSurgicalPreemption.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPriorityPreemptionWithNodeLabels(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption) Time elapsed: 0.481 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPriorityPreemptionWithNodeLabels####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: B####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690418999_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@53251a66[proto=application_id { id: 1 cluster_timestamp: 1573690418999 } application_name: "app" queue: "B" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 4096 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 4096 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690418999 } application_name: "app" queue: "B" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 4096 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 4096 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690418999_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionWithNodeLabels(TestCapacitySchedulerSurgicalPreemption.java:1060) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testPreemptionToBalanceWithCustomTimeout(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption) Time elapsed: 0.646 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreemptionToBalanceWithCustomTimeout####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690419436_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6b591adb[proto=application_id { id: 1 cluster_timestamp: 1573690419436 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690419436 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690419436_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerSurgicalPreemption.testPreemptionToBalanceWithCustomTimeout(TestCapacitySchedulerSurgicalPreemption.java:1319) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority [ERROR] Tests run: 10, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 9.42 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority [ERROR] testUpdateInvalidPriorityAtRuntime(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority) Time elapsed: 3.407 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdateInvalidPriorityAtRuntime####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690422982_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 5####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4b672daa[proto=application_id { id: 1 cluster_timestamp: 1573690422982 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690422982 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690422982_0001,priority=5,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority.testUpdateInvalidPriorityAtRuntime(TestApplicationPriority.java:398) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testRMRestartWithChangeInPriority(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority) Time elapsed: 0.387 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartWithChangeInPriority####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690424631_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 5####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@43a990d6[proto=application_id { id: 1 cluster_timestamp: 1573690424631 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690424631 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690424631_0001,priority=5,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority.testRMRestartWithChangeInPriority(TestApplicationPriority.java:449) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testApplicationPriorityAllocation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority) Time elapsed: 0.534 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testApplicationPriorityAllocation####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690425053_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 5####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@22d6f11[proto=application_id { id: 1 cluster_timestamp: 1573690425053 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690425053 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690425053_0001,priority=5,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority.testApplicationPriorityAllocation(TestApplicationPriority.java:168) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testMaxPriorityValidation(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority) Time elapsed: 0.566 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testMaxPriorityValidation####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690425578_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 15####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7d3430a7[proto=application_id { id: 1 cluster_timestamp: 1573690425578 } application_name: "" queue: "default" priority { priority: 10 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690425578 } application_name: "" queue: "default" priority { priority: 10 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690425578_0001,priority=10,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority.testMaxPriorityValidation(TestApplicationPriority.java:334) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testApplicationPriorityAllocationWithChangeInPriority(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority) Time elapsed: 0.477 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testApplicationPriorityAllocationWithChangeInPriority####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690426136_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 5####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1cd201a8[proto=application_id { id: 1 cluster_timestamp: 1573690426136 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690426136 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690426136_0001,priority=5,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority.testApplicationPriorityAllocationWithChangeInPriority(TestApplicationPriority.java:507) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testUpdatePriorityOnPendingAppAndKillAttempt(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority) Time elapsed: 0.343 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdatePriorityOnPendingAppAndKillAttempt####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690426564_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 5####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@159422c3[proto=application_id { id: 1 cluster_timestamp: 1573690426564 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690426564 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690426564_0001,priority=5,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority.testUpdatePriorityOnPendingAppAndKillAttempt(TestApplicationPriority.java:792) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testOrderOfActivatingThePriorityApplicationOnRMRestart(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority) Time elapsed: 0.489 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testOrderOfActivatingThePriorityApplicationOnRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690428354_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 5####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@53dad875[proto=application_id { id: 1 cluster_timestamp: 1573690428354 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690428354 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690428354_0001,priority=5,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority.testOrderOfActivatingThePriorityApplicationOnRMRestart(TestApplicationPriority.java:663) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testPriorityWithPendingApplications(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority) Time elapsed: 0.982 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPriorityWithPendingApplications####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690428883_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 5####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7bc6d27a[proto=application_id { id: 1 cluster_timestamp: 1573690428883 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690428883 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690428883_0001,priority=5,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority.testPriorityWithPendingApplications(TestApplicationPriority.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testUpdatePriorityAtRuntime(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority) Time elapsed: 0.63 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUpdatePriorityAtRuntime####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690429995_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 5####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7bebcd65[proto=application_id { id: 1 cluster_timestamp: 1573690429995 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690429995 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690429995_0001,priority=5,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority.testUpdatePriorityAtRuntime(TestApplicationPriority.java:358) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync [ERROR] Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 12.417 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync [ERROR] testFiveThreadsAsyncContainerAllocation[0](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync) Time elapsed: 4.625 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIntraAppAntiAffinityAsync####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690433321_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4dae47c0[proto=application_id { id: 1 cluster_timestamp: 1573690433321 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690433321 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690433321_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testIntraAppAntiAffinityAsync(TestSchedulingRequestContainerAllocationAsync.java:124) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testFiveThreadsAsyncContainerAllocation(TestSchedulingRequestContainerAllocationAsync.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testThreeThreadsAsyncContainerAllocation[0](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync) Time elapsed: 0.98 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIntraAppAntiAffinityAsync####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690436204_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@76415a3b[proto=application_id { id: 1 cluster_timestamp: 1573690436204 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690436204 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690436204_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testIntraAppAntiAffinityAsync(TestSchedulingRequestContainerAllocationAsync.java:124) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testThreeThreadsAsyncContainerAllocation(TestSchedulingRequestContainerAllocationAsync.java:154) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testTwoThreadsAsyncContainerAllocation[0](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync) Time elapsed: 1.294 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIntraAppAntiAffinityAsync####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690437162_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@45304be1[proto=application_id { id: 1 cluster_timestamp: 1573690437162 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690437162 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690437162_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testIntraAppAntiAffinityAsync(TestSchedulingRequestContainerAllocationAsync.java:124) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testTwoThreadsAsyncContainerAllocation(TestSchedulingRequestContainerAllocationAsync.java:149) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleThreadAsyncContainerAllocation[0](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync) Time elapsed: 1.086 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIntraAppAntiAffinityAsync####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690438498_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@39aca311[proto=application_id { id: 1 cluster_timestamp: 1573690438498 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690438498 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690438498_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testIntraAppAntiAffinityAsync(TestSchedulingRequestContainerAllocationAsync.java:124) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testSingleThreadAsyncContainerAllocation(TestSchedulingRequestContainerAllocationAsync.java:144) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testFourThreadsAsyncContainerAllocation[0](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync) Time elapsed: 0.876 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIntraAppAntiAffinityAsync####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690439526_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@32d10f79[proto=application_id { id: 1 cluster_timestamp: 1573690439526 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690439526 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690439526_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testIntraAppAntiAffinityAsync(TestSchedulingRequestContainerAllocationAsync.java:124) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testFourThreadsAsyncContainerAllocation(TestSchedulingRequestContainerAllocationAsync.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testFiveThreadsAsyncContainerAllocation[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync) Time elapsed: 1.205 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIntraAppAntiAffinityAsync####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690440471_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1e3e948e[proto=application_id { id: 1 cluster_timestamp: 1573690440471 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690440471 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690440471_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testIntraAppAntiAffinityAsync(TestSchedulingRequestContainerAllocationAsync.java:124) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testFiveThreadsAsyncContainerAllocation(TestSchedulingRequestContainerAllocationAsync.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testThreeThreadsAsyncContainerAllocation[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync) Time elapsed: 1.271 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIntraAppAntiAffinityAsync####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690441646_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7e831824[proto=application_id { id: 1 cluster_timestamp: 1573690441646 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690441646 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690441646_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testIntraAppAntiAffinityAsync(TestSchedulingRequestContainerAllocationAsync.java:124) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testThreeThreadsAsyncContainerAllocation(TestSchedulingRequestContainerAllocationAsync.java:154) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testTwoThreadsAsyncContainerAllocation[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync) Time elapsed: 0.838 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testIntraAppAntiAffinityAsync####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: c####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573690442886_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3564cd17[proto=application_id { id: 1 cluster_timestamp: 1573690442886 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573690442886 } application_name: "app" queue: "c" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573690442886_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testIntraAppAntiAffinityAsync(TestSchedulingRequestContainerAllocationAsync.java:124) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testTwoThreadsAsyncContainerAllocation(TestSchedulingRequestContainerAllocationAsync.java:149) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSingleThreadAsyncContainerAllocation[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync) Time elapsed: 0.103 s <<< ERROR! java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:717) at java.util.Timer.(Timer.java:160) at org.apache.hadoop.yarn.server.resourcemanager.NodesListManager.serviceInit(NodesListManager.java:132) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:109) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:887) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1299) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:350) at org.apache.hadoop.yarn.server.resourcemanager.MockRM.serviceInit(MockRM.java:1028) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) at org.apache.hadoop.yarn.server.resourcemanager.MockRM.(MockRM.java:170) at org.apache.hadoop.yarn.server.resourcemanager.MockRM.(MockRM.java:146) at org.apache.hadoop.yarn.server.resourcemanager.MockRM.(MockRM.java:142) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync$1.(TestSchedulingRequestContainerAllocationAsync.java:96) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testIntraAppAntiAffinityAsync(TestSchedulingRequestContainerAllocationAsync.java:96) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync.testSingleThreadAsyncContainerAllocation(TestSchedulingRequestContainerAllocationAsync.java:144) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testFourThreadsAsyncContainerAllocation[1](org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestSchedulingRequestContainerAllocationAsync) Time elapsed: 0.018 s <<< ERROR! java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:717) at org.junit.internal.runners.statements.FailOnTimeout.evaluate(FailOnTimeout.java:125) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestLeveldbConfigurationStore [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.417 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestLeveldbConfigurationStore [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestFSSchedulerConfigurationStore [ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.396 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestFSSchedulerConfigurationStore [ERROR] testFileSystemClose(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestFSSchedulerConfigurationStore) Time elapsed: 5.12 s <<< ERROR! java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:717) at io.netty.util.concurrent.ThreadPerTaskExecutor.execute(ThreadPerTaskExecutor.java:33) at io.netty.util.internal.ThreadExecutorMap$1.execute(ThreadExecutorMap.java:57) at io.netty.util.concurrent.SingleThreadEventExecutor.doStartThread(SingleThreadEventExecutor.java:1033) at io.netty.util.concurrent.SingleThreadEventExecutor.ensureThreadStarted(SingleThreadEventExecutor.java:1016) at io.netty.util.concurrent.SingleThreadEventExecutor.shutdownGracefully(SingleThreadEventExecutor.java:724) at io.netty.util.concurrent.MultithreadEventExecutorGroup.shutdownGracefully(MultithreadEventExecutorGroup.java:163) at io.netty.util.concurrent.AbstractEventExecutorGroup.shutdownGracefully(AbstractEventExecutorGroup.java:70) at org.apache.hadoop.hdfs.server.datanode.web.DatanodeHttpServer.close(DatanodeHttpServer.java:349) at org.apache.hadoop.hdfs.server.datanode.DataNode.shutdown(DataNode.java:2077) at org.apache.hadoop.hdfs.MiniDFSCluster.shutdownDataNode(MiniDFSCluster.java:2117) at org.apache.hadoop.hdfs.MiniDFSCluster.shutdownDataNodes(MiniDFSCluster.java:2107) at org.apache.hadoop.hdfs.MiniDFSCluster.shutdown(MiniDFSCluster.java:2086) at org.apache.hadoop.hdfs.MiniDFSCluster.shutdown(MiniDFSCluster.java:2060) at org.apache.hadoop.hdfs.MiniDFSCluster.shutdown(MiniDFSCluster.java:2053) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestFSSchedulerConfigurationStore.testFileSystemClose(TestFSSchedulerConfigurationStore.java:186) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestMutableCSConfigurationProvider [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.92 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestMutableCSConfigurationProvider [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestInMemoryConfigurationStore [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.287 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestInMemoryConfigurationStore [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestZKConfigurationStore [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.001 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestZKConfigurationStore [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestParentQueue [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.897 s - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestParentQueue [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestIncreaseAllocationExpirer [ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 5.266 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestIncreaseAllocationExpirer [ERROR] testContainerIsRemovedFromAllocationExpirer(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestIncreaseAllocationExpirer) Time elapsed: 3.764 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerIsRemovedFromAllocationExpirer####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691414371_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@ed3068a[proto=application_id { id: 1 cluster_timestamp: 1573691414371 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691414371 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691414371_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestIncreaseAllocationExpirer.testContainerIsRemovedFromAllocationExpirer(TestIncreaseAllocationExpirer.java:95) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testConsecutiveContainerIncreaseAllocationExpiration(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestIncreaseAllocationExpirer) Time elapsed: 0.484 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testConsecutiveContainerIncreaseAllocationExpiration####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691416372_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@150ab4ed[proto=application_id { id: 1 cluster_timestamp: 1573691416372 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691416372 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691416372_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestIncreaseAllocationExpirer.testConsecutiveContainerIncreaseAllocationExpiration(TestIncreaseAllocationExpirer.java:271) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testDecreaseAfterIncreaseWithAllocationExpiration(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestIncreaseAllocationExpirer) Time elapsed: 0.537 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testDecreaseAfterIncreaseWithAllocationExpiration####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691416843_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@72445aba[proto=application_id { id: 1 cluster_timestamp: 1573691416843 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691416843 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691416843_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestIncreaseAllocationExpirer.testDecreaseAfterIncreaseWithAllocationExpiration(TestIncreaseAllocationExpirer.java:396) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testContainerIncreaseAllocationExpiration(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestIncreaseAllocationExpirer) Time elapsed: 0.393 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerIncreaseAllocationExpiration####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691417325_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3ce3db41[proto=application_id { id: 1 cluster_timestamp: 1573691417325 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691417325 } application_name: "app" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691417325_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestIncreaseAllocationExpirer.testContainerIncreaseAllocationExpiration(TestIncreaseAllocationExpirer.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerOvercommit [ERROR] Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 6.817 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerOvercommit [ERROR] testReduceKill(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerOvercommit) Time elapsed: 3.437 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691420603_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4983159f[proto=application_id { id: 1 cluster_timestamp: 1573691420603 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691420603 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691420603_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testChangeResourcesNoTimeout(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerOvercommit) Time elapsed: 0.364 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691422310_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@52de51b6[proto=application_id { id: 1 cluster_timestamp: 1573691422310 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691422310 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691422310_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testEndToEnd(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerOvercommit) Time elapsed: 1.041 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691422683_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5d1659ea[proto=application_id { id: 1 cluster_timestamp: 1573691422683 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691422683 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691422683_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testReducePreemptAndKill(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerOvercommit) Time elapsed: 0.446 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691423709_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4b3a45f1[proto=application_id { id: 1 cluster_timestamp: 1573691423709 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691423709 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691423709_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testReduceNoTimeout(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerOvercommit) Time elapsed: 0.456 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691424143_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@75f65e45[proto=application_id { id: 1 cluster_timestamp: 1573691424143 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691424143 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691424143_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testKillMultipleContainers(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerOvercommit) Time elapsed: 0.457 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691424589_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@505a9d7c[proto=application_id { id: 1 cluster_timestamp: 1573691424589 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691424589 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691424589_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testReducePreemptAndCancel(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerOvercommit) Time elapsed: 0.387 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: setup####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691425051_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@51cd7ffc[proto=application_id { id: 1 cluster_timestamp: 1573691425051 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691425051 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691425051_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerOvercommit.setup(TestSchedulerOvercommit.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerLazyPreemption [ERROR] Tests run: 6, Failures: 0, Errors: 5, Skipped: 1, Time elapsed: 7.016 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerLazyPreemption [ERROR] testPreemptionPolicyShouldRespectAlreadyMarkedKillableContainers(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerLazyPreemption) Time elapsed: 4.273 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreemptionPolicyShouldRespectAlreadyMarkedKillableContainers####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691428980_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1e4f0ba8[proto=application_id { id: 1 cluster_timestamp: 1573691428980 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691428980 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691428980_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerLazyPreemption.testPreemptionPolicyShouldRespectAlreadyMarkedKillableContainers(TestCapacitySchedulerLazyPreemption.java:442) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPreemptionConsidersHardNodeLocality(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerLazyPreemption) Time elapsed: 0.811 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreemptionConsidersHardNodeLocality####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691430784_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@54dab8b7[proto=application_id { id: 1 cluster_timestamp: 1573691430784 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691430784 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691430784_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerLazyPreemption.testPreemptionConsidersHardNodeLocality(TestCapacitySchedulerLazyPreemption.java:322) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPreemptionConsidersNodeLocalityDelay(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerLazyPreemption) Time elapsed: 0.673 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreemptionConsidersNodeLocalityDelay####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691431575_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@527ea958[proto=application_id { id: 1 cluster_timestamp: 1573691431575 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691431575 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691431575_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerLazyPreemption.testPreemptionConsidersNodeLocalityDelay(TestCapacitySchedulerLazyPreemption.java:213) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSimplePreemption(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerLazyPreemption) Time elapsed: 0.559 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSimplePreemption####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691432277_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2fac7d00[proto=application_id { id: 1 cluster_timestamp: 1573691432277 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691432277 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691432277_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerLazyPreemption.testSimplePreemption(TestCapacitySchedulerLazyPreemption.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testPreemptionConsidersUserLimit(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerLazyPreemption) Time elapsed: 0.602 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testPreemptionConsidersUserLimit####Submitapp#### name: app####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691432860_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@123fd6a8[proto=application_id { id: 1 cluster_timestamp: 1573691432860 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691432860 } application_name: "app" queue: "a" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691432860_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerLazyPreemption.testPreemptionConsidersUserLimit(TestCapacitySchedulerLazyPreemption.java:668) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestResourceManagerMXBean [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.865 s - in org.apache.hadoop.yarn.server.resourcemanager.TestResourceManagerMXBean [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.placement.TestUserGroupMappingPlacementRule [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.425 s - in org.apache.hadoop.yarn.server.resourcemanager.placement.TestUserGroupMappingPlacementRule [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.placement.TestAppNameMappingPlacementRule [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.421 s - in org.apache.hadoop.yarn.server.resourcemanager.placement.TestAppNameMappingPlacementRule [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.placement.TestPlacementManager [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.758 s - in org.apache.hadoop.yarn.server.resourcemanager.placement.TestPlacementManager [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.placement.TestPlacementFactory [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.165 s - in org.apache.hadoop.yarn.server.resourcemanager.placement.TestPlacementFactory [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.placement.TestPlacementRuleFS [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.938 s - in org.apache.hadoop.yarn.server.resourcemanager.placement.TestPlacementRuleFS [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.placement.TestFairQueuePlacementUtils [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.173 s - in org.apache.hadoop.yarn.server.resourcemanager.placement.TestFairQueuePlacementUtils [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA [ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 11.256 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA [ERROR] testHandleRMHAafterSubmitApplicationCallWithSavedApplicationState(org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA) Time elapsed: 5.435 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testHandleRMHAafterSubmitApplicationCallWithSavedApplicationState####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691453283_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@70e29e14[proto=application_id { id: 1 cluster_timestamp: 1573691453283 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691453283 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691453283_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA.testHandleRMHAafterSubmitApplicationCallWithSavedApplicationState(TestSubmitApplicationWithRMHA.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testHandleRMHADuringSubmitApplicationCallWithSavedApplicationState(org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA) Time elapsed: 1.135 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testHandleRMHADuringSubmitApplicationCallWithSavedApplicationState####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691456078_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@350a31c3[proto=application_id { id: 1 cluster_timestamp: 1573691456078 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691456078 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691456078_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA.testHandleRMHADuringSubmitApplicationCallWithSavedApplicationState(TestSubmitApplicationWithRMHA.java:268) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testHandleRMHAafterSubmitApplicationCallWithoutSavedApplicationState(org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA) Time elapsed: 1.019 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testHandleRMHAafterSubmitApplicationCallWithoutSavedApplicationState####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691457229_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6b739528[proto=application_id { id: 1 cluster_timestamp: 1573691457229 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691457229 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691457229_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts=,schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA.testHandleRMHAafterSubmitApplicationCallWithoutSavedApplicationState(TestSubmitApplicationWithRMHA.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testHandleRMHABeforeSubmitApplicationCallWithSavedApplicationState(org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA) Time elapsed: 1.439 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testHandleRMHABeforeSubmitApplicationCallWithSavedApplicationState####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: true####Submitapp#### applicationId: application_1573691458270_0001####Submitapp#### applicationId after: application_1573691458270_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@74cf8b28[proto=application_id { id: 1 cluster_timestamp: 1573691458270 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691458270 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691458270_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA.testHandleRMHABeforeSubmitApplicationCallWithSavedApplicationState(TestSubmitApplicationWithRMHA.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testHandleRMHADuringSubmitApplicationCallWithoutSavedApplicationState(org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA) Time elapsed: 0.86 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testHandleRMHADuringSubmitApplicationCallWithoutSavedApplicationState####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691459635_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@72c6a558[proto=application_id { id: 1 cluster_timestamp: 1573691459635 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691459635 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691459635_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts=,schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA.testHandleRMHADuringSubmitApplicationCallWithoutSavedApplicationState(TestSubmitApplicationWithRMHA.java:334) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testGetApplicationReportIdempotent(org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA) Time elapsed: 1.07 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testGetApplicationReportIdempotent####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691460602_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@19f21b6b[proto=application_id { id: 1 cluster_timestamp: 1573691460602 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691460602 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691460602_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestSubmitApplicationWithRMHA.testGetApplicationReportIdempotent(TestSubmitApplicationWithRMHA.java:216) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart [ERROR] Tests run: 68, Failures: 0, Errors: 53, Skipped: 0, Time elapsed: 34.952 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart [ERROR] testRMRestartAfterUpdateTrackingUrl[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 3.853 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartAfterUpdateTrackingUrl####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691464940_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@19c8cdb3[proto=application_id { id: 1 cluster_timestamp: 1573691464940 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691464940 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691464940_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartAfterUpdateTrackingUrl(TestRMRestart.java:2968) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartGetApplicationList[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 1.376 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartGetApplicationList####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: myType####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691468067_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@122d0902[proto=application_id { id: 1 cluster_timestamp: 1573691468067 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "myType" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691468067 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "myType" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691468067_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartGetApplicationList(TestRMRestart.java:1071) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testDelegationTokenRestoredInDelegationTokenRenewer[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 1.457 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testDelegationTokenRestoredInDelegationTokenRenewer####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: org.apache.hadoop.security.Credentials@123d698f####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691469511_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5f067d72[proto=application_id { id: 1 cluster_timestamp: 1573691469511 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\002\005user2*\n\005user2\022\brenewer2\032\005user2 \212\347\310\272\346-(\212\357\372\332\350-0\0028\002\024\231\356\307\353\246\265\203;\021K\365\315\353\b^\260\262\330\315\245\023RM_DELEGATION_TOKEN\016localhost:8032\005user1*\n\005user1\022\brenewer1\032\005user1 \350\346\310\272\346-(\350\356\372\332\350-0\0018\002\024\261\245;F=\371=\317Un\3735\223\246x\230\233\312\346\003\023RM_DELEGATION_TOKEN\016localhost:8032\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691469511 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\002\005user2*\n\005user2\022\brenewer2\032\005user2 \212\347\310\272\346-(\212\357\372\332\350-0\0028\002\024\231\356\307\353\246\265\203;\021K\365\315\353\b^\260\262\330\315\245\023RM_DELEGATION_TOKEN\016localhost:8032\005user1*\n\005user1\022\brenewer1\032\005user1 \350\346\310\272\346-(\350\356\372\332\350-0\0018\002\024\261\245;F=\371=\317Un\3735\223\246x\230\233\312\346\003\023RM_DELEGATION_TOKEN\016localhost:8032\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691469511_0001,priority=0,amContainer=tokens: "HDTS\000\002\005user2*\n\005user2\022\brenewer2\032\005user2 \212\347\310\272\346-(\212\357\372\332\350-0\0028\002\024\231\356\307\353\246\265\203;\021K\365\315\353\b^\260\262\330\315\245\023RM_DELEGATION_TOKEN\016localhost:8032\005user1*\n\005user1\022\brenewer1\032\005user1 \350\346\310\272\346-(\350\356\372\332\350-0\0018\002\024\261\245;F=\371=\317Un\3735\223\246x\230\233\312\346\003\023RM_DELEGATION_TOKEN\016localhost:8032\000",resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testDelegationTokenRestoredInDelegationTokenRenewer(TestRMRestart.java:1437) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartOnMissingAttempts[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.627 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartOnMissingAttempts####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 5####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691471018_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3d0e8dec[proto=application_id { id: 1 cluster_timestamp: 1573691471018 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 5 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691471018 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 5 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691471018_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartOnMissingAttempts(TestRMRestart.java:2724) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartAfterPreemption[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.319 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartAfterPreemption####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691471625_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@47d7c337[proto=application_id { id: 1 cluster_timestamp: 1573691471625 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691471625 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691471625_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartAfterPreemption(TestRMRestart.java:2670) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartAppRunningAMFailed[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.485 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartAppRunningAMFailed####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691471956_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@d1c997a[proto=application_id { id: 1 cluster_timestamp: 1573691471956 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691471956 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691471956_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartAppRunningAMFailed(TestRMRestart.java:602) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartKilledApp[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.578 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartKilledApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691472438_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@515e47d8[proto=application_id { id: 1 cluster_timestamp: 1573691472438 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691472438 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691472438_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartKilledApp(TestRMRestart.java:921) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMStateStoreDispatcherDrainedOnRMStop[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.488 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMStateStoreDispatcherDrainedOnRMStop####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691473016_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3d7e1726[proto=application_id { id: 1 cluster_timestamp: 1573691473016 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691473016 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691473016_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMStateStoreDispatcherDrainedOnRMStop(TestRMRestart.java:1812) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMDelegationTokenRestoredOnRMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.37 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMDelegationTokenRestoredOnRMRestart####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: org.apache.hadoop.security.Credentials@560db568####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691474172_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6687ad2c[proto=application_id { id: 1 cluster_timestamp: 1573691474172 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\016localhost:8032%\n\ajenkins\022\brenewer1 \344\203\311\272\346-(\344\213\373\332\350-0\0018\002\024\362g\276\247\271\242\004\357\364\022\357h\201\207:\006\301R,\177\023RM_DELEGATION_TOKEN\016localhost:8032\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691474172 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\016localhost:8032%\n\ajenkins\022\brenewer1 \344\203\311\272\346-(\344\213\373\332\350-0\0018\002\024\362g\276\247\271\242\004\357\364\022\357h\201\207:\006\301R,\177\023RM_DELEGATION_TOKEN\016localhost:8032\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691474172_0001,priority=0,amContainer=tokens: "HDTS\000\001\016localhost:8032%\n\ajenkins\022\brenewer1 \344\203\311\272\346-(\344\213\373\332\350-0\0018\002\024\362g\276\247\271\242\004\357\364\022\357h\201\207:\006\301R,\177\023RM_DELEGATION_TOKEN\016localhost:8032\000",resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMDelegationTokenRestoredOnRMRestart(TestRMRestart.java:1623) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppSubmissionWithOldDelegationTokenAfterRMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.603 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppSubmissionWithOldDelegationTokenAfterRMRestart####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: org.apache.hadoop.security.Credentials@664de577####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691475000_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@f6ad26f[proto=application_id { id: 1 cluster_timestamp: 1573691475000 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\016localhost:8032%\n\ajenkins\022\brenewer1 \274\206\311\272\346-(\274\216\373\332\350-0\0018\002\024&\250xE\266\311g%\224\223\227\035&\177[}\250\371y\334\023RM_DELEGATION_TOKEN\016localhost:8032\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691475000 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\016localhost:8032%\n\ajenkins\022\brenewer1 \274\206\311\272\346-(\274\216\373\332\350-0\0018\002\024&\250xE\266\311g%\224\223\227\035&\177[}\250\371y\334\023RM_DELEGATION_TOKEN\016localhost:8032\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691475000_0001,priority=0,amContainer=tokens: "HDTS\000\001\016localhost:8032%\n\ajenkins\022\brenewer1 \274\206\311\272\346-(\274\216\373\332\350-0\0018\002\024&\250xE\266\311g%\224\223\227\035&\177[}\250\371y\334\023RM_DELEGATION_TOKEN\016localhost:8032\000",resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testAppSubmissionWithOldDelegationTokenAfterRMRestart(TestRMRestart.java:1763) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartAfterNodeLabelDisabled[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.387 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartAfterNodeLabelDisabled####Submitapp#### name: someApp####Submitapp#### user: someUser####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: a1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691475302_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: x####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5a691c3f[proto=application_id { id: 1 cluster_timestamp: 1573691475302 } application_name: "someApp" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691475302 } application_name: "someApp" queue: "a1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "x" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691475302_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: x}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartAfterNodeLabelDisabled(TestRMRestart.java:2824) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartOnMaxAppAttempts[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.646 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartOnMaxAppAttempts####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691475580_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5dc53b20[proto=application_id { id: 1 cluster_timestamp: 1573691475580 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691475580 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691475580_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartOnMaxAppAttempts(TestRMRestart.java:1257) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartFailAppAttempt[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.475 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartFailAppAttempt####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691476220_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6aee5544[proto=application_id { id: 1 cluster_timestamp: 1573691476220 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691476220 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691476220_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartFailAppAttempt(TestRMRestart.java:2541) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartSucceededApp[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.343 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartSucceededApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691476718_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4b08a9ad[proto=application_id { id: 1 cluster_timestamp: 1573691476718 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691476718 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691476718_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartSucceededApp(TestRMRestart.java:1020) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartWaitForPreviousSucceededAttempt[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.578 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartWaitForPreviousSucceededAttempt####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691477564_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@371eeb44[proto=application_id { id: 1 cluster_timestamp: 1573691477564 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691477564 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691477564_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartWaitForPreviousSucceededAttempt(TestRMRestart.java:832) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartKilledAppWithNoAttempts[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.438 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartKilledAppWithNoAttempts####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691478148_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4e6acbe9[proto=application_id { id: 1 cluster_timestamp: 1573691478148 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691478148 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691478148_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartKilledAppWithNoAttempts(TestRMRestart.java:977) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartFailedApp[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.331 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartFailedApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691478596_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@574e0bc4[proto=application_id { id: 1 cluster_timestamp: 1573691478596 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691478596 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691478596_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartFailedApp(TestRMRestart.java:873) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testClientRetryOnKillingApplication[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.259 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testClientRetryOnKillingApplication####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: myType####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691478942_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4a2cddc[proto=application_id { id: 1 cluster_timestamp: 1573691478942 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "myType" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691478942 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "myType" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691478942_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testClientRetryOnKillingApplication(TestRMRestart.java:1934) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testQueueMetricsOnRMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.56 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueMetricsOnRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691479211_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@250fac89[proto=application_id { id: 1 cluster_timestamp: 1573691479211 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691479211 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691479211_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testQueueMetricsOnRMRestart(TestRMRestart.java:2089) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppAttemptTokensRestoredOnRMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.418 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppAttemptTokensRestoredOnRMRestart####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691479788_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7d7b553a[proto=application_id { id: 1 cluster_timestamp: 1573691479788 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691479788 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691479788_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testAppAttemptTokensRestoredOnRMRestart(TestRMRestart.java:1522) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUnManagedRMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.225 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUnManagedRMRestart####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: true####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: null, # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691480213_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5fe42f39[proto=application_id { id: 1 cluster_timestamp: 1573691480213 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691480213 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691480213_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: null, # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testUnManagedRMRestart(TestRMRestart.java:550) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.271 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691480449_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@31dacbe4[proto=application_id { id: 1 cluster_timestamp: 1573691480449 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691480449 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691480449_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestart(TestRMRestart.java:250) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartTimelineCollectorContext[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.498 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartTimelineCollectorContext####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691481866_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@584c8b10[proto=application_id { id: 1 cluster_timestamp: 1573691481866 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691481866 } application_name: "name" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691481866_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartTimelineCollectorContext(TestRMRestart.java:1341) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSynchronouslyRenewDTOnRecovery[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.387 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSynchronouslyRenewDTOnRecovery####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691482591_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@25b930e0[proto=application_id { id: 1 cluster_timestamp: 1573691482591 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691482591 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691482591_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testSynchronouslyRenewDTOnRecovery(TestRMRestart.java:2284) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartWaitForPreviousAMToFinish[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.476 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartWaitForPreviousAMToFinish####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 40####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691482988_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@dfb002a[proto=application_id { id: 1 cluster_timestamp: 1573691482988 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 40 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691482988 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 40 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691482988_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartWaitForPreviousAMToFinish(TestRMRestart.java:657) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppReportNodeLabelRMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.734 s <<< ERROR! java.lang.NullPointerException at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.checkResourceRequestAgainstAvailableResource(SchedulerUtils.java:399) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.validateResourceRequest(SchedulerUtils.java:337) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.normalizeAndValidateRequest(SchedulerUtils.java:292) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.validateAndCreateResourceRequest(RMAppManager.java:630) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.createAndPopulateNewRMApp(RMAppManager.java:455) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.submitApplication(RMAppManager.java:389) at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.submitApplication(ClientRMService.java:691) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter$1.run(MockRMAppSubmitter.java:175) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter$1.run(MockRMAppSubmitter.java:169) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1891) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:188) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.submitApp(TestRMRestart.java:224) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testAppReportNodeLabelRMRestart(TestRMRestart.java:524) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartAfterPriorityChangesInAllocatedResponse[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.285 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartAfterPriorityChangesInAllocatedResponse####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: org.apache.hadoop.security.Credentials@608301ab####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691484225_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 5####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: java.nio.HeapByteBuffer[pos=0 lim=272 cap=512]####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3679bf07[proto=application_id { id: 1 cluster_timestamp: 1573691484225 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { tokens: "HDTS\000\000\000" tokens_conf: "\003\'dfs.namenode.rpc-address.mycluster2.nn1\t123.0.0.1\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\020dfs.nameservices\025mycluster1,mycluster2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\'dfs.namenode.rpc-address.mycluster3.nn2\t123.0.0.2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000" } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691484225 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { tokens: "HDTS\000\000\000" tokens_conf: "\003\'dfs.namenode.rpc-address.mycluster2.nn1\t123.0.0.1\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\020dfs.nameservices\025mycluster1,mycluster2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\'dfs.namenode.rpc-address.mycluster3.nn2\t123.0.0.2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000" } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691484225_0001,priority=5,amContainer=tokens: "HDTS\000\000\000" tokens_conf: "\003\'dfs.namenode.rpc-address.mycluster2.nn1\t123.0.0.1\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\020dfs.nameservices\025mycluster1,mycluster2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\'dfs.namenode.rpc-address.mycluster3.nn2\t123.0.0.2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000",resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartAfterPriorityChangesInAllocatedResponse(TestRMRestart.java:2896) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testFinishedAppRemovalAfterRMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.242 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testFinishedAppRemovalAfterRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691484520_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@358a6678[proto=application_id { id: 1 cluster_timestamp: 1573691484520 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691484520 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691484520_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testFinishedAppRemovalAfterRMRestart(TestRMRestart.java:1866) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartAfterUpdateTrackingUrl[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.506 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartAfterUpdateTrackingUrl####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691484871_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@77363b47[proto=application_id { id: 1 cluster_timestamp: 1573691484871 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691484871 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691484871_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartAfterUpdateTrackingUrl(TestRMRestart.java:2968) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartGetApplicationList[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.254 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartGetApplicationList####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: myType####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691485323_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@63ade526[proto=application_id { id: 1 cluster_timestamp: 1573691485323 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "myType" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691485323 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "myType" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691485323_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartGetApplicationList(TestRMRestart.java:1071) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testDelegationTokenRestoredInDelegationTokenRenewer[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.371 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testDelegationTokenRestoredInDelegationTokenRenewer####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: org.apache.hadoop.security.Credentials@538ea3c1####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691486037_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@25fe3c2e[proto=application_id { id: 1 cluster_timestamp: 1573691486037 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\002\005user2*\n\005user2\022\brenewer2\032\005user2 \327\340\311\272\346-(\327\350\373\332\350-0\0028\002\024\273\362\020p\334\311\327\002sS$n\250\370z`\213\363\017\022\023RM_DELEGATION_TOKEN\016localhost:8032\005user1*\n\005user1\022\brenewer1\032\005user1 \326\340\311\272\346-(\326\350\373\332\350-0\0018\002\024n\027\301\357*\300mBiM)\207\366\236\320\337o\202\276Q\023RM_DELEGATION_TOKEN\016localhost:8032\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691486037 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\002\005user2*\n\005user2\022\brenewer2\032\005user2 \327\340\311\272\346-(\327\350\373\332\350-0\0028\002\024\273\362\020p\334\311\327\002sS$n\250\370z`\213\363\017\022\023RM_DELEGATION_TOKEN\016localhost:8032\005user1*\n\005user1\022\brenewer1\032\005user1 \326\340\311\272\346-(\326\350\373\332\350-0\0018\002\024n\027\301\357*\300mBiM)\207\366\236\320\337o\202\276Q\023RM_DELEGATION_TOKEN\016localhost:8032\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691486037_0001,priority=0,amContainer=tokens: "HDTS\000\002\005user2*\n\005user2\022\brenewer2\032\005user2 \327\340\311\272\346-(\327\350\373\332\350-0\0028\002\024\273\362\020p\334\311\327\002sS$n\250\370z`\213\363\017\022\023RM_DELEGATION_TOKEN\016localhost:8032\005user1*\n\005user1\022\brenewer1\032\005user1 \326\340\311\272\346-(\326\350\373\332\350-0\0018\002\024n\027\301\357*\300mBiM)\207\366\236\320\337o\202\276Q\023RM_DELEGATION_TOKEN\016localhost:8032\000",resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testDelegationTokenRestoredInDelegationTokenRenewer(TestRMRestart.java:1437) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartOnMissingAttempts[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.247 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartOnMissingAttempts####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 5####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691486428_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@16d20121[proto=application_id { id: 1 cluster_timestamp: 1573691486428 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 5 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691486428 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 5 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691486428_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartOnMissingAttempts(TestRMRestart.java:2724) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartAppRunningAMFailed[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.312 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartAppRunningAMFailed####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691486708_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@438e7257[proto=application_id { id: 1 cluster_timestamp: 1573691486708 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691486708 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691486708_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartAppRunningAMFailed(TestRMRestart.java:602) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartKilledApp[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.312 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartKilledApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691487032_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5b46417b[proto=application_id { id: 1 cluster_timestamp: 1573691487032 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691487032 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691487032_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartKilledApp(TestRMRestart.java:921) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMStateStoreDispatcherDrainedOnRMStop[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.306 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMStateStoreDispatcherDrainedOnRMStop####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691487358_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@33ae4a2f[proto=application_id { id: 1 cluster_timestamp: 1573691487358 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691487358 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691487358_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMStateStoreDispatcherDrainedOnRMStop(TestRMRestart.java:1812) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMDelegationTokenRestoredOnRMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.335 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMDelegationTokenRestoredOnRMRestart####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: org.apache.hadoop.security.Credentials@1aee0243####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691488169_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2d680f49[proto=application_id { id: 1 cluster_timestamp: 1573691488169 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\016localhost:8032%\n\ajenkins\022\brenewer1 \364\360\311\272\346-(\364\370\373\332\350-0\0018\002\024\314\331\235\231j\222Zz,\3604\341\325\002\215\343\247}\2776\023RM_DELEGATION_TOKEN\016localhost:8032\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691488169 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\016localhost:8032%\n\ajenkins\022\brenewer1 \364\360\311\272\346-(\364\370\373\332\350-0\0018\002\024\314\331\235\231j\222Zz,\3604\341\325\002\215\343\247}\2776\023RM_DELEGATION_TOKEN\016localhost:8032\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691488169_0001,priority=0,amContainer=tokens: "HDTS\000\001\016localhost:8032%\n\ajenkins\022\brenewer1 \364\360\311\272\346-(\364\370\373\332\350-0\0018\002\024\314\331\235\231j\222Zz,\3604\341\325\002\215\343\247}\2776\023RM_DELEGATION_TOKEN\016localhost:8032\000",resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMDelegationTokenRestoredOnRMRestart(TestRMRestart.java:1623) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppSubmissionWithOldDelegationTokenAfterRMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.527 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppSubmissionWithOldDelegationTokenAfterRMRestart####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: org.apache.hadoop.security.Credentials@2487fcc2####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691488864_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@35d332e8[proto=application_id { id: 1 cluster_timestamp: 1573691488864 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\016localhost:8032%\n\ajenkins\022\brenewer1 \346\363\311\272\346-(\346\373\373\332\350-0\0018\002\024\363=b\037\355\033\335=\300\316\001\347d\3673})\361 \274\023RM_DELEGATION_TOKEN\016localhost:8032\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691488864 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { tokens: "HDTS\000\001\016localhost:8032%\n\ajenkins\022\brenewer1 \346\363\311\272\346-(\346\373\373\332\350-0\0018\002\024\363=b\037\355\033\335=\300\316\001\347d\3673})\361 \274\023RM_DELEGATION_TOKEN\016localhost:8032\000" } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691488864_0001,priority=0,amContainer=tokens: "HDTS\000\001\016localhost:8032%\n\ajenkins\022\brenewer1 \346\363\311\272\346-(\346\373\373\332\350-0\0018\002\024\363=b\037\355\033\335=\300\316\001\347d\3673})\361 \274\023RM_DELEGATION_TOKEN\016localhost:8032\000",resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testAppSubmissionWithOldDelegationTokenAfterRMRestart(TestRMRestart.java:1763) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartOnMaxAppAttempts[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.523 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartOnMaxAppAttempts####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691489098_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1663ffc[proto=application_id { id: 1 cluster_timestamp: 1573691489098 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691489098 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691489098_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartOnMaxAppAttempts(TestRMRestart.java:1257) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartFailAppAttempt[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.421 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartFailAppAttempt####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691489617_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5e5d37ad[proto=application_id { id: 1 cluster_timestamp: 1573691489617 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691489617 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691489617_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartFailAppAttempt(TestRMRestart.java:2541) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartSucceededApp[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.587 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartSucceededApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691490081_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5d8560ef[proto=application_id { id: 1 cluster_timestamp: 1573691490081 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691490081 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691490081_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartSucceededApp(TestRMRestart.java:1020) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartWaitForPreviousSucceededAttempt[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.323 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartWaitForPreviousSucceededAttempt####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691491076_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4a90010[proto=application_id { id: 1 cluster_timestamp: 1573691491076 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691491076 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691491076_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartWaitForPreviousSucceededAttempt(TestRMRestart.java:832) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartKilledAppWithNoAttempts[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.418 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartKilledAppWithNoAttempts####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: MAPREDUCE####Submitapp#### waitForAccepted: false####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691491425_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@555c9a67[proto=application_id { id: 1 cluster_timestamp: 1573691491425 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691491425 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "MAPREDUCE" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691491425_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartKilledAppWithNoAttempts(TestRMRestart.java:977) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartFailedApp[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.36 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartFailedApp####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691491848_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7be7285a[proto=application_id { id: 1 cluster_timestamp: 1573691491848 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691491848 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691491848_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartFailedApp(TestRMRestart.java:873) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testClientRetryOnKillingApplication[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.452 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testClientRetryOnKillingApplication####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: myType####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691492215_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4094ef56[proto=application_id { id: 1 cluster_timestamp: 1573691492215 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "myType" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691492215 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "myType" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691492215_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testClientRetryOnKillingApplication(TestRMRestart.java:1934) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testQueueMetricsOnRMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.268 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testQueueMetricsOnRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691492686_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@69460375[proto=application_id { id: 1 cluster_timestamp: 1573691492686 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691492686 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691492686_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testQueueMetricsOnRMRestart(TestRMRestart.java:2089) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppAttemptTokensRestoredOnRMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.418 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppAttemptTokensRestoredOnRMRestart####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691492969_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@79765df4[proto=application_id { id: 1 cluster_timestamp: 1573691492969 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691492969 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691492969_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testAppAttemptTokensRestoredOnRMRestart(TestRMRestart.java:1522) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUnManagedRMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.387 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUnManagedRMRestart####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: true####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: null, # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691493407_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7f61980f[proto=application_id { id: 1 cluster_timestamp: 1573691493407 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691493407 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691493407_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: null, # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testUnManagedRMRestart(TestRMRestart.java:550) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.249 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691493799_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3ad8cec5[proto=application_id { id: 1 cluster_timestamp: 1573691493799 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691493799 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691493799_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestart(TestRMRestart.java:250) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartTimelineCollectorContext[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.449 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartTimelineCollectorContext####Submitapp#### name: name####Submitapp#### user: user####Submitapp#### acls: {}####Submitapp#### unmanaged: false####Submitapp#### queue: default####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: -1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691495044_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@49b1e35a[proto=application_id { id: 1 cluster_timestamp: 1573691495044 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691495044 } application_name: "name" queue: "root.user" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: -1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691495044_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartTimelineCollectorContext(TestRMRestart.java:1341) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSynchronouslyRenewDTOnRecovery[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.247 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSynchronouslyRenewDTOnRecovery####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691495687_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@105dbae5[proto=application_id { id: 1 cluster_timestamp: 1573691495687 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691495687 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691495687_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testSynchronouslyRenewDTOnRecovery(TestRMRestart.java:2284) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartWaitForPreviousAMToFinish[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.307 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartWaitForPreviousAMToFinish####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 40####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691495961_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@21ac6e2e[proto=application_id { id: 1 cluster_timestamp: 1573691495961 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 40 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691495961 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 40 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691495961_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartWaitForPreviousAMToFinish(TestRMRestart.java:657) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartAfterPriorityChangesInAllocatedResponse[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.228 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartAfterPriorityChangesInAllocatedResponse####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: org.apache.hadoop.security.Credentials@40686053####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691496304_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 5####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: java.nio.HeapByteBuffer[pos=0 lim=272 cap=512]####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7bafd355[proto=application_id { id: 1 cluster_timestamp: 1573691496304 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { tokens: "HDTS\000\000\000" tokens_conf: "\003\'dfs.namenode.rpc-address.mycluster2.nn1\t123.0.0.1\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\020dfs.nameservices\025mycluster1,mycluster2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\'dfs.namenode.rpc-address.mycluster3.nn2\t123.0.0.2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000" } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691496304 } application_name: "" queue: "default" priority { priority: 5 } am_container_spec { tokens: "HDTS\000\000\000" tokens_conf: "\003\'dfs.namenode.rpc-address.mycluster2.nn1\t123.0.0.1\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\020dfs.nameservices\025mycluster1,mycluster2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\'dfs.namenode.rpc-address.mycluster3.nn2\t123.0.0.2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000" } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 2048 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 2048 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691496304_0001,priority=5,amContainer=tokens: "HDTS\000\000\000" tokens_conf: "\003\'dfs.namenode.rpc-address.mycluster2.nn1\t123.0.0.1\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\020dfs.nameservices\025mycluster1,mycluster2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000\'dfs.namenode.rpc-address.mycluster3.nn2\t123.0.0.2\000\000\000\001\000\000\000$\037\213\b\000\000\000\000\000\000\000+(\312O/J\314\315M,\311LN\314\311\251\004\000\v\203\0313\020\000\000\000",resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartAfterPriorityChangesInAllocatedResponse(TestRMRestart.java:2896) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testFinishedAppRemovalAfterRMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart) Time elapsed: 0.844 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testFinishedAppRemovalAfterRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691496588_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4662a9ef[proto=application_id { id: 1 cluster_timestamp: 1573691496588 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691496588 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691496588_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testFinishedAppRemovalAfterRMRestart(TestRMRestart.java:1866) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMAuditLogger [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.041 s - in org.apache.hadoop.yarn.server.resourcemanager.TestRMAuditLogger [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMHATimelineCollectors [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.917 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestRMHATimelineCollectors [ERROR] testRebuildCollectorDataOnFailover(org.apache.hadoop.yarn.server.resourcemanager.TestRMHATimelineCollectors) Time elapsed: 4.657 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRebuildCollectorDataOnFailover####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691504301_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@538cd0f2[proto=application_id { id: 1 cluster_timestamp: 1573691504301 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691504301 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691504301_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestRMHATimelineCollectors.testRebuildCollectorDataOnFailover(TestRMHATimelineCollectors.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMDispatcher [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.862 s - in org.apache.hadoop.yarn.server.resourcemanager.TestRMDispatcher [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart [ERROR] Tests run: 46, Failures: 0, Errors: 42, Skipped: 0, Time elapsed: 20.71 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart [ERROR] testCapacitySchedulerRecovery[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 3.103 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testCapacitySchedulerRecovery####Submitapp#### name: app1_1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: QueueA####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691513373_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3e51e0cf[proto=application_id { id: 1 cluster_timestamp: 1573691513373 } application_name: "app1_1" queue: "QueueA" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691513373 } application_name: "app1_1" queue: "QueueA" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691513373_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testCapacitySchedulerRecovery(TestWorkPreservingRMRestart.java:694) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUnknownUserOnRecovery[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.37 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUnknownUserOnRecovery####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: true####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691515040_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4d68792e[proto=application_id { id: 1 cluster_timestamp: 1573691515040 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691515040 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691515040_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testUnknownUserOnRecovery(TestWorkPreservingRMRestart.java:1660) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartWithRemovedQueue[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.35 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartWithRemovedQueue####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691515436_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3e7a407c[proto=application_id { id: 1 cluster_timestamp: 1573691515436 } application_name: "app1" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691515436 } application_name: "app1" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691515436_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testRMRestartWithRemovedQueue(TestWorkPreservingRMRestart.java:633) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppStateSavedButAttemptStateNotSaved[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.368 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppStateSavedButAttemptStateNotSaved####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691515763_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@514e202a[proto=application_id { id: 1 cluster_timestamp: 1573691515763 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691515763 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691515763_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAppStateSavedButAttemptStateNotSaved(TestWorkPreservingRMRestart.java:1526) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testDynamicAutoCreatedQueueRecoveryWithOverrideQueueMappingFlag[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.459 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testDynamicAutoCreatedQueueRecovery####Submitapp#### name: autoCreatedQApp####Submitapp#### user: user_1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: user_1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691516197_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@43e8dcac[proto=application_id { id: 1 cluster_timestamp: 1573691516197 } application_name: "autoCreatedQApp" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691516197 } application_name: "autoCreatedQApp" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691516197_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testDynamicAutoCreatedQueueRecovery(TestWorkPreservingRMRestart.java:1744) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testDynamicAutoCreatedQueueRecoveryWithOverrideQueueMappingFlag(TestWorkPreservingRMRestart.java:1700) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppReregisterOnRMWorkPreservingRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.407 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppReregisterOnRMWorkPreservingRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691516660_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6215c387[proto=application_id { id: 1 cluster_timestamp: 1573691516660 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691516660 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691516660_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAppReregisterOnRMWorkPreservingRestart(TestWorkPreservingRMRestart.java:1111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testCapacitySchedulerQueueRemovedRecovery[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.414 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testCapacitySchedulerQueueRemovedRecovery####Submitapp#### name: app1_1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: QueueA####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691517104_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@19caa92f[proto=application_id { id: 1 cluster_timestamp: 1573691517104 } application_name: "app1_1" queue: "QueueA" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691517104 } application_name: "app1_1" queue: "QueueA" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691517104_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testCapacitySchedulerQueueRemovedRecovery(TestWorkPreservingRMRestart.java:945) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMfailedBetweenRMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.472 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMfailedBetweenRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691517476_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@221e4680[proto=application_id { id: 1 cluster_timestamp: 1573691517476 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691517476 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691517476_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAMfailedBetweenRMRestart(TestWorkPreservingRMRestart.java:1018) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRetriedFinishApplicationMasterRequest[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.271 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRetriedFinishApplicationMasterRequest####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691517957_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@34206c76[proto=application_id { id: 1 cluster_timestamp: 1573691517957 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691517957 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691517957_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testRetriedFinishApplicationMasterRequest(TestWorkPreservingRMRestart.java:1357) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainerCompleteMsgNotLostAfterAMFailedAndRMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.475 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerCompleteMsgNotLostAfterAMFailedAndRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691518220_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@365302cf[proto=application_id { id: 1 cluster_timestamp: 1573691518220 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691518220 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691518220_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testContainerCompleteMsgNotLostAfterAMFailedAndRMRestart(TestWorkPreservingRMRestart.java:1462) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainersNotRecoveredForCompletedApps[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.322 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainersNotRecoveredForCompletedApps####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691518727_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@75a71c0e[proto=application_id { id: 1 cluster_timestamp: 1573691518727 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691518727 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691518727_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testContainersNotRecoveredForCompletedApps(TestWorkPreservingRMRestart.java:1071) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRecoverSchedulerAppAndAttemptSynchronously[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.381 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRecoverSchedulerAppAndAttemptSynchronously####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691519086_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@664039c[proto=application_id { id: 1 cluster_timestamp: 1573691519086 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691519086 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691519086_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testRecoverSchedulerAppAndAttemptSynchronously(TestWorkPreservingRMRestart.java:1174) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testReleasedContainerNotRecovered[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.291 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testReleasedContainerNotRecovered####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691519504_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@197cd8a9[proto=application_id { id: 1 cluster_timestamp: 1573691519504 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691519504 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691519504_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testReleasedContainerNotRecovered(TestWorkPreservingRMRestart.java:1203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUAMRecoveryOnRMWorkPreservingRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.334 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUAMRecoveryOnRMWorkPreservingRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: true####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691519781_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2208a2c8[proto=application_id { id: 1 cluster_timestamp: 1573691519781 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691519781 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691519781_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testUAMRecoveryOnRMWorkPreservingRestart(TestWorkPreservingRMRestart.java:1566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testCapacityLeafQueueBecomesParentOnRecovery[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.495 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testCapacityLeafQueueBecomesParentOnRecovery####Submitapp#### name: app####Submitapp#### user: user2####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: QueueB####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691520171_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1ccb6430[proto=application_id { id: 1 cluster_timestamp: 1573691520171 } application_name: "app" queue: "QueueB" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691520171 } application_name: "app" queue: "QueueB" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691520171_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testCapacityLeafQueueBecomesParentOnRecovery(TestWorkPreservingRMRestart.java:889) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppFailedToRenewTokenOnRecovery[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.571 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppFailedToRenewTokenOnRecovery####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691520668_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@518d5d96[proto=application_id { id: 1 cluster_timestamp: 1573691520668 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691520668 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691520668_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAppFailedToRenewTokenOnRecovery(TestWorkPreservingRMRestart.java:1388) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNewContainersNotAllocatedDuringSchedulerRecovery[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.576 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNewContainersNotAllocatedDuringSchedulerRecovery####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691521240_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@666480f3[proto=application_id { id: 1 cluster_timestamp: 1573691521240 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691521240 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691521240_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testNewContainersNotAllocatedDuringSchedulerRecovery(TestWorkPreservingRMRestart.java:1299) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSchedulerRecovery[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.455 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSchedulerRecovery####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691521827_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3815c0ec[proto=application_id { id: 1 cluster_timestamp: 1573691521827 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691521827 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691521827_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testSchedulerRecovery(TestWorkPreservingRMRestart.java:173) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testDynamicQueueRecovery[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.523 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testDynamicQueueRecovery####Submitapp#### name: dynamicQApp####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: dedicated####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691522378_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@17dc3c11[proto=application_id { id: 1 cluster_timestamp: 1573691522378 } application_name: "dynamicQApp" queue: "dedicated" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691522378 } application_name: "dynamicQApp" queue: "dedicated" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691522378_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testDynamicQueueRecovery(TestWorkPreservingRMRestart.java:346) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppFailToValidateResourceRequestOnRecovery[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.346 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppFailToValidateResourceRequestOnRecovery####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691522803_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2927b2a[proto=application_id { id: 1 cluster_timestamp: 1573691522803 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691522803 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691522803_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAppFailToValidateResourceRequestOnRecovery(TestWorkPreservingRMRestart.java:1433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMContainerStatusWithRMRestart[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.362 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMContainerStatusWithRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691523211_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@675a912[proto=application_id { id: 1 cluster_timestamp: 1573691523211 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691523211 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691523211_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAMContainerStatusWithRMRestart(TestWorkPreservingRMRestart.java:1138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testDynamicAutoCreatedQueueRecoveryWithDefaultQueue[CAPACITY](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.675 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testDynamicAutoCreatedQueueRecovery####Submitapp#### name: autoCreatedQApp####Submitapp#### user: user_1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691523664_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@294f7806[proto=application_id { id: 1 cluster_timestamp: 1573691523664 } application_name: "autoCreatedQApp" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691523664 } application_name: "autoCreatedQApp" queue: "user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691523664_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testDynamicAutoCreatedQueueRecovery(TestWorkPreservingRMRestart.java:1744) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testDynamicAutoCreatedQueueRecoveryWithDefaultQueue(TestWorkPreservingRMRestart.java:1694) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUnknownUserOnRecovery[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.408 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUnknownUserOnRecovery####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: true####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691524352_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@625bb761[proto=application_id { id: 1 cluster_timestamp: 1573691524352 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691524352 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691524352_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testUnknownUserOnRecovery(TestWorkPreservingRMRestart.java:1660) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRMRestartWithRemovedQueue[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.37 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRMRestartWithRemovedQueue####Submitapp#### name: app1####Submitapp#### user: user1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691524688_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@23df6bf2[proto=application_id { id: 1 cluster_timestamp: 1573691524688 } application_name: "app1" queue: "root.user1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691524688 } application_name: "app1" queue: "root.user1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691524688_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testRMRestartWithRemovedQueue(TestWorkPreservingRMRestart.java:633) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppStateSavedButAttemptStateNotSaved[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.524 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppStateSavedButAttemptStateNotSaved####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691525090_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@7d037a1b[proto=application_id { id: 1 cluster_timestamp: 1573691525090 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691525090 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691525090_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAppStateSavedButAttemptStateNotSaved(TestWorkPreservingRMRestart.java:1526) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testDynamicAutoCreatedQueueRecoveryWithOverrideQueueMappingFlag[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.282 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testDynamicAutoCreatedQueueRecovery####Submitapp#### name: autoCreatedQApp####Submitapp#### user: user_1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: user_1####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691525630_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@4d9daa46[proto=application_id { id: 1 cluster_timestamp: 1573691525630 } application_name: "autoCreatedQApp" queue: "root.user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691525630 } application_name: "autoCreatedQApp" queue: "root.user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691525630_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testDynamicAutoCreatedQueueRecovery(TestWorkPreservingRMRestart.java:1744) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testDynamicAutoCreatedQueueRecoveryWithOverrideQueueMappingFlag(TestWorkPreservingRMRestart.java:1700) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppReregisterOnRMWorkPreservingRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.42 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppReregisterOnRMWorkPreservingRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691525914_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5538ad5a[proto=application_id { id: 1 cluster_timestamp: 1573691525914 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691525914 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691525914_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAppReregisterOnRMWorkPreservingRestart(TestWorkPreservingRMRestart.java:1111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMfailedBetweenRMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.397 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMfailedBetweenRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691526356_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@2b8301e6[proto=application_id { id: 1 cluster_timestamp: 1573691526356 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691526356 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691526356_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAMfailedBetweenRMRestart(TestWorkPreservingRMRestart.java:1018) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRetriedFinishApplicationMasterRequest[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.525 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRetriedFinishApplicationMasterRequest####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691526768_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@265c268f[proto=application_id { id: 1 cluster_timestamp: 1573691526768 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691526768 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691526768_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testRetriedFinishApplicationMasterRequest(TestWorkPreservingRMRestart.java:1357) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainerCompleteMsgNotLostAfterAMFailedAndRMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.202 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainerCompleteMsgNotLostAfterAMFailedAndRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: true####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691527305_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@363c796f[proto=application_id { id: 1 cluster_timestamp: 1573691527305 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691527305 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: true attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691527305_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testContainerCompleteMsgNotLostAfterAMFailedAndRMRestart(TestWorkPreservingRMRestart.java:1462) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testFairSchedulerCompletedAppsQueue[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.312 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testFairSchedulerCompletedAppsQueue####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691527536_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6f0ff3b4[proto=application_id { id: 1 cluster_timestamp: 1573691527536 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691527536 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691527536_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testFairSchedulerCompletedAppsQueue(TestWorkPreservingRMRestart.java:1849) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testContainersNotRecoveredForCompletedApps[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.284 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testContainersNotRecoveredForCompletedApps####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691527865_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@a3865a6[proto=application_id { id: 1 cluster_timestamp: 1573691527865 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691527865 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691527865_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testContainersNotRecoveredForCompletedApps(TestWorkPreservingRMRestart.java:1071) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testRecoverSchedulerAppAndAttemptSynchronously[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.344 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testRecoverSchedulerAppAndAttemptSynchronously####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691528167_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@1868da8e[proto=application_id { id: 1 cluster_timestamp: 1573691528167 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691528167 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691528167_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testRecoverSchedulerAppAndAttemptSynchronously(TestWorkPreservingRMRestart.java:1174) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testReleasedContainerNotRecovered[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.241 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testReleasedContainerNotRecovered####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691528522_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@89efd17[proto=application_id { id: 1 cluster_timestamp: 1573691528522 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691528522 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691528522_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testReleasedContainerNotRecovered(TestWorkPreservingRMRestart.java:1203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUAMRecoveryOnRMWorkPreservingRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.32 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testUAMRecoveryOnRMWorkPreservingRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: true####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691528763_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@389349d3[proto=application_id { id: 1 cluster_timestamp: 1573691528763 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691528763 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true unmanaged_am: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 200 virtual_cores: 0 resource_value_map { key: "memory-mb" value: 200 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 0 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691528763_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testUAMRecoveryOnRMWorkPreservingRestart(TestWorkPreservingRMRestart.java:1566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppFailedToRenewTokenOnRecovery[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.373 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppFailedToRenewTokenOnRecovery####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 1####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691529101_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@43e6ad0[proto=application_id { id: 1 cluster_timestamp: 1573691529101 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691529101 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 1 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691529101_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAppFailedToRenewTokenOnRecovery(TestWorkPreservingRMRestart.java:1388) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testNewContainersNotAllocatedDuringSchedulerRecovery[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.577 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testNewContainersNotAllocatedDuringSchedulerRecovery####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691529510_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@423c5d20[proto=application_id { id: 1 cluster_timestamp: 1573691529510 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691529510 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691529510_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testNewContainersNotAllocatedDuringSchedulerRecovery(TestWorkPreservingRMRestart.java:1299) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testSchedulerRecovery[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.264 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testSchedulerRecovery####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691530096_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@6d312649[proto=application_id { id: 1 cluster_timestamp: 1573691530096 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691530096 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691530096_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testSchedulerRecovery(TestWorkPreservingRMRestart.java:173) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testDynamicQueueRecovery[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.343 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testDynamicQueueRecovery####Submitapp#### name: dynamicQApp####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: dedicated####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691530416_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5df4b3c4[proto=application_id { id: 1 cluster_timestamp: 1573691530416 } application_name: "dynamicQApp" queue: "root.dedicated.dedicated-default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691530416 } application_name: "dynamicQApp" queue: "root.dedicated.dedicated-default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691530416_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: }],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testDynamicQueueRecovery(TestWorkPreservingRMRestart.java:346) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppFailToValidateResourceRequestOnRecovery[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.561 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAppFailToValidateResourceRequestOnRecovery####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691530725_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@3a0100f4[proto=application_id { id: 1 cluster_timestamp: 1573691530725 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691530725 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691530725_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAppFailToValidateResourceRequestOnRecovery(TestWorkPreservingRMRestart.java:1433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAMContainerStatusWithRMRestart[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.408 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testAMContainerStatusWithRMRestart####Submitapp#### name: ####Submitapp#### user: jenkins####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691531297_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@e1b8312[proto=application_id { id: 1 cluster_timestamp: 1573691531297 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691531297 } application_name: "" queue: "root.jenkins" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691531297_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submitWithMemory(MockRMAppSubmitter.java:91) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAMContainerStatusWithRMRestart(TestWorkPreservingRMRestart.java:1138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testDynamicAutoCreatedQueueRecoveryWithDefaultQueue[FAIR](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart) Time elapsed: 0.283 s <<< ERROR! java.lang.RuntimeException: ##### submitapp #########Submitapp#### testcase: testDynamicAutoCreatedQueueRecovery####Submitapp#### name: autoCreatedQApp####Submitapp#### user: user_1####Submitapp#### acls: null####Submitapp#### unmanaged: false####Submitapp#### queue: null####Submitapp#### AM res reqs: [{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}]####Submitapp#### maxattempts: 2####Submitapp#### credentials: null####Submitapp#### appType: null####Submitapp#### waitForAccepted: true####Submitapp#### keepContainers: false####Submitapp#### isAppIdProvided: false####Submitapp#### applicationId: null####Submitapp#### applicationId after: application_1573691531749_0001####Submitapp#### attemptFailuresValidityInterval: 0####Submitapp#### logaggregationcontext: null####Submitapp#### cancelTokensWhenComplete: true####Submitapp#### priority: 0####Submitapp#### amLabel: ####Submitapp#### applicationTimeouts: null####Submitapp#### tokensConf: null####Submitapp#### applicationTags: null####Submitapp#### appNodeLabel: null####Submitapp#### submissioncontext: org.apache.hadoop.yarn.api.records.impl.pb.ApplicationSubmissionContextPBImpl@5fd603a2[proto=application_id { id: 1 cluster_timestamp: 1573691531749 } application_name: "autoCreatedQApp" queue: "root.user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,builder=application_id { id: 1 cluster_timestamp: 1573691531749 } application_name: "autoCreatedQApp" queue: "root.user_1" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 resource_value_map { key: "memory-mb" value: 1024 units: "Mi" type: COUNTABLE } resource_value_map { key: "vcores" value: 1 units: "" type: COUNTABLE } } num_containers: 1 relax_locality: true execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } ,viaProto=true,applicationId=application_1573691531749_0001,priority=0,amContainer=,resource=,applicationTags=[],amResourceRequests=[{AllocationRequestId: -1, Priority: 0, Capability: , # Containers: 1, Location: *, Relax Locality: true, Execution Type Request: {Execution Type: GUARANTEED, Enforce Execution Type: false}, Node Label Expression: null}],logAggregationContext=,reservationId=,applicationTimeouts={},schedulingProperties={}] at org.apache.hadoop.yarn.server.resourcemanager.MockRMAppSubmitter.submit(MockRMAppSubmitter.java:229) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testDynamicAutoCreatedQueueRecovery(TestWorkPreservingRMRestart.java:1744) at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testDynamicAutoCreatedQueueRecoveryWithDefaultQueue(TestWorkPreservingRMRestart.java:1694) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMHA [ERROR] Tests run: 11, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 31.194 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestRMHA [ERROR] testFailoverClearsRMContext(org.apache.hadoop.yarn.server.resourcemanager.TestRMHA) Time elapsed: 1.949 s <<< FAILURE! java.lang.AssertionError: Unable to perform Active RM functions at org.junit.Assert.fail(Assert.java:88) at org.apache.hadoop.yarn.server.resourcemanager.TestRMHA.checkActiveRMFunctionality(TestRMHA.java:149) at org.apache.hadoop.yarn.server.resourcemanager.TestRMHA.testFailoverClearsRMContext(TestRMHA.java:554) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testTransitionsWhenAutomaticFailoverEnabled(org.apache.hadoop.yarn.server.resourcemanager.TestRMHA) Time elapsed: 1.258 s <<< FAILURE! java.lang.AssertionError: Unable to perform Active RM functions at org.junit.Assert.fail(Assert.java:88) at org.apache.hadoop.yarn.server.resourcemanager.TestRMHA.checkActiveRMFunctionality(TestRMHA.java:149) at org.apache.hadoop.yarn.server.resourcemanager.TestRMHA.testTransitionsWhenAutomaticFailoverEnabled(TestRMHA.java:311) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testResourceProfilesManagerAfterRMWentStandbyThenBackToActive(org.apache.hadoop.yarn.server.resourcemanager.TestRMHA) Time elapsed: 1.229 s <<< FAILURE! java.lang.AssertionError: Unable to perform Active RM functions at org.junit.Assert.fail(Assert.java:88) at org.apache.hadoop.yarn.server.resourcemanager.TestRMHA.checkActiveRMFunctionality(TestRMHA.java:149) at org.apache.hadoop.yarn.server.resourcemanager.TestRMHA.testResourceProfilesManagerAfterRMWentStandbyThenBackToActive(TestRMHA.java:727) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] testFailoverWhenTransitionToActiveThrowException(org.apache.hadoop.yarn.server.resourcemanager.TestRMHA) Time elapsed: 1.187 s <<< FAILURE! java.lang.AssertionError: Unable to perform Active RM functions at org.junit.Assert.fail(Assert.java:88) at org.apache.hadoop.yarn.server.resourcemanager.TestRMHA.checkActiveRMFunctionality(TestRMHA.java:149) at org.apache.hadoop.yarn.server.resourcemanager.TestRMHA.testFailoverWhenTransitionToActiveThrowException(TestRMHA.java:465) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testFailoverAndTransitions(org.apache.hadoop.yarn.server.resourcemanager.TestRMHA) Time elapsed: 1.099 s <<< FAILURE! java.lang.AssertionError: Unable to perform Active RM functions at org.junit.Assert.fail(Assert.java:88) at org.apache.hadoop.yarn.server.resourcemanager.TestRMHA.checkActiveRMFunctionality(TestRMHA.java:149) at org.apache.hadoop.yarn.server.resourcemanager.TestRMHA.testFailoverAndTransitions(TestRMHA.java:223) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestResourceManager [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.586 s - in org.apache.hadoop.yarn.server.resourcemanager.TestResourceManager [INFO] Running org.apache.hadoop.yarn.webapp.TestRMWithCSRFFilter [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.661 s - in org.apache.hadoop.yarn.webapp.TestRMWithCSRFFilter [INFO] Running org.apache.hadoop.yarn.webapp.TestRMWithXFSFilter [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.907 s - in org.apache.hadoop.yarn.webapp.TestRMWithXFSFilter [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] TestRMHA.testFailoverAndTransitions:223->checkActiveRMFunctionality:149 Unable to perform Active RM functions [ERROR] TestRMHA.testFailoverClearsRMContext:554->checkActiveRMFunctionality:149 Unable to perform Active RM functions [ERROR] TestRMHA.testFailoverWhenTransitionToActiveThrowException:465->checkActiveRMFunctionality:149 Unable to perform Active RM functions [ERROR] TestRMHA.testResourceProfilesManagerAfterRMWentStandbyThenBackToActive:727->checkActiveRMFunctionality:149 Unable to perform Active RM functions [ERROR] TestRMHA.testTransitionsWhenAutomaticFailoverEnabled:311->checkActiveRMFunctionality:149 Unable to perform Active RM functions [ERROR] TestCapacityOverTimePolicy.testAllocation:136->BaseSharingPolicyTest.runTest:146 [ERROR] Errors: [ERROR] TestAMAuthorization.testAuthorizedAccess:279 ? Runtime ##### submitapp #######... [ERROR] TestAMAuthorization.testAuthorizedAccess:279 ? Runtime ##### submitapp #######... [ERROR] TestAMAuthorization.testUnauthorizedAccess:337 ? Runtime ##### submitapp #####... [ERROR] TestAMAuthorization.testUnauthorizedAccess:337 ? Runtime ##### submitapp #####... [ERROR] TestApplicationCleanup.testAppCleanup:84 ? Runtime ##### submitapp #########Su... [ERROR] TestApplicationCleanup.testAppCleanupWhenNMReconnects:426 ? Runtime ##### subm... [ERROR] TestApplicationCleanup.testAppCleanupWhenRMRestartedAfterAppFinished:299 ? Runtime [ERROR] TestApplicationCleanup.testAppCleanupWhenRMRestartedBeforeAppFinished:336 ? Runtime [ERROR] TestApplicationCleanup.testContainerCleanup:162 ? Runtime ##### submitapp ####... [ERROR] TestApplicationCleanup.testContainerCleanupWhenRMRestartedAppNotRegistered:390 ? Runtime [ERROR] TestApplicationCleanup.testProcessingNMContainerStatusesOnNMRestart:466 ? Runtime [ERROR] TestApplicationMasterLauncher.testAMCleanupBeforeLaunch:292 ? Runtime ##### su... [ERROR] TestApplicationMasterLauncher.testAMLaunchAndCleanup:233 ? Runtime ##### submi... [ERROR] TestApplicationMasterLauncher.testRetriesOnFailures:368 ? Runtime ##### submit... [ERROR] TestApplicationMasterLauncher.testSetupTokensWithHTTPS:451->testSetupTokens:461 ? Runtime [ERROR] TestApplicationMasterLauncher.testSetupTokensWithoutHTTPS:442->testSetupTokens:461 ? Runtime [ERROR] TestApplicationMasterLauncher.testallocateBeforeAMRegistration:388 ? Runtime #... [ERROR] TestApplicationMasterServiceCapacity>ApplicationMasterServiceTestBase.testAllocateAfterUnregister:477 ? Runtime [ERROR] TestApplicationMasterServiceCapacity>ApplicationMasterServiceTestBase.testAllocateResponseIdOverflow:179 ? Runtime [ERROR] TestApplicationMasterServiceCapacity>ApplicationMasterServiceTestBase.testFinishApplicationMasterBeforeRegistering:333 ? Runtime [ERROR] TestApplicationMasterServiceCapacity>ApplicationMasterServiceTestBase.testInvalidContainerReleaseRequest:213 ? Runtime [ERROR] TestApplicationMasterServiceCapacity.testInvalidIncreaseDecreaseRequest:108 ? Runtime [ERROR] TestApplicationMasterServiceCapacity.testPriorityInAllocatedResponse:183 ? Runtime [ERROR] TestApplicationMasterServiceCapacity>ApplicationMasterServiceTestBase.testProgressFilter:268 ? Runtime [ERROR] TestApplicationMasterServiceCapacity>ApplicationMasterServiceTestBase.testRMIdentifierOnContainerAllocation:138 ? Runtime [ERROR] TestApplicationMasterServiceCapacity>ApplicationMasterServiceTestBase.testRepeatedFinishApplicationMaster:377 ? Runtime [ERROR] TestApplicationMasterServiceCapacity>ApplicationMasterServiceTestBase.testRequestCapacityMinMaxAllocationForResourceTypes:631 ? Runtime [ERROR] TestApplicationMasterServiceCapacity>ApplicationMasterServiceTestBase.testResourceTypes:453 ? Runtime [ERROR] TestApplicationMasterServiceCapacity>ApplicationMasterServiceTestBase.testUpdateTrackingUrl:508 ? Runtime [ERROR] TestApplicationMasterServiceCapacity>ApplicationMasterServiceTestBase.testValidateRequestCapacityAgainstMinMaxAllocation:566 ? Runtime [ERROR] TestApplicationMasterServiceFair>ApplicationMasterServiceTestBase.testAllocateAfterUnregister:477 ? Runtime [ERROR] TestApplicationMasterServiceFair>ApplicationMasterServiceTestBase.testAllocateResponseIdOverflow:179 ? Runtime [ERROR] TestApplicationMasterServiceFair>ApplicationMasterServiceTestBase.testFinishApplicationMasterBeforeRegistering:333 ? Runtime [ERROR] TestApplicationMasterServiceFair>ApplicationMasterServiceTestBase.testInvalidContainerReleaseRequest:213 ? Runtime [ERROR] TestApplicationMasterServiceFair>ApplicationMasterServiceTestBase.testProgressFilter:268 ? Runtime [ERROR] TestApplicationMasterServiceFair>ApplicationMasterServiceTestBase.testRMIdentifierOnContainerAllocation:138 ? Runtime [ERROR] TestApplicationMasterServiceFair>ApplicationMasterServiceTestBase.testRepeatedFinishApplicationMaster:377 ? Runtime [ERROR] TestApplicationMasterServiceFair>ApplicationMasterServiceTestBase.testRequestCapacityMinMaxAllocationForResourceTypes:631 ? Runtime [ERROR] TestApplicationMasterServiceFair.testRequestCapacityMinMaxAllocationWithDifferentUnits:108 ? Runtime [ERROR] TestApplicationMasterServiceFair>ApplicationMasterServiceTestBase.testResourceTypes:453 ? Runtime [ERROR] TestApplicationMasterServiceFair>ApplicationMasterServiceTestBase.testUpdateTrackingUrl:508 ? Runtime [ERROR] TestApplicationMasterServiceFair>ApplicationMasterServiceTestBase.testValidateRequestCapacityAgainstMinMaxAllocation:566 ? Runtime [ERROR] TestApplicationMasterServiceInterceptor.testApplicationMasterInterceptor:174 ? Runtime [ERROR] TestCapacitySchedulerMetrics.testCSMetrics:81 ? Runtime ##### submitapp ######... [ERROR] TestClientRMService.testForceKillApplication:608 ? Runtime ##### submitapp ###... [ERROR] TestClientRMService.testUpdateApplicationPriorityRequest:2473 ? Runtime ##### ... [ERROR] TestClientRMService.testUpdatePriorityAndKillAppWithZeroClusterResource:2447 ? Runtime [ERROR] TestContainerResourceUsage.testUsageAfterAMRestartKeepContainers:257->amRestartTests:279 ? Runtime [ERROR] TestContainerResourceUsage.testUsageAfterAMRestartWithMultipleContainers:252->amRestartTests:279 ? Runtime [ERROR] TestContainerResourceUsage.testUsageWithMultipleContainersAndRMRestart:150 ? Runtime [ERROR] TestContainerResourceUsage.testUsageWithOneAttemptAndOneContainer:81 ? Runtime [ERROR] TestDecommissioningNodesWatcher.testDecommissioningNodesWatcher:68 ? Runtime #... [ERROR] TestDecommissioningNodesWatcher.testDecommissioningNodesWatcherWithPreviousRunningApps:128 ? Runtime [ERROR] TestKillApplicationWithRMHA.testKillAppWhenFailOverHappensDuringApplicationKill:162 ? Runtime [ERROR] TestKillApplicationWithRMHA.testKillAppWhenFailoverHappensAtFinalState:131 ? Runtime [ERROR] TestKillApplicationWithRMHA.testKillAppWhenFailoverHappensAtNewState:82 ? Runtime [ERROR] TestKillApplicationWithRMHA.testKillAppWhenFailoverHappensAtRunningState:108 ? Runtime [ERROR] TestLeaderElectorService.testStateStoreFailureCauseFailover:129 ? Runtime ####... [ERROR] TestMoveApplication.testMoveSuccessful:127 ? Runtime ##### submitapp #########... [ERROR] TestNodeBlacklistingOnAMFailures.testNoBlacklistingForNonSystemErrors:393 ? Runtime [ERROR] TestNodeBlacklistingOnAMFailures.testNodeBlacklistingOnAMFailure:117 ? Runtime [ERROR] TestNodeBlacklistingOnAMFailures.testNodeBlacklistingOnAMFailureRelaxedNodeLocality:332->submitAppWithAMResourceRequests:85 ? NullPointer [ERROR] TestNodeBlacklistingOnAMFailures.testNodeBlacklistingOnAMFailureStrictNodeLocality:245->submitAppWithAMResourceRequests:85 ? NullPointer [ERROR] TestOpportunisticContainerAllocatorAMService.testAMCrashDuringAllocate:825 ? Runtime [ERROR] TestOpportunisticContainerAllocatorAMService.testAppAttemptRemovalAfterNodeRemoval:929 ? Runtime [ERROR] TestOpportunisticContainerAllocatorAMService.testContainerAutoUpdateContainer:582 ? Runtime [ERROR] TestOpportunisticContainerAllocatorAMService.testContainerPromoteAfterContainerComplete:478 ? Runtime [ERROR] TestOpportunisticContainerAllocatorAMService.testContainerPromoteAfterContainerStart:361 ? Runtime [ERROR] TestOpportunisticContainerAllocatorAMService.testContainerPromoteAndDemoteBeforeContainerStart:202 ? Runtime [ERROR] TestOpportunisticContainerAllocatorAMService.testNodeRemovalDuringAllocate:876 ? Runtime [ERROR] TestOpportunisticContainerAllocatorAMService.testOpportunisticSchedulerMetrics:749 ? Runtime [ERROR] TestRM.testActivatingApplicationAfterAddingNM:443 ? Runtime ##### submitapp ##... [ERROR] TestRM.testActivatingApplicationAfterAddingNM:443 ? Runtime ##### submitapp ##... [ERROR] TestRM.testAppOnMultiNode:150 ? Runtime ##### submitapp #########Submitapp####... [ERROR] TestRM.testAppOnMultiNode:150 ? Runtime ##### submitapp #########Submitapp####... [ERROR] TestRM.testAppWithNoContainers:127 ? Runtime ##### submitapp #########Submitap... [ERROR] TestRM.testAppWithNoContainers:127 ? Runtime ##### submitapp #########Submitap... [ERROR] TestRM.testApplicationKillAtAcceptedState:608 ? Runtime ##### submitapp ######... [ERROR] TestRM.testApplicationKillAtAcceptedState:608 ? Runtime ##### submitapp ######... [ERROR] TestRM.testInvalidateAMHostPortWhenAMFailedOrKilled:487 ? Runtime ##### submit... [ERROR] TestRM.testInvalidateAMHostPortWhenAMFailedOrKilled:487 ? Runtime ##### submit... [ERROR] TestRM.testInvalidatedAMHostPortOnAMRestart:541 ? Runtime ##### submitapp ####... [ERROR] TestRM.testInvalidatedAMHostPortOnAMRestart:541 ? Runtime ##### submitapp ####... [ERROR] TestRM.testKillFailingApp:740 ? Runtime ##### submitapp #########Submitapp####... [ERROR] TestRM.testKillFailingApp:740 ? Runtime ##### submitapp #########Submitapp####... [ERROR] TestRM.testKillFinishingApp:686 ? Runtime ##### submitapp #########Submitapp##... [ERROR] TestRM.testKillFinishingApp:686 ? Runtime ##### submitapp #########Submitapp##... [ERROR] TestRM.testNMTokenSentForNormalContainer:206 ? Runtime ##### submitapp #######... [ERROR] TestRM.testNMTokenSentForNormalContainer:206 ? Runtime ##### submitapp #######... [ERROR] TestRM.testNMToken:262 ? Runtime ##### submitapp #########Submitapp#### testca... [ERROR] TestRM.testNMToken:262 ? Runtime ##### submitapp #########Submitapp#### testca... [ERROR] TestRMHAForAsyncScheduler.testAsyncScheduleThreadStateAfterRMHATransit:91->submitAppAndCheckLaunched:153 ? Runtime [ERROR] TestRMHATimelineCollectors.testRebuildCollectorDataOnFailover:63 ? Runtime ###... [ERROR] TestRMRestart.testAppAttemptTokensRestoredOnRMRestart:1522 ? Runtime ##### sub... [ERROR] TestRMRestart.testAppAttemptTokensRestoredOnRMRestart:1522 ? Runtime ##### sub... [ERROR] TestRMRestart.testAppReportNodeLabelRMRestart:524->submitApp:224 ? NullPointer [ERROR] TestRMRestart.testAppSubmissionWithOldDelegationTokenAfterRMRestart:1763 ? Runtime [ERROR] TestRMRestart.testAppSubmissionWithOldDelegationTokenAfterRMRestart:1763 ? Runtime [ERROR] TestRMRestart.testClientRetryOnKillingApplication:1934 ? Runtime ##### submita... [ERROR] TestRMRestart.testClientRetryOnKillingApplication:1934 ? Runtime ##### submita... [ERROR] TestRMRestart.testDelegationTokenRestoredInDelegationTokenRenewer:1437 ? Runtime [ERROR] TestRMRestart.testDelegationTokenRestoredInDelegationTokenRenewer:1437 ? Runtime [ERROR] TestRMRestart.testFinishedAppRemovalAfterRMRestart:1866 ? Runtime ##### submit... [ERROR] TestRMRestart.testFinishedAppRemovalAfterRMRestart:1866 ? Runtime ##### submit... [ERROR] TestRMRestart.testQueueMetricsOnRMRestart:2089 ? Runtime ##### submitapp #####... [ERROR] TestRMRestart.testQueueMetricsOnRMRestart:2089 ? Runtime ##### submitapp #####... [ERROR] TestRMRestart.testRMDelegationTokenRestoredOnRMRestart:1623 ? Runtime ##### su... [ERROR] TestRMRestart.testRMDelegationTokenRestoredOnRMRestart:1623 ? Runtime ##### su... [ERROR] TestRMRestart.testRMRestartAfterNodeLabelDisabled:2824 ? Runtime ##### submita... [ERROR] TestRMRestart.testRMRestartAfterPreemption:2670 ? Runtime ##### submitapp ####... [ERROR] TestRMRestart.testRMRestartAfterPriorityChangesInAllocatedResponse:2896 ? Runtime [ERROR] TestRMRestart.testRMRestartAfterPriorityChangesInAllocatedResponse:2896 ? Runtime [ERROR] TestRMRestart.testRMRestartAfterUpdateTrackingUrl:2968 ? Runtime ##### submita... [ERROR] TestRMRestart.testRMRestartAfterUpdateTrackingUrl:2968 ? Runtime ##### submita... [ERROR] TestRMRestart.testRMRestartAppRunningAMFailed:602 ? Runtime ##### submitapp ##... [ERROR] TestRMRestart.testRMRestartAppRunningAMFailed:602 ? Runtime ##### submitapp ##... [ERROR] TestRMRestart.testRMRestartFailAppAttempt:2541 ? Runtime ##### submitapp #####... [ERROR] TestRMRestart.testRMRestartFailAppAttempt:2541 ? Runtime ##### submitapp #####... [ERROR] TestRMRestart.testRMRestartFailedApp:873 ? Runtime ##### submitapp #########Su... [ERROR] TestRMRestart.testRMRestartFailedApp:873 ? Runtime ##### submitapp #########Su... [ERROR] TestRMRestart.testRMRestartGetApplicationList:1071 ? Runtime ##### submitapp #... [ERROR] TestRMRestart.testRMRestartGetApplicationList:1071 ? Runtime ##### submitapp #... [ERROR] TestRMRestart.testRMRestartKilledAppWithNoAttempts:977 ? Runtime ##### submita... [ERROR] TestRMRestart.testRMRestartKilledAppWithNoAttempts:977 ? Runtime ##### submita... [ERROR] TestRMRestart.testRMRestartKilledApp:921 ? Runtime ##### submitapp #########Su... [ERROR] TestRMRestart.testRMRestartKilledApp:921 ? Runtime ##### submitapp #########Su... [ERROR] TestRMRestart.testRMRestartOnMaxAppAttempts:1257 ? Runtime ##### submitapp ###... [ERROR] TestRMRestart.testRMRestartOnMaxAppAttempts:1257 ? Runtime ##### submitapp ###... [ERROR] TestRMRestart.testRMRestartOnMissingAttempts:2724 ? Runtime ##### submitapp ##... [ERROR] TestRMRestart.testRMRestartOnMissingAttempts:2724 ? Runtime ##### submitapp ##... [ERROR] TestRMRestart.testRMRestartSucceededApp:1020 ? Runtime ##### submitapp #######... [ERROR] TestRMRestart.testRMRestartSucceededApp:1020 ? Runtime ##### submitapp #######... [ERROR] TestRMRestart.testRMRestartTimelineCollectorContext:1341 ? Runtime ##### submi... [ERROR] TestRMRestart.testRMRestartTimelineCollectorContext:1341 ? Runtime ##### submi... [ERROR] TestRMRestart.testRMRestartWaitForPreviousAMToFinish:657 ? Runtime ##### submi... [ERROR] TestRMRestart.testRMRestartWaitForPreviousAMToFinish:657 ? Runtime ##### submi... [ERROR] TestRMRestart.testRMRestartWaitForPreviousSucceededAttempt:832 ? Runtime #####... [ERROR] TestRMRestart.testRMRestartWaitForPreviousSucceededAttempt:832 ? Runtime #####... [ERROR] TestRMRestart.testRMRestart:250 ? Runtime ##### submitapp #########Submitapp##... [ERROR] TestRMRestart.testRMRestart:250 ? Runtime ##### submitapp #########Submitapp##... [ERROR] TestRMRestart.testRMStateStoreDispatcherDrainedOnRMStop:1812 ? Runtime ##### s... [ERROR] TestRMRestart.testRMStateStoreDispatcherDrainedOnRMStop:1812 ? Runtime ##### s... [ERROR] TestRMRestart.testSynchronouslyRenewDTOnRecovery:2284 ? Runtime ##### submitap... [ERROR] TestRMRestart.testSynchronouslyRenewDTOnRecovery:2284 ? Runtime ##### submitap... [ERROR] TestRMRestart.testUnManagedRMRestart:550 ? Runtime ##### submitapp #########Su... [ERROR] TestRMRestart.testUnManagedRMRestart:550 ? Runtime ##### submitapp #########Su... [ERROR] TestResourceTrackerService.testGracefulDecommissionWithApp:427 ? Runtime #####... [ERROR] TestResourceTrackerService.testHandleContainerStatusInvalidCompletions:1759 ? Runtime [ERROR] TestResourceTrackerService.testHandleOpportunisticContainerStatus:2691 ? Runtime [ERROR] TestResourceTrackerService.testNodeHeartbeatForAppCollectorsMap:1625 ? Runtime [ERROR] TestSignalContainer.testSignalRequestDeliveryToNM:60 ? Runtime ##### submitapp... [ERROR] TestSubmitApplicationWithRMHA.testGetApplicationReportIdempotent:216 ? Runtime [ERROR] TestSubmitApplicationWithRMHA.testHandleRMHABeforeSubmitApplicationCallWithSavedApplicationState:56 ? Runtime [ERROR] TestSubmitApplicationWithRMHA.testHandleRMHADuringSubmitApplicationCallWithSavedApplicationState:268 ? Runtime [ERROR] TestSubmitApplicationWithRMHA.testHandleRMHADuringSubmitApplicationCallWithoutSavedApplicationState:334 ? Runtime [ERROR] TestSubmitApplicationWithRMHA.testHandleRMHAafterSubmitApplicationCallWithSavedApplicationState:116 ? Runtime [ERROR] TestSubmitApplicationWithRMHA.testHandleRMHAafterSubmitApplicationCallWithoutSavedApplicationState:163 ? Runtime [ERROR] TestWorkPreservingRMRestart.testAMContainerStatusWithRMRestart:1138 ? Runtime ... [ERROR] TestWorkPreservingRMRestart.testAMContainerStatusWithRMRestart:1138 ? Runtime ... [ERROR] TestWorkPreservingRMRestart.testAMfailedBetweenRMRestart:1018 ? Runtime ##### ... [ERROR] TestWorkPreservingRMRestart.testAMfailedBetweenRMRestart:1018 ? Runtime ##### ... [ERROR] TestWorkPreservingRMRestart.testAppFailToValidateResourceRequestOnRecovery:1433 ? Runtime [ERROR] TestWorkPreservingRMRestart.testAppFailToValidateResourceRequestOnRecovery:1433 ? Runtime [ERROR] TestWorkPreservingRMRestart.testAppFailedToRenewTokenOnRecovery:1388 ? Runtime [ERROR] TestWorkPreservingRMRestart.testAppFailedToRenewTokenOnRecovery:1388 ? Runtime [ERROR] TestWorkPreservingRMRestart.testAppReregisterOnRMWorkPreservingRestart:1111 ? Runtime [ERROR] TestWorkPreservingRMRestart.testAppReregisterOnRMWorkPreservingRestart:1111 ? Runtime [ERROR] TestWorkPreservingRMRestart.testAppStateSavedButAttemptStateNotSaved:1526 ? Runtime [ERROR] TestWorkPreservingRMRestart.testAppStateSavedButAttemptStateNotSaved:1526 ? Runtime [ERROR] TestWorkPreservingRMRestart.testCapacityLeafQueueBecomesParentOnRecovery:889 ? Runtime [ERROR] TestWorkPreservingRMRestart.testCapacitySchedulerQueueRemovedRecovery:945 ? Runtime [ERROR] TestWorkPreservingRMRestart.testCapacitySchedulerRecovery:694 ? Runtime ##### ... [ERROR] TestWorkPreservingRMRestart.testContainerCompleteMsgNotLostAfterAMFailedAndRMRestart:1462 ? Runtime [ERROR] TestWorkPreservingRMRestart.testContainerCompleteMsgNotLostAfterAMFailedAndRMRestart:1462 ? Runtime [ERROR] TestWorkPreservingRMRestart.testContainersNotRecoveredForCompletedApps:1071 ? Runtime [ERROR] TestWorkPreservingRMRestart.testContainersNotRecoveredForCompletedApps:1071 ? Runtime [ERROR] TestWorkPreservingRMRestart.testDynamicAutoCreatedQueueRecoveryWithDefaultQueue:1694->testDynamicAutoCreatedQueueRecovery:1744 ? Runtime [ERROR] TestWorkPreservingRMRestart.testDynamicAutoCreatedQueueRecoveryWithDefaultQueue:1694->testDynamicAutoCreatedQueueRecovery:1744 ? Runtime [ERROR] TestWorkPreservingRMRestart.testDynamicAutoCreatedQueueRecoveryWithOverrideQueueMappingFlag:1700->testDynamicAutoCreatedQueueRecovery:1744 ? Runtime [ERROR] TestWorkPreservingRMRestart.testDynamicAutoCreatedQueueRecoveryWithOverrideQueueMappingFlag:1700->testDynamicAutoCreatedQueueRecovery:1744 ? Runtime [ERROR] TestWorkPreservingRMRestart.testDynamicQueueRecovery:346 ? Runtime ##### submi... [ERROR] TestWorkPreservingRMRestart.testDynamicQueueRecovery:346 ? Runtime ##### submi... [ERROR] TestWorkPreservingRMRestart.testFairSchedulerCompletedAppsQueue:1849 ? Runtime [ERROR] TestWorkPreservingRMRestart.testNewContainersNotAllocatedDuringSchedulerRecovery:1299 ? Runtime [ERROR] TestWorkPreservingRMRestart.testNewContainersNotAllocatedDuringSchedulerRecovery:1299 ? Runtime [ERROR] TestWorkPreservingRMRestart.testRMRestartWithRemovedQueue:633 ? Runtime ##### ... [ERROR] TestWorkPreservingRMRestart.testRMRestartWithRemovedQueue:633 ? Runtime ##### ... [ERROR] TestWorkPreservingRMRestart.testRecoverSchedulerAppAndAttemptSynchronously:1174 ? Runtime [ERROR] TestWorkPreservingRMRestart.testRecoverSchedulerAppAndAttemptSynchronously:1174 ? Runtime [ERROR] TestWorkPreservingRMRestart.testReleasedContainerNotRecovered:1203 ? Runtime #... [ERROR] TestWorkPreservingRMRestart.testReleasedContainerNotRecovered:1203 ? Runtime #... [ERROR] TestWorkPreservingRMRestart.testRetriedFinishApplicationMasterRequest:1357 ? Runtime [ERROR] TestWorkPreservingRMRestart.testRetriedFinishApplicationMasterRequest:1357 ? Runtime [ERROR] TestWorkPreservingRMRestart.testSchedulerRecovery:173 ? Runtime ##### submitap... [ERROR] TestWorkPreservingRMRestart.testSchedulerRecovery:173 ? Runtime ##### submitap... [ERROR] TestWorkPreservingRMRestart.testUAMRecoveryOnRMWorkPreservingRestart:1566 ? Runtime [ERROR] TestWorkPreservingRMRestart.testUAMRecoveryOnRMWorkPreservingRestart:1566 ? Runtime [ERROR] TestWorkPreservingRMRestart.testUnknownUserOnRecovery:1660 ? Runtime ##### sub... [ERROR] TestWorkPreservingRMRestart.testUnknownUserOnRecovery:1660 ? Runtime ##### sub... [ERROR] TestWorkPreservingUnmanagedAM.testUAMRestartKeepContainers:159->testUAMRestart:92 ? Runtime [ERROR] TestWorkPreservingUnmanagedAM.testUAMRestartKeepContainers:159->testUAMRestart:92 ? Runtime [ERROR] TestWorkPreservingUnmanagedAM.testUAMRestartNoKeepContainers:164->testUAMRestart:92 ? Runtime [ERROR] TestWorkPreservingUnmanagedAM.testUAMRestartNoKeepContainers:164->testUAMRestart:92 ? Runtime [ERROR] TestRMApplicationHistoryWriter.testRMWritingMassiveHistoryForCapacitySche:384->testRMWritingMassiveHistory:431->testRMWritingMassiveHistory:448 ? Runtime [ERROR] TestRMApplicationHistoryWriter.testRMWritingMassiveHistoryForFairSche:378->testRMWritingMassiveHistory:431->testRMWritingMassiveHistory:448 ? Runtime [ERROR] TestAMRMRPCNodeUpdates.testAMRMDecommissioningNodes:116 ? Runtime ##### submit... [ERROR] TestAMRMRPCNodeUpdates.testAMRMUnusableNodes:152 ? Runtime ##### submitapp ###... [ERROR] TestAMRMRPCResponseId.testARRMResponseId:81 ? Runtime ##### submitapp ########... [ERROR] TestAMRestart.testAMRestartNotLostContainerAfterAttemptFailuresValidityInterval:1023 ? Runtime [ERROR] TestAMRestart.testAMRestartNotLostContainerAfterAttemptFailuresValidityInterval:1023 ? Runtime [ERROR] TestAMRestart.testAMRestartNotLostContainerCompleteMsg:921 ? Runtime ##### sub... [ERROR] TestAMRestart.testAMRestartNotLostContainerCompleteMsg:921 ? Runtime ##### sub... [ERROR] TestAMRestart.testAMRestartWithExistingContainers:104 ? Runtime ##### submitap... [ERROR] TestAMRestart.testAMRestartWithExistingContainers:104 ? Runtime ##### submitap... [ERROR] TestAMRestart.testContainersFromPreviousAttemptsWithRMRestart:1140 ? Runtime #... [ERROR] TestAMRestart.testContainersFromPreviousAttemptsWithRMRestart:1140 ? Runtime #... [ERROR] TestAMRestart.testMaxAttemptOneMeansOne:553 ? Runtime ##### submitapp ########... [ERROR] TestAMRestart.testMaxAttemptOneMeansOne:553 ? Runtime ##### submitapp ########... [ERROR] TestAMRestart.testNMTokensRebindOnAMRestart:318 ? Runtime ##### submitapp ####... [ERROR] TestAMRestart.testNMTokensRebindOnAMRestart:318 ? Runtime ##### submitapp ####... [ERROR] TestAMRestart.testPreemptedAMRestartOnRMRestart:594 ? Runtime ##### submitapp ... [ERROR] TestAMRestart.testPreemptedAMRestartOnRMRestart:594 ? Runtime ##### submitapp ... [ERROR] TestAMRestart.testQueueResourceDoesNotLeak:1274 ? Runtime ##### submitapp ####... [ERROR] TestAMRestart.testQueueResourceDoesNotLeak:1274 ? Runtime ##### submitapp ####... [ERROR] TestAMRestart.testRMAppAttemptFailuresValidityInterval:763 ? Runtime ##### sub... [ERROR] TestAMRestart.testRMAppAttemptFailuresValidityInterval:763 ? Runtime ##### sub... [ERROR] TestAMRestart.testRMRestartOrFailoverNotCountedForAMFailures:685 ? Runtime ###... [ERROR] TestAMRestart.testRMRestartOrFailoverNotCountedForAMFailures:685 ? Runtime ###... [ERROR] TestAMRestart.testShouldNotCountFailureToMaxAttemptRetry:428 ? Runtime ##### s... [ERROR] TestAMRestart.testShouldNotCountFailureToMaxAttemptRetry:428 ? Runtime ##### s... [ERROR] TestResourceProfiles.testResourceProfilesInAMResponse:166 ? Runtime ##### subm... [ERROR] TestApplicationLifetimeMonitor.testApplicationLifetimeMonitor:130 ? Runtime ##... [ERROR] TestApplicationLifetimeMonitor.testApplicationLifetimeMonitor:130 ? Runtime ##... [ERROR] TestApplicationLifetimeMonitor.testApplicationLifetimeOnRMRestart:256 ? Runtime [ERROR] TestApplicationLifetimeMonitor.testApplicationLifetimeOnRMRestart:256 ? Runtime [ERROR] TestApplicationLifetimeMonitor.testUpdateApplicationTimeoutForStateStoreUpdateFail:344 ? Runtime [ERROR] TestApplicationLifetimeMonitor.testUpdateApplicationTimeoutForStateStoreUpdateFail:344 ? Runtime [ERROR] TestNodesListManager.testNodeUsableEvent:76 ? Runtime ##### submitapp ########... [ERROR] TestRMContainerImpl.testExistenceOfResourceRequestInRMContainer:288 ? Runtime ... [ERROR] TestRMContainerImpl.testStoreAllContainerMetrics:328 ? Runtime ##### submitapp... [ERROR] TestRMContainerImpl.testStoreOnlyAMContainerMetrics:368 ? Runtime ##### submit... [ERROR] TestAbstractYarnScheduler.testContainerRecoveredByNode:1052 ? Runtime ##### su... [ERROR] TestAbstractYarnScheduler.testContainerRecoveredByNode:1052 ? Runtime ##### su... [ERROR] TestAbstractYarnScheduler.testContainerReleaseWithAllocationTags:458 ? Runtime [ERROR] TestAbstractYarnScheduler.testContainerReleasedByNode:561 ? Runtime ##### subm... [ERROR] TestAbstractYarnScheduler.testContainerReleasedByNode:561 ? Runtime ##### subm... [ERROR] TestAbstractYarnScheduler.testReleasedContainerIfAppAttemptisNull:407 ? Runtime [ERROR] TestAbstractYarnScheduler.testReleasedContainerIfAppAttemptisNull:407 ? Runtime [ERROR] TestAbstractYarnScheduler.testResourceRequestRecoveryToTheRightAppAttempt:783 ? Runtime [ERROR] TestAbstractYarnScheduler.testResourceRequestRecoveryToTheRightAppAttempt:783 ? Runtime [ERROR] TestAbstractYarnScheduler.testResourceRequestRestoreWhenRMContainerIsAtAllocated:684 ? Runtime [ERROR] TestAbstractYarnScheduler.testResourceRequestRestoreWhenRMContainerIsAtAllocated:684 ? Runtime [ERROR] TestSchedulerUtils.testValidateResourceBlacklistRequest:701 ? Runtime ##### su... [ERROR] TestSchedulingWithAllocationRequestId.testMultipleAllocationRequestDiffPriority:119 ? Runtime [ERROR] TestSchedulingWithAllocationRequestId.testMultipleAllocationRequestDiffPriority:119 ? Runtime [ERROR] TestSchedulingWithAllocationRequestId.testMultipleAllocationRequestIds:77 ? Runtime [ERROR] TestSchedulingWithAllocationRequestId.testMultipleAllocationRequestIds:77 ? Runtime [ERROR] TestSchedulingWithAllocationRequestId.testMultipleAppsWithAllocationReqId:185 ? Runtime [ERROR] TestSchedulingWithAllocationRequestId.testMultipleAppsWithAllocationReqId:185 ? Runtime [ERROR] TestApplicationLimits.testApplicationLimitSubmit:829 ? Runtime ##### submitapp... [ERROR] TestApplicationLimitsByPartition.testAMLimitByAllResources:983 ? Runtime #####... [ERROR] TestApplicationLimitsByPartition.testAMResourceLimitForMultipleApplications:659 ? Runtime [ERROR] TestApplicationLimitsByPartition.testAMResourceLimitWithLabels:168 ? Runtime #... [ERROR] TestApplicationLimitsByPartition.testAtleastOneAMRunPerPartition:323 ? Runtime [ERROR] TestApplicationLimitsByPartition.testDefaultAMLimitFromQueueForPartition:430 ? Runtime [ERROR] TestApplicationLimitsByPartition.testUserAMResourceLimitWithLabels:514 ? Runtime [ERROR] TestApplicationPriority.testApplicationPriorityAllocation:168 ? Runtime ##### ... [ERROR] TestApplicationPriority.testApplicationPriorityAllocationWithChangeInPriority:507 ? Runtime [ERROR] TestApplicationPriority.testMaxPriorityValidation:334 ? Runtime ##### submitap... [ERROR] TestApplicationPriority.testOrderOfActivatingThePriorityApplicationOnRMRestart:663 ? Runtime [ERROR] TestApplicationPriority.testPriorityWithPendingApplications:259 ? Runtime ####... [ERROR] TestApplicationPriority.testRMRestartWithChangeInPriority:449 ? Runtime ##### ... [ERROR] TestApplicationPriority.testUpdateInvalidPriorityAtRuntime:398 ? Runtime #####... [ERROR] TestApplicationPriority.testUpdatePriorityAtRuntime:358 ? Runtime ##### submit... [ERROR] TestApplicationPriority.testUpdatePriorityOnPendingAppAndKillAttempt:792 ? Runtime [ERROR] TestCSAllocateCustomResource.testCapacitySchedulerJobWhenConfigureCustomResourceType:127 ? Runtime [ERROR] TestCapacityScheduler.testAMLimitUsage:4357->verifyAMLimitForLeafQueue:4509 ? Runtime [ERROR] TestCapacityScheduler.testAMUsedResource:4125 ? Runtime ##### submitapp ######... [ERROR] TestCapacityScheduler.testAllocateDoesNotBlockOnSchedulerLock:1589 ? Runtime #... [ERROR] TestCapacityScheduler.testAppAttemptLocalityStatistics:5001 ? Runtime ##### su... [ERROR] TestCapacityScheduler.testAppReservationWithDominantResourceCalculator:3081 ? Runtime [ERROR] TestCapacityScheduler.setUp:219 ? OutOfMemory unable to create new native thre... [ERROR] TestCapacityScheduler.testClearRequestsBeforeApplyTheProposal:5465 ? Runtime #... [ERROR] TestCapacityScheduler.testContainerAllocationLocalitySkipped:5534 ? Runtime ##... [ERROR] TestCapacityScheduler.testHierarchyQueuesCurrentLimits:3820 ? Runtime ##### su... [ERROR] TestCapacityScheduler.testKillAllAppsInQueue:2967 ? Runtime ##### submitapp ##... [ERROR] TestCapacityScheduler.testKillAllAppsInvalidSource:3020 ? Runtime ##### submit... [ERROR] TestCapacityScheduler.setUp:219 ? OutOfMemory unable to create new native thre... [ERROR] TestCapacityScheduler.testMoveAllApps:2565 ? Runtime ##### submitapp #########... [ERROR] TestCapacityScheduler.testMoveAllAppsInvalidDestination:2635 ? Runtime ##### s... [ERROR] TestCapacityScheduler.testMoveAllAppsInvalidSource:2701 ? Runtime ##### submit... [ERROR] TestCapacityScheduler.testMoveAppBasic:1889 ? Runtime ##### submitapp ########... [ERROR] TestCapacityScheduler.testMoveAppPendingMetrics:1961 ? Runtime ##### submitapp... [ERROR] TestCapacityScheduler.testMoveAppSameParent:2041 ? Runtime ##### submitapp ###... [ERROR] TestCapacityScheduler.testMoveAppWithActiveUsersWithOnlyPendingApps:5604 ? Runtime [ERROR] TestCapacityScheduler.testParentQueueMaxCapsAreRespected:3925 ? Runtime ##### ... [ERROR] TestCapacityScheduler.testPendingResourceUpdatedAccordingToIncreaseRequestChanges:4402 ? Runtime [ERROR] TestCapacityScheduler.testPreemptionInfo:1735 ? Runtime ##### submitapp ######... [ERROR] TestCapacityScheduler.testQueueHierarchyPendingResourceUpdate:3989 ? Runtime #... [ERROR] TestCapacityScheduler.testQueueMappingWithCurrentUserQueueMappingForaGroup:5343 ? Runtime [ERROR] TestCapacityScheduler.testRecoverRequestAfterPreemption:1801 ? Runtime ##### s... [ERROR] TestCapacityScheduler.setUp:219 ? OutOfMemory unable to create new native thre... [ERROR] TestCapacityScheduler.testResourceOverCommit:1339 ? Runtime ##### submitapp ##... [ERROR] TestCapacityScheduler.testSchedulerKeyGarbageCollection:3661 ? Runtime ##### s... [ERROR] TestCapacityScheduler.testSchedulingOnRemovedNode:4711 ? Runtime ##### submita... [ERROR] TestCapacitySchedulerAsyncScheduling.testAsyncSchedulerSkipNoHeartbeatNMs:586 ? Runtime [ERROR] TestCapacitySchedulerAsyncScheduling.testCommitDuplicatedAllocateFromReservedProposals:709 ? Runtime [ERROR] TestCapacitySchedulerAsyncScheduling.testCommitOutdatedReservedProposal:347 ? Runtime [ERROR] TestCapacitySchedulerAsyncScheduling.testCommitProposalForFailedAppAttempt:247 ? Runtime [ERROR] TestCapacitySchedulerAsyncScheduling.testCommitProposalsForUnusableNode:868 ? Runtime [ERROR] TestCapacitySchedulerAsyncScheduling.testNodeResourceOverAllocated:505 ? Runtime [ERROR] TestCapacitySchedulerAsyncScheduling.testReleaseOutdatedReservedContainer:804 ? Runtime [ERROR] TestCapacitySchedulerAsyncScheduling.testReturnNullWhenGetSchedulerContainer:986 ? Runtime [ERROR] TestCapacitySchedulerAsyncScheduling.testSingleThreadAsyncContainerAllocation:101->testAsyncContainerAllocation:150 ? Runtime [ERROR] TestCapacitySchedulerAsyncScheduling.testThreeThreadsAsyncContainerAllocation:111->testAsyncContainerAllocation:150 ? Runtime [ERROR] TestCapacitySchedulerAsyncScheduling.testTwoThreadsAsyncContainerAllocation:106->testAsyncContainerAllocation:150 ? Runtime [ERROR] TestCapacitySchedulerAutoCreatedQueuePreemption>TestCapacitySchedulerSurgicalPreemption.testPreemptionForFragmentatedCluster:1197 ? Runtime [ERROR] TestCapacitySchedulerAutoCreatedQueuePreemption.testPreemptionFromHighestPriorityManagedParentQueueAndOldestContainer:198->TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer:804 ? Runtime [ERROR] TestCapacitySchedulerAutoCreatedQueuePreemption>TestCapacitySchedulerSurgicalPreemption.testPreemptionToBalanceWithCustomTimeout:1319 ? Runtime [ERROR] TestCapacitySchedulerAutoCreatedQueuePreemption>TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer:759->TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer:804 ? Runtime [ERROR] TestCapacitySchedulerAutoCreatedQueuePreemption>TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionOnlyTriggeredWhenDemandingQueueUnsatisfied:644 ? Runtime [ERROR] TestCapacitySchedulerAutoCreatedQueuePreemption>TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionRequiresMoveReservation:503 ? Runtime [ERROR] TestCapacitySchedulerAutoCreatedQueuePreemption>TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionWhenAllQueuesAreBelowGuaranteedCapacities:378 ? Runtime [ERROR] TestCapacitySchedulerAutoCreatedQueuePreemption>TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionWithNodeLabels:1060 ? Runtime [ERROR] TestCapacitySchedulerAutoCreatedQueuePreemption>TestCapacitySchedulerSurgicalPreemption.testSimpleSurgicalPreemption:104->TestCapacitySchedulerSurgicalPreemption.testSimpleSurgicalPreemption:134 ? Runtime [ERROR] TestCapacitySchedulerAutoCreatedQueuePreemption.testSimpleSurgicalPreemptionOnAutoCreatedLeafQueues:160->TestCapacitySchedulerSurgicalPreemption.testSimpleSurgicalPreemption:134 ? Runtime [ERROR] TestCapacitySchedulerAutoCreatedQueuePreemption>TestCapacitySchedulerSurgicalPreemption.testSurgicalPreemptionWithAvailableResource:258 ? Runtime [ERROR] TestCapacitySchedulerAutoQueueCreation.testAutoCreateLeafQueueCreation:117->TestCapacitySchedulerAutoCreatedQueueBase.submitApp:479 ? Runtime [ERROR] TestCapacitySchedulerAutoQueueCreation.testAutoCreateLeafQueueFailsWithNoQueueMapping:368 ? Runtime [ERROR] TestCapacitySchedulerAutoQueueCreation.testAutoCreatedQueueActivationDeactivation:547->TestCapacitySchedulerAutoCreatedQueueBase.submitApp:479 ? Runtime [ERROR] TestCapacitySchedulerAutoQueueCreation.testClusterResourceUpdationOnAutoCreatedLeafQueues:641->TestCapacitySchedulerAutoCreatedQueueBase.submitApp:479 ? Runtime [ERROR] TestCapacitySchedulerAutoQueueCreation.testReinitializeQueuesWithAutoCreatedLeafQueues:743->TestCapacitySchedulerAutoCreatedQueueBase.submitApp:479 ? Runtime [ERROR] TestCapacitySchedulerAutoQueueCreation.testReinitializeStoppedAutoCreatedLeafQueue:183 ? Runtime [ERROR] TestCapacitySchedulerDynamicBehavior.testMoveAppToPlanQueue:224 ? Runtime ####... [ERROR] TestCapacitySchedulerDynamicBehavior.testRemoveQueue:181 ? Runtime ##### submi... [ERROR] TestCapacitySchedulerLazyPreemption.testPreemptionConsidersHardNodeLocality:322 ? Runtime [ERROR] TestCapacitySchedulerLazyPreemption.testPreemptionConsidersNodeLocalityDelay:213 ? Runtime [ERROR] TestCapacitySchedulerLazyPreemption.testPreemptionConsidersUserLimit:668 ? Runtime [ERROR] TestCapacitySchedulerLazyPreemption.testPreemptionPolicyShouldRespectAlreadyMarkedKillableContainers:442 ? Runtime [ERROR] TestCapacitySchedulerLazyPreemption.testSimplePreemption:106 ? Runtime ##### s... [ERROR] TestCapacitySchedulerMultiNodes.testAllocateForReservedContainer:296 ? Runtime [ERROR] TestCapacitySchedulerMultiNodes.testExcessReservationWillBeUnreserved:205 ? Runtime [ERROR] TestCapacitySchedulerMultiNodes.testMultiNodeSorterForSchedulingWithOrdering:133 ? Runtime [ERROR] TestCapacitySchedulerNodeLabelUpdate.testAMResourceUsageWhenNodeUpdatesPartition:717 ? Runtime [ERROR] TestCapacitySchedulerNodeLabelUpdate.testBlacklistAMDisableLabel:821 ? Runtime [ERROR] TestCapacitySchedulerNodeLabelUpdate.testComplexResourceUsageWhenNodeUpdatesPartition:561 ? Runtime [ERROR] TestCapacitySchedulerNodeLabelUpdate.testMoveApplicationWithLabel:475 ? Runtime [ERROR] TestCapacitySchedulerNodeLabelUpdate.testRequestContainerAfterNodePartitionUpdated:233 ? Runtime [ERROR] TestCapacitySchedulerNodeLabelUpdate.testResourceUsageWhenNodeUpdatesPartition:306 ? Runtime [ERROR] TestCapacitySchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##... [ERROR] TestCapacitySchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##... [ERROR] TestCapacitySchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##... [ERROR] TestCapacitySchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##... [ERROR] TestCapacitySchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##... [ERROR] TestCapacitySchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##... [ERROR] TestCapacitySchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##... [ERROR] TestCapacitySchedulerSchedulingRequestUpdate.testBasicPendingResourceUpdate:88 ? Runtime [ERROR] TestCapacitySchedulerSchedulingRequestUpdate.testNodePartitionPendingResourceUpdate:222 ? Runtime [ERROR] TestCapacitySchedulerSurgicalPreemption.testPreemptionForFragmentatedCluster:1197 ? Runtime [ERROR] TestCapacitySchedulerSurgicalPreemption.testPreemptionToBalanceWithCustomTimeout:1319 ? Runtime [ERROR] TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer:759->testPriorityPreemptionFromHighestPriorityQueueAndOldestContainer:804 ? Runtime [ERROR] TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionOnlyTriggeredWhenDemandingQueueUnsatisfied:644 ? Runtime [ERROR] TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionRequiresMoveReservation:503 ? Runtime [ERROR] TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionWhenAllQueuesAreBelowGuaranteedCapacities:378 ? Runtime [ERROR] TestCapacitySchedulerSurgicalPreemption.testPriorityPreemptionWithNodeLabels:1060 ? Runtime [ERROR] TestCapacitySchedulerSurgicalPreemption.testSimpleSurgicalPreemption:104->testSimpleSurgicalPreemption:134 ? Runtime [ERROR] TestCapacitySchedulerSurgicalPreemption.testSurgicalPreemptionWithAvailableResource:258 ? Runtime [ERROR] TestCapacitySchedulerWithMultiResourceTypes.testMaxLimitsOfQueueWithMultipleResources:290 ? Runtime [ERROR] TestCapacitySchedulerWorkflowPriorityMapping.testWorkflowPriorityMappings:102 ? Runtime [ERROR] TestContainerAllocation.testAMContainerAllocationWhenDNSUnavailable:340 ? Runtime [ERROR] TestContainerAllocation.testActiveUsersWithOnlyPendingApps:1109 ? Runtime ####... [ERROR] TestContainerAllocation.testAllocationCannotBeBlockedWhenFormerQueueReachedItsLimit:1304 ? Runtime [ERROR] TestContainerAllocation.testAllocationForReservedContainer:485 ? Runtime #####... [ERROR] TestContainerAllocation.testAssignMultipleOffswitchContainers:685 ? Runtime ##... [ERROR] TestContainerAllocation.testContainerRejectionWhenAskBeyondDynamicMax:1364 ? Runtime [ERROR] TestContainerAllocation.testContainerTokenGeneratedOnPullRequest:172 ? Runtime [ERROR] TestContainerAllocation.testContinuousReservationLookingWhenUsedEqualsMax:742 ? Runtime [ERROR] TestContainerAllocation.testExcessReservationThanNodeManagerCapacity:120 ? Runtime [ERROR] TestContainerAllocation.testExcessReservationWillBeUnreserved:386 ? Runtime ##... [ERROR] TestContainerAllocation.testLogAggregationContextPassedIntoContainerToken:240->getLogAggregationContextFromContainerToken:269 ? Runtime [ERROR] TestContainerAllocation.testNormalContainerAllocationWhenDNSUnavailable:201 ? Runtime [ERROR] TestContainerAllocation.testPendingResourcesConsideringUserLimit:810 ? Runtime [ERROR] TestContainerAllocation.testQueuePriorityOrdering:917 ? Runtime ##### submitap... [ERROR] TestContainerAllocation.testReservedContainerMetricsOnDecommisionedNode:597 ? Runtime [ERROR] TestContainerAllocation.testUnreserveWhenClusterResourceHasEmptyResourceType:1207 ? Runtime [ERROR] TestContainerAllocation.testUserLimitAllocationMultipleContainers:1046 ? Runtime [ERROR] TestContainerResizing.testDecreaseContainerWillNotDeadlockContainerAllocation:1049 ? Runtime [ERROR] TestContainerResizing.testExcessiveReservationWhenCancelIncreaseRequest:469 ? Runtime [ERROR] TestContainerResizing.testExcessiveReservationWhenDecreaseSameContainer:591 ? Runtime [ERROR] TestContainerResizing.testIncreaseContainerUnreservedWhenApplicationCompleted:828 ? Runtime [ERROR] TestContainerResizing.testIncreaseContainerUnreservedWhenContainerCompleted:716 ? Runtime [ERROR] TestContainerResizing.testIncreaseRequestWithNoHeadroomLeft:386 ? Runtime ####... [ERROR] TestContainerResizing.testOrderOfIncreaseContainerRequestAllocation:960 ? Runtime [ERROR] TestContainerResizing.testSimpleDecreaseContainer:204 ? Runtime ##### submitap... [ERROR] TestContainerResizing.testSimpleIncreaseContainer:138 ? Runtime ##### submitap... [ERROR] TestContainerResizing.testSimpleIncreaseRequestReservation:277 ? Runtime #####... [ERROR] TestIncreaseAllocationExpirer.testConsecutiveContainerIncreaseAllocationExpiration:271 ? Runtime [ERROR] TestIncreaseAllocationExpirer.testContainerIncreaseAllocationExpiration:187 ? Runtime [ERROR] TestIncreaseAllocationExpirer.testContainerIsRemovedFromAllocationExpirer:95 ? Runtime [ERROR] TestIncreaseAllocationExpirer.testDecreaseAfterIncreaseWithAllocationExpiration:396 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testAMContainerAllocationWillAlwaysBeExclusive:1385 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testContainerAllocateWithComplexLabels:289 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testContainerAllocateWithDefaultQueueLabels:492 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testContainerAllocateWithLabels:392 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testContainerAllocationWithSingleUserLimits:191 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testContainerReservationWithLabels:596 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testNonLabeledResourceRequestGetPreferrenceToNonLabeledNode:1030 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testOrderOfAllocationOnPartitions:1900 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testOrderOfAllocationOnPartitionsWhenAccessibilityIsAll:2094 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testParentQueueMaxCapsAreRespected:2202 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testPreferenceOfNeedyAppsTowardsNodePartitions:877 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testPreferenceOfNeedyPrioritiesUnderSameAppTowardsNodePartitions:971 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testPreferenceOfQueuesTowardsNodePartitions:1156 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testQueueMaxCapacitiesWillNotBeHonoredWhenNotRespectingExclusivity:1480 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testQueueMetricsWithLabels:2307 ? Runtime ###... [ERROR] TestNodeLabelContainerAllocation.testQueueMetricsWithLabelsDisableElasticity:2709 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testQueueMetricsWithLabelsOnDefaultLabelNode:2420 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testQueueMetricsWithMixedLabels:2529 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testQueueUsedCapacitiesUpdate:1676 ? Runtime ... [ERROR] TestNodeLabelContainerAllocation.testQueuesWithoutAccessUsingPartitionedNodes:1313 ? Runtime [ERROR] TestNodeLabelContainerAllocation.testRMContainerLeakInLeafQueue:670 ? Runtime ... [ERROR] TestNodeLabelContainerAllocation.testResourceRequestUpdateNodePartitions:771 ? Runtime [ERROR] TestQueueManagementDynamicEditPolicy.testEditSchedule:63->TestCapacitySchedulerAutoCreatedQueueBase.submitApp:479 ? Runtime [ERROR] TestQueueState.testRecoverDrainingStateAfterRMRestart:239 ? Runtime ##### subm... [ERROR] TestSchedulingRequestContainerAllocation.testInterAppAntiAffinity:312 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testInterAppAntiAffinity:312 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testInterAppCompositeConstraints:606->submitApp:125 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testInterAppCompositeConstraints:606->submitApp:125 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testInterAppConstraintsWithNamespaces:817->submitApp:125 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testInterAppConstraintsWithNamespaces:817->submitApp:125 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testIntraAppAntiAffinityWithMultipleTags:234 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testIntraAppAntiAffinityWithMultipleTags:234 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testIntraAppAntiAffinity:160 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testIntraAppAntiAffinity:160 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testMultiAllocationTagsConstraints:734->submitApp:125 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testMultiAllocationTagsConstraints:734->submitApp:125 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testSchedulingRequestDisabledByDefault:438 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testSchedulingRequestDisabledByDefault:438 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testSchedulingRequestWithNullConstraint:488 ? Runtime [ERROR] TestSchedulingRequestContainerAllocation.testSchedulingRequestWithNullConstraint:488 ? Runtime [ERROR] TestSchedulingRequestContainerAllocationAsync.testFiveThreadsAsyncContainerAllocation:164->testIntraAppAntiAffinityAsync:124 ? Runtime [ERROR] TestSchedulingRequestContainerAllocationAsync.testFiveThreadsAsyncContainerAllocation:164->testIntraAppAntiAffinityAsync:124 ? Runtime [ERROR] TestSchedulingRequestContainerAllocationAsync.testFourThreadsAsyncContainerAllocation:159->testIntraAppAntiAffinityAsync:124 ? Runtime [ERROR] TestSchedulingRequestContainerAllocationAsync.testFourThreadsAsyncContainerAllocation[1] ? OutOfMemory [ERROR] TestSchedulingRequestContainerAllocationAsync.testSingleThreadAsyncContainerAllocation:144->testIntraAppAntiAffinityAsync:124 ? Runtime [ERROR] TestSchedulingRequestContainerAllocationAsync.testSingleThreadAsyncContainerAllocation:144->testIntraAppAntiAffinityAsync:96 ? OutOfMemory [ERROR] TestSchedulingRequestContainerAllocationAsync.testThreeThreadsAsyncContainerAllocation:154->testIntraAppAntiAffinityAsync:124 ? Runtime [ERROR] TestSchedulingRequestContainerAllocationAsync.testThreeThreadsAsyncContainerAllocation:154->testIntraAppAntiAffinityAsync:124 ? Runtime [ERROR] TestSchedulingRequestContainerAllocationAsync.testTwoThreadsAsyncContainerAllocation:149->testIntraAppAntiAffinityAsync:124 ? Runtime [ERROR] TestSchedulingRequestContainerAllocationAsync.testTwoThreadsAsyncContainerAllocation:149->testIntraAppAntiAffinityAsync:124 ? Runtime [ERROR] TestWorkPreservingRMRestartForNodeLabel.testWorkPreservingRestartForNodeLabel:167 ? Runtime [ERROR] TestFSSchedulerConfigurationStore.testFileSystemClose:186 ? OutOfMemory unable... [ERROR] TestPlacementProcessor.testAffinityPlacement:317 ? Runtime ##### submitapp ###... [ERROR] TestPlacementProcessor.testAndOrPlacement:788 ? Runtime ##### submitapp ######... [ERROR] TestPlacementProcessor.testAntiAffinityPlacement:140 ? Runtime ##### submitapp... [ERROR] TestPlacementProcessor.testCardinalityPlacement:256 ? Runtime ##### submitapp ... [ERROR] TestPlacementProcessor.testComplexPlacement:373 ? Runtime ##### submitapp ####... [ERROR] TestPlacementProcessor.testMutualAntiAffinityPlacement:197 ? Runtime ##### sub... [ERROR] TestPlacementProcessor.testNodeCapacityRejection:531 ? Runtime ##### submitapp... [ERROR] TestPlacementProcessor.testPlacementRejection:705 ? Runtime ##### submitapp ##... [ERROR] TestPlacementProcessor.testRePlacementAfterSchedulerRejection:625 ? Runtime ##... [ERROR] TestPlacementProcessor.testSchedulerRejection:452 ? Runtime ##### submitapp ##... [ERROR] TestApplicationMasterServiceWithFS.testQueueLevelContainerAllocationFail:105 ? Runtime [ERROR] TestApplicationMasterServiceWithFS.testQueueLevelContainerAllocationSuccess:130->testFairSchedulerContainerAllocationSuccess:150 ? Runtime [ERROR] TestApplicationMasterServiceWithFS.testSchedulerLevelContainerAllocationSuccess:135->testFairSchedulerContainerAllocationSuccess:150 ? Runtime [ERROR] TestFairScheduler.testRefreshQueuesWhenRMHA:5230 ? Runtime ##### submitapp ###... [ERROR] TestFairSchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##### ... [ERROR] TestFairSchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##### ... [ERROR] TestFairSchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##### ... [ERROR] TestFairSchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##### ... [ERROR] TestFairSchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##### ... [ERROR] TestFairSchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##### ... [ERROR] TestFairSchedulerOvercommit>TestSchedulerOvercommit.setup:132 ? Runtime ##### ... [ERROR] TestFifoScheduler.testAllocateContainerOnNodeWithoutOffSwitchSpecified:665 ? Runtime [ERROR] TestFifoScheduler.testDefaultMinimumAllocation:837->testMinimumAllocation:816 ? Runtime [ERROR] TestFifoScheduler.testFifoScheduling:696 ? Runtime ##### submitapp #########Su... [ERROR] TestFifoScheduler.testNonDefaultMinimumAllocation:850->testMinimumAllocation:816 ? Runtime [ERROR] TestFifoScheduler.testResourceOverCommit:1111 ? Runtime ##### submitapp ######... [ERROR] TestFairOrderingPolicy.testSizeBasedWeightNotAffectAppActivation:191 ? Runtime [ERROR] TestAMRMTokens.testAMRMMasterKeysUpdate:384 ? Runtime ##### submitapp ########... [ERROR] TestAMRMTokens.testAMRMMasterKeysUpdate:384 ? Runtime ##### submitapp ########... [ERROR] TestAMRMTokens.testMasterKeyRollOver:254 ? Runtime ##### submitapp #########Su... [ERROR] TestAMRMTokens.testMasterKeyRollOver:254 ? Runtime ##### submitapp #########Su... [ERROR] TestAMRMTokens.testTokenExpiry:133 ? Runtime ##### submitapp #########Submitap... [ERROR] TestAMRMTokens.testTokenExpiry:133 ? Runtime ##### submitapp #########Submitap... [ERROR] TestClientToAMTokens.testClientToAMTokens:220 ? Runtime ##### submitapp ######... [ERROR] TestClientToAMTokens.testClientToAMTokens:217 ? YarnRuntime java.net.BindExcep... [ERROR] TestClientToAMTokens.testClientTokenRace:447 ? YarnRuntime java.net.BindExcept... [ERROR] TestClientToAMTokens.testClientTokenRace:447 ? YarnRuntime java.net.BindExcept... [ERROR] TestDelegationTokenRenewer.testAppSubmissionWithPreviousToken:1238 ? Runtime #... [ERROR] TestDelegationTokenRenewer.testAppSubmissionWithoutDelegationToken:1174 ? Runtime [ERROR] TestDelegationTokenRenewer.testCancelWithMultipleAppSubmissions:1316 ? Runtime [ERROR] TestDelegationTokenRenewer.testRMRestartWithExpiredToken:1069 ? Runtime ##### ... [ERROR] TestDelegationTokenRenewer.testRenewTokenUsingTokenConfProvidedByApp:1446->submitApp:387 ? Runtime [ERROR] TestDelegationTokenRenewer.testReplaceExpiringDelegationToken:981 ? Runtime ##... [ERROR] TestVolumeProcessor.testInvalidRequest:220 ? Runtime ##### submitapp #########... [ERROR] TestVolumeProcessor.testProvisioningFailures:262 ? Runtime ##### submitapp ###... [ERROR] TestVolumeProcessor.testVolumeProvisioning:159 ? Runtime ##### submitapp #####... [ERROR] TestVolumeProcessor.testVolumeResourceAllocate:305 ? Runtime ##### submitapp #... [ERROR] TestRMWebServiceAppsNodelabel.testAppsFinished:150 ? Runtime ##### submitapp #... [ERROR] TestRMWebServiceAppsNodelabel.testAppsRunning:186 ? Runtime ##### submitapp ##... [ERROR] TestRMWebServicesAppAttempts.testAppAttempts:120 ? Runtime ##### submitapp ###... [ERROR] TestRMWebServicesAppAttempts.testAppAttemptsDefault:179 ? Runtime ##### submit... [ERROR] TestRMWebServicesAppAttempts.testAppAttemptsSlash:168 ? Runtime ##### submitap... [ERROR] TestRMWebServicesAppAttempts.testAppAttemptsXML:347 ? Runtime ##### submitapp ... [ERROR] TestRMWebServicesAppAttempts.testInvalidAppAttemptId:230 ? Runtime ##### submi... [ERROR] TestRMWebServicesAppAttempts.testInvalidAppIdGetAttempts:189 ? Runtime ##### s... [ERROR] TestRMWebServicesAppAttempts.testMultipleAppAttempts:136 ? Runtime ##### submi... [ERROR] TestRMWebServicesAppAttempts.testNonexistAppAttempts:276 ? Runtime ##### submi... [ERROR] TestRMWebServicesAppCustomResourceTypes.testRunningAppJson:157 ? Runtime #####... [ERROR] TestRMWebServicesAppCustomResourceTypes.testRunningAppXml:124 ? Runtime ##### ... [ERROR] TestRMWebServicesApps.testAppStatistics:1348 ? Runtime ##### submitapp #######... [ERROR] TestRMWebServicesApps.testApps:136 ? Runtime ##### submitapp #########Submitap... [ERROR] TestRMWebServicesApps.testAppsDefault:156 ? Runtime ##### submitapp #########S... [ERROR] TestRMWebServicesApps.testAppsQueryAppTypes:998 ? Runtime ##### submitapp ####... [ERROR] TestRMWebServicesApps.testAppsQueryFinalStatus:538 ? Runtime ##### submitapp #... [ERROR] TestRMWebServicesApps.testAppsQueryFinalStatusInvalid:583 ? Runtime ##### subm... [ERROR] TestRMWebServicesApps.testAppsQueryFinalStatusNone:563 ? Runtime ##### submita... [ERROR] TestRMWebServicesApps.testAppsQueryFinishBegin:903 ? Runtime ##### submitapp #... [ERROR] TestRMWebServicesApps.testAppsQueryFinishBeginEnd:968 ? Runtime ##### submitap... [ERROR] TestRMWebServicesApps.testAppsQueryFinishEnd:938 ? Runtime ##### submitapp ###... [ERROR] TestRMWebServicesApps.testAppsQueryLimit:782 ? Runtime ##### submitapp #######... [ERROR] TestRMWebServicesApps.testAppsQueryQueue:651 ? Runtime ##### submitapp #######... [ERROR] TestRMWebServicesApps.testAppsQueryQueueAndStateOneFinishedApp:711 ? Runtime #... [ERROR] TestRMWebServicesApps.testAppsQueryQueueAndStateTwoFinishedApps:675 ? Runtime ... [ERROR] TestRMWebServicesApps.testAppsQueryQueueOneFinishedApp:747 ? Runtime ##### sub... [ERROR] TestRMWebServicesApps.testAppsQueryStartBegin:806 ? Runtime ##### submitapp ##... [ERROR] TestRMWebServicesApps.testAppsQueryStartBeginEnd:876 ? Runtime ##### submitapp... [ERROR] TestRMWebServicesApps.testAppsQueryStartBeginSome:828 ? Runtime ##### submitap... [ERROR] TestRMWebServicesApps.testAppsQueryStartEnd:854 ? Runtime ##### submitapp ####... [ERROR] TestRMWebServicesApps.testAppsQueryState:294 ? Runtime ##### submitapp #######... [ERROR] TestRMWebServicesApps.testAppsQueryStateInvalid:500 ? Runtime ##### submitapp ... [ERROR] TestRMWebServicesApps.testAppsQueryStateNone:441 ? Runtime ##### submitapp ###... [ERROR] TestRMWebServicesApps.testAppsQueryStates:318 ? Runtime ##### submitapp ######... [ERROR] TestRMWebServicesApps.testAppsQueryStatesComma:369 ? Runtime ##### submitapp #... [ERROR] TestRMWebServicesApps.testAppsQueryStatesInvalid:462 ? Runtime ##### submitapp... [ERROR] TestRMWebServicesApps.testAppsQueryStatesNone:420 ? Runtime ##### submitapp ##... [ERROR] TestRMWebServicesApps.testAppsQueryUser:622 ? Runtime ##### submitapp ########... [ERROR] TestRMWebServicesApps.testAppsQueryWithDeselects:1242 ? Runtime ##### submitap... [ERROR] TestRMWebServicesApps.testAppsQueryWithInvaildDeselects:1209 ? Runtime ##### s... [ERROR] TestRMWebServicesApps.testAppsSlash:146 ? Runtime ##### submitapp #########Sub... [ERROR] TestRMWebServicesApps.testAppsXML:171 ? Runtime ##### submitapp #########Submi... [ERROR] TestRMWebServicesApps.testAppsXMLMulti:238 ? Runtime ##### submitapp #########... [ERROR] TestRMWebServicesApps.testInvalidApp:1605 ? Runtime ##### submitapp #########S... [ERROR] TestRMWebServicesApps.testNonexistApp:1649 ? Runtime ##### submitapp #########... [ERROR] TestRMWebServicesApps.testRunningApp:202 ? Runtime ##### submitapp #########Su... [ERROR] TestRMWebServicesApps.testSingleApp:1544 ? Runtime ##### submitapp #########Su... [ERROR] TestRMWebServicesApps.testSingleAppsDefault:1595 ? Runtime ##### submitapp ###... [ERROR] TestRMWebServicesApps.testSingleAppsSlash:1584 ? Runtime ##### submitapp #####... [ERROR] TestRMWebServicesApps.testSingleAppsXML:1705 ? Runtime ##### submitapp #######... [ERROR] TestRMWebServicesApps.testUnmarshalAppInfo:1560 ? Runtime ##### submitapp ####... [ERROR] TestRMWebServicesAppsCustomResourceTypes.testRunningAppsJson:162 ? Runtime ###... [ERROR] TestRMWebServicesAppsCustomResourceTypes.testRunningAppsXml:126 ? Runtime ####... [ERROR] TestRMWebServicesAppsModification.testAppMove:1216 ? Runtime ##### submitapp #... [ERROR] TestRMWebServicesAppsModification.testAppMove:1216 ? Runtime ##### submitapp #... [ERROR] TestRMWebServicesAppsModification.testAppMove:1216 ? Runtime ##### submitapp #... [ERROR] TestRMWebServicesAppsModification.testAppMove:1216 ? Runtime ##### submitapp #... [ERROR] TestRMWebServicesAppsModification.testGetAppQueue:1066 ? Runtime ##### submita... [ERROR] TestRMWebServicesAppsModification.testGetAppQueue:1066 ? Runtime ##### submita... [ERROR] TestRMWebServicesAppsModification.testGetAppQueue:1066 ? Runtime ##### submita... [ERROR] TestRMWebServicesAppsModification.testGetAppQueue:1066 ? Runtime ##### submita... [ERROR] TestRMWebServicesAppsModification.testSingleAppKillInvalidState:477 ? Runtime ... [ERROR] TestRMWebServicesAppsModification.testSingleAppKillInvalidState:477 ? Runtime ... [ERROR] TestRMWebServicesAppsModification.testSingleAppKillInvalidState:477 ? Runtime ... [ERROR] TestRMWebServicesAppsModification.testSingleAppKillInvalidState:477 ? Runtime ... [ERROR] TestRMWebServicesAppsModification.testSingleAppKillUnauthorized:589 ? Runtime ... [ERROR] TestRMWebServicesAppsModification.testSingleAppKillUnauthorized:589 ? Runtime ... [ERROR] TestRMWebServicesAppsModification.testSingleAppKillUnauthorized:589 ? Runtime ... [ERROR] TestRMWebServicesAppsModification.testSingleAppKillUnauthorized:589 ? Runtime ... [ERROR] TestRMWebServicesAppsModification.testSingleAppKill:381 ? Runtime ##### submit... [ERROR] TestRMWebServicesAppsModification.testSingleAppKill:381 ? Runtime ##### submit... [ERROR] TestRMWebServicesAppsModification.testSingleAppKill:381 ? Runtime ##### submit... [ERROR] TestRMWebServicesAppsModification.testSingleAppKill:381 ? Runtime ##### submit... [ERROR] TestRMWebServicesAppsModification.testSingleAppState:349 ? Runtime ##### submi... [ERROR] TestRMWebServicesAppsModification.testSingleAppState:349 ? Runtime ##### submi... [ERROR] TestRMWebServicesAppsModification.testSingleAppState:349 ? Runtime ##### submi... [ERROR] TestRMWebServicesAppsModification.testSingleAppState:349 ? Runtime ##### submi... [ERROR] TestRMWebServicesAppsModification.testUpdateAppPriority:1125 ? Runtime ##### s... [ERROR] TestRMWebServicesAppsModification.testUpdateAppPriority:1125 ? Runtime ##### s... [ERROR] TestRMWebServicesAppsModification.testUpdateAppTimeout:1367 ? Runtime ##### su... [ERROR] TestRMWebServicesAppsModification.testUpdateAppTimeout:1367 ? Runtime ##### su... [ERROR] TestRMWebServicesAppsModification.testUpdateAppTimeout:1367 ? Runtime ##### su... [ERROR] TestRMWebServicesAppsModification.testUpdateAppTimeout:1367 ? Runtime ##### su... [ERROR] TestRMWebServicesCapacitySched.testPerUserResourcesJSON:640 ? Runtime ##### su... [ERROR] TestRMWebServicesCapacitySched.testPerUserResourcesXML:543 ? Runtime ##### sub... [ERROR] TestRMWebServicesContainers.testSignalContainer:112 ? Runtime ##### submitapp ... [ERROR] TestRMWebServicesForCSWithPartitions.testPartitionInSchedulerActivities:282 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities.testActivityJSON:473 ? Runtime ##### subm... [ERROR] TestRMWebServicesSchedulerActivities.testAppActions:1247 ? Runtime ##### submi... [ERROR] TestRMWebServicesSchedulerActivities.testAppActivityJSON:531 ? Runtime ##### s... [ERROR] TestRMWebServicesSchedulerActivities.testAppAssignMultipleContainersPerNodeHeartbeat:593 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities.testAppAssignWithoutAvailableResource:647 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities.testAppFilterByRequestPrioritiesAndAllocationRequestIds:1036 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities.testAppInsufficientResourceDiagnostic:926 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities.testAppLimit:1173 ? Runtime ##### submita... [ERROR] TestRMWebServicesSchedulerActivities.testAppNoNM:689 ? Runtime ##### submitapp... [ERROR] TestRMWebServicesSchedulerActivities.testAppPlacementConstraintDiagnostic:978 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities.testAppReserveNewContainer:728 ? Runtime ... [ERROR] TestRMWebServicesSchedulerActivities.testAppSummary:1355 ? Runtime ##### submi... [ERROR] TestRMWebServicesSchedulerActivities.testAssignMultipleContainersPerNodeHeartbeat:117 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities.testAssignWithoutAvailableResource:181 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities.testInsufficientResourceDiagnostic:794 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities.testNodeSkippedBecauseOfRelaxLocality:1427 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities>TestRMWebServicesCapacitySched.testPerUserResourcesJSON:640 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities>TestRMWebServicesCapacitySched.testPerUserResourcesXML:543 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities.testPlacementConstraintDiagnostic:857 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities.testQueueSkippedBecauseOfHeadroom:1518 ? Runtime [ERROR] TestRMWebServicesSchedulerActivities.testReserveNewContainer:337 ? Runtime ###... [ERROR] TestRMWebServicesSchedulerActivities.testWrongNodeId:277 ? Runtime ##### submi... [ERROR] TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.testAppAssignContainer:267 ? TestTimedOut [ERROR] TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.testAppGroupByDiagnostics:586 ? Runtime [ERROR] TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.testAppInsufficientResourceDiagnostic:421 ? Runtime [ERROR] TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.testAssignContainer:169 ? Runtime [ERROR] TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.testGroupByDiagnostics:500 ? Runtime [ERROR] TestRMWebServicesSchedulerActivitiesWithMultiNodesEnabled.testInsufficientResourceDiagnostic:335 ? Runtime [INFO] [ERROR] Tests run: 2739, Failures: 6, Errors: 615, Skipped: 7 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:21 h [INFO] Finished at: 2019-11-14T00:33:05+00:00 [INFO] Final Memory: 21M/781M [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "parallel-tests" could not be activated because it does not exist. [WARNING] The requested profile "native" could not be activated because it does not exist. [WARNING] The requested profile "yarn-ui" could not be activated because it does not exist. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on project hadoop-yarn-server-resourcemanager: There are test failures. [ERROR] [ERROR] Please refer to /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] ExecutionException Error occurred in starting fork, check output in log [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException Error occurred in starting fork, check output in log [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:511) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:458) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:299) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:247) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1149) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:991) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:837) [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:498) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: Error occurred in starting fork, check output in log [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:623) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$600(ForkStarter.java:116) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter$2.call(ForkStarter.java:445) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter$2.call(ForkStarter.java:421) [ERROR] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [ERROR] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [ERROR] at java.lang.Thread.run(Thread.java:748) [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException