Tue Nov 24 12:11:42 UTC 2020 cd /home/jenkins/jenkins-home/workspace/hadoop-qbt-trunk-java8-linux-x86_64/sourcedir/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router /usr/bin/mvn --batch-mode -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-qbt-trunk-java8-linux-x86_64/yetus-m2/hadoop-trunk-full-1 -Ptest-patch -Pparallel-tests -Pshelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy -Drequire.valgrind -Drequire.zstd -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: 18.04 [INFO] os.detected.release.like.ubuntu: true [INFO] os.detected.release.like.debian: true [INFO] os.detected.classifier: linux-x86_64 [INFO] [INFO] ------------< org.apache.hadoop:hadoop-yarn-server-router >------------- [INFO] Building Apache Hadoop YARN Router 3.4.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hadoop-yarn-server-router --- [INFO] Deleting /home/jenkins/jenkins-home/workspace/hadoop-qbt-trunk-java8-linux-x86_64/sourcedir/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/target [INFO] Deleting /home/jenkins/jenkins-home/workspace/hadoop-qbt-trunk-java8-linux-x86_64/sourcedir/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router (includes = [dependency-reduced-pom.xml], excludes = []) [INFO] [INFO] --- maven-antrun-plugin:1.7:run (create-testdirs) @ hadoop-yarn-server-router --- [INFO] Executing tasks main: [mkdir] Created dir: /home/jenkins/jenkins-home/workspace/hadoop-qbt-trunk-java8-linux-x86_64/sourcedir/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/target/test-dir [INFO] Executed tasks [INFO] [INFO] --- replacer:1.5.3:replace (replace-generated-sources) @ hadoop-yarn-server-router --- [INFO] Skipping [INFO] [INFO] --- replacer:1.5.3:replace (replace-sources) @ hadoop-yarn-server-router --- [INFO] Skipping [INFO] [INFO] --- replacer:1.5.3:replace (replace-guava) @ hadoop-yarn-server-router --- [INFO] Replacement run on 64 files. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hadoop-yarn-server-router --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/jenkins-home/workspace/hadoop-qbt-trunk-java8-linux-x86_64/sourcedir/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hadoop-yarn-server-router --- [INFO] Compiling 39 source files to /home/jenkins/jenkins-home/workspace/hadoop-qbt-trunk-java8-linux-x86_64/sourcedir/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/target/classes [INFO] [INFO] --- replacer:1.5.3:replace (replace-test-sources) @ hadoop-yarn-server-router --- [INFO] Skipping [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hadoop-yarn-server-router --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- replacer:1.5.3:replace (replace-generated-test-sources) @ hadoop-yarn-server-router --- [INFO] Skipping [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hadoop-yarn-server-router --- [INFO] Compiling 25 source files to /home/jenkins/jenkins-home/workspace/hadoop-qbt-trunk-java8-linux-x86_64/sourcedir/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ hadoop-yarn-server-router --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.hadoop.yarn.server.router.rmadmin.TestRouterRMAdminService [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.816 s - in org.apache.hadoop.yarn.server.router.rmadmin.TestRouterRMAdminService [INFO] Running org.apache.hadoop.yarn.server.router.TestRouterMetrics [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.28 s - in org.apache.hadoop.yarn.server.router.TestRouterMetrics [INFO] Running org.apache.hadoop.yarn.server.router.webapp.TestFederationInterceptorRESTRetry [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.849 s - in org.apache.hadoop.yarn.server.router.webapp.TestFederationInterceptorRESTRetry [INFO] Running org.apache.hadoop.yarn.server.router.webapp.TestFederationInterceptorREST [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.711 s - in org.apache.hadoop.yarn.server.router.webapp.TestFederationInterceptorREST [INFO] Running org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServices [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.958 s - in org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServices [INFO] Running org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST [ERROR] Tests run: 42, Failures: 10, Errors: 3, Skipped: 0, Time elapsed: 59.285 s <<< FAILURE! - in org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST [ERROR] testUpdateAppStateXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) Time elapsed: 1.089 s <<< FAILURE! java.lang.AssertionError: expected:<202> but was:<500> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testUpdateAppStateXML(TestRouterWebServicesREST.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.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppQueueXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) Time elapsed: 0.791 s <<< FAILURE! java.lang.AssertionError: expected:<200> but was:<204> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:280) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:274) 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:1899) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.performGetCalls(TestRouterWebServicesREST.java:274) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testAppQueueXML(TestRouterWebServicesREST.java:846) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppTimeoutsXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) Time elapsed: 0.711 s <<< FAILURE! java.lang.AssertionError: expected:<200> but was:<204> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:280) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:274) 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:1899) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.performGetCalls(TestRouterWebServicesREST.java:274) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testAppTimeoutsXML(TestRouterWebServicesREST.java:896) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testGetContainersXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) Time elapsed: 0.342 s <<< ERROR! com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.AppAttemptsInfo, and Java type class org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.AppAttemptsInfo, and MIME media type application/octet-stream was not found at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:630) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.getAppAttempt(TestRouterWebServicesREST.java:1464) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testGetContainersXML(TestRouterWebServicesREST.java:1317) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testUpdateAppPriorityXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) Time elapsed: 0.592 s <<< FAILURE! java.lang.AssertionError: expected:<200> but was:<500> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testUpdateAppPriorityXML(TestRouterWebServicesREST.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] testUpdateAppQueueXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) Time elapsed: 0.605 s <<< FAILURE! java.lang.AssertionError: expected:<200> but was:<500> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testUpdateAppQueueXML(TestRouterWebServicesREST.java:882) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppTimeoutXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) Time elapsed: 0.57 s <<< FAILURE! java.lang.AssertionError: expected:<200> but was:<204> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:280) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:274) 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:1899) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.performGetCalls(TestRouterWebServicesREST.java:274) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testAppTimeoutXML(TestRouterWebServicesREST.java:920) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppAttemptXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) Time elapsed: 0.571 s <<< FAILURE! java.lang.AssertionError: expected:<200> but was:<204> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:280) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:274) 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:1899) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.performGetCalls(TestRouterWebServicesREST.java:274) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testAppAttemptXML(TestRouterWebServicesREST.java:720) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testGetAppAttemptXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) Time elapsed: 0.27 s <<< ERROR! com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.AppAttemptsInfo, and Java type class org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.AppAttemptsInfo, and MIME media type application/octet-stream was not found at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:630) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.getAppAttempt(TestRouterWebServicesREST.java:1464) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testGetAppAttemptXML(TestRouterWebServicesREST.java:1292) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) Time elapsed: 0.671 s <<< FAILURE! java.lang.AssertionError: expected:<200> but was:<204> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:280) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:274) 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:1899) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.performGetCalls(TestRouterWebServicesREST.java:274) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testAppXML(TestRouterWebServicesREST.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) [ERROR] testAppStateXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) Time elapsed: 0.609 s <<< FAILURE! java.lang.AssertionError: expected:<200> but was:<204> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:280) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:274) 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:1899) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.performGetCalls(TestRouterWebServicesREST.java:274) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testAppStateXML(TestRouterWebServicesREST.java:744) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testAppPriorityXML(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) Time elapsed: 0.514 s <<< FAILURE! java.lang.AssertionError: expected:<200> but was:<204> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:280) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST$2.run(TestRouterWebServicesREST.java:274) 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:1899) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.performGetCalls(TestRouterWebServicesREST.java:274) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testAppPriorityXML(TestRouterWebServicesREST.java:796) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) [ERROR] testGetAppsMultiThread(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST) Time elapsed: 0.686 s <<< ERROR! com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.AppAttemptsInfo, and Java type class org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.AppAttemptsInfo, and MIME media type application/octet-stream was not found at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:630) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.getAppAttempt(TestRouterWebServicesREST.java:1464) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testGetContainersXML(TestRouterWebServicesREST.java:1317) at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServicesREST.testGetAppsMultiThread(TestRouterWebServicesREST.java:1337) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.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.router.webapp.TestRouterWebServiceUtil [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.394 s - in org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServiceUtil [INFO] Running org.apache.hadoop.yarn.server.router.clientrm.TestFederationClientInterceptor [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.409 s - in org.apache.hadoop.yarn.server.router.clientrm.TestFederationClientInterceptor [INFO] Running org.apache.hadoop.yarn.server.router.clientrm.TestFederationClientInterceptorRetry [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.085 s - in org.apache.hadoop.yarn.server.router.clientrm.TestFederationClientInterceptorRetry [INFO] Running org.apache.hadoop.yarn.server.router.clientrm.TestRouterClientRMService [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.414 s - in org.apache.hadoop.yarn.server.router.clientrm.TestRouterClientRMService [INFO] Running org.apache.hadoop.yarn.server.router.clientrm.TestRouterYarnClientUtils [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.359 s - in org.apache.hadoop.yarn.server.router.clientrm.TestRouterYarnClientUtils [INFO] Running org.apache.hadoop.yarn.server.router.TestRouter [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.578 s - in org.apache.hadoop.yarn.server.router.TestRouter [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] TestRouterWebServicesREST.testAppAttemptXML:720->performGetCalls:274 expected:<200> but was:<204> [ERROR] TestRouterWebServicesREST.testAppPriorityXML:796->performGetCalls:274 expected:<200> but was:<204> [ERROR] TestRouterWebServicesREST.testAppQueueXML:846->performGetCalls:274 expected:<200> but was:<204> [ERROR] TestRouterWebServicesREST.testAppStateXML:744->performGetCalls:274 expected:<200> but was:<204> [ERROR] TestRouterWebServicesREST.testAppTimeoutXML:920->performGetCalls:274 expected:<200> but was:<204> [ERROR] TestRouterWebServicesREST.testAppTimeoutsXML:896->performGetCalls:274 expected:<200> but was:<204> [ERROR] TestRouterWebServicesREST.testAppXML:696->performGetCalls:274 expected:<200> but was:<204> [ERROR] TestRouterWebServicesREST.testUpdateAppPriorityXML:832 expected:<200> but was:<500> [ERROR] TestRouterWebServicesREST.testUpdateAppQueueXML:882 expected:<200> but was:<500> [ERROR] TestRouterWebServicesREST.testUpdateAppStateXML:782 expected:<202> but was:<500> [ERROR] Errors: [ERROR] TestRouterWebServicesREST.testGetAppAttemptXML:1292->getAppAttempt:1464 » ClientHandler [ERROR] TestRouterWebServicesREST.testGetAppsMultiThread:1337->testGetContainersXML:1317->getAppAttempt:1464 » ClientHandler [ERROR] TestRouterWebServicesREST.testGetContainersXML:1317->getAppAttempt:1464 » ClientHandler [INFO] [ERROR] Tests run: 131, Failures: 10, Errors: 3, Skipped: 0 [INFO] [ERROR] There are test failures. Please refer to /home/jenkins/jenkins-home/workspace/hadoop-qbt-trunk-java8-linux-x86_64/sourcedir/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:30 min [INFO] Finished at: 2020-11-24T12:14:15Z [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "parallel-tests" could not be activated because it does not exist. [WARNING] The requested profile "shelltest" 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.