See <https://builds.apache.org/job/Hadoop-Hdfs-trunk/2336/changes>
Changes: [lei] HDFS-9004. Add upgrade domain to DatanodeInfo. Contributed by Ming Ma (via Lei (Eddy) Xu). ------------------------------------------ [...truncated 8348 lines...] testAll(org.apache.hadoop.cli.TestDeleteCLI) Time elapsed: 6.512 sec <<< ERROR! java.lang.NoSuchMethodError: org.apache.hadoop.cli.util.CLICommand.getExecutor(Ljava/lang/String;Lorg/apache/hadoop/conf/Configuration;)Lorg/apache/hadoop/cli/util/CommandExecutor; at org.apache.hadoop.cli.TestDeleteCLI.execute(TestDeleteCLI.java:84) testAll(org.apache.hadoop.cli.TestDeleteCLI) Time elapsed: 6.512 sec <<< FAILURE! java.lang.AssertionError: One of the tests failed. See the Detailed results to identify the command that failed at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.apache.hadoop.cli.CLITestHelper.displayResults(CLITestHelper.java:263) at org.apache.hadoop.cli.CLITestHelper.tearDown(CLITestHelper.java:125) at org.apache.hadoop.cli.TestDeleteCLI.tearDown(TestDeleteCLI.java:66) Running org.apache.hadoop.cli.TestXAttrCLI Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 6.862 sec <<< FAILURE! - in org.apache.hadoop.cli.TestXAttrCLI testAll(org.apache.hadoop.cli.TestXAttrCLI) Time elapsed: 6.651 sec <<< ERROR! java.lang.NoSuchMethodError: org.apache.hadoop.cli.util.CLICommand.getExecutor(Ljava/lang/String;Lorg/apache/hadoop/conf/Configuration;)Lorg/apache/hadoop/cli/util/CommandExecutor; at org.apache.hadoop.cli.TestXAttrCLI.execute(TestXAttrCLI.java:90) testAll(org.apache.hadoop.cli.TestXAttrCLI) Time elapsed: 6.652 sec <<< FAILURE! java.lang.AssertionError: One of the tests failed. See the Detailed results to identify the command that failed at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.apache.hadoop.cli.CLITestHelper.displayResults(CLITestHelper.java:263) at org.apache.hadoop.cli.CLITestHelper.tearDown(CLITestHelper.java:125) at org.apache.hadoop.cli.TestXAttrCLI.tearDown(TestXAttrCLI.java:75) Running org.apache.hadoop.cli.TestCacheAdminCLI Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 7.394 sec <<< FAILURE! - in org.apache.hadoop.cli.TestCacheAdminCLI testAll(org.apache.hadoop.cli.TestCacheAdminCLI) Time elapsed: 7.136 sec <<< ERROR! java.lang.NoSuchMethodError: org.apache.hadoop.cli.util.CLICommand.getExecutor(Ljava/lang/String;Lorg/apache/hadoop/conf/Configuration;)Lorg/apache/hadoop/cli/util/CommandExecutor; at org.apache.hadoop.cli.TestCacheAdminCLI.execute(TestCacheAdminCLI.java:134) testAll(org.apache.hadoop.cli.TestCacheAdminCLI) Time elapsed: 7.137 sec <<< FAILURE! java.lang.AssertionError: One of the tests failed. See the Detailed results to identify the command that failed at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.apache.hadoop.cli.CLITestHelper.displayResults(CLITestHelper.java:263) at org.apache.hadoop.cli.CLITestHelper.tearDown(CLITestHelper.java:125) at org.apache.hadoop.cli.TestCacheAdminCLI.tearDown(TestCacheAdminCLI.java:84) Running org.apache.hadoop.TestRefreshCallQueue Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.2 sec - in org.apache.hadoop.TestRefreshCallQueue Running org.apache.hadoop.fs.TestXAttr Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.09 sec - in org.apache.hadoop.fs.TestXAttr Running org.apache.hadoop.fs.TestWebHdfsFileContextMainOperations Tests run: 60, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.652 sec - in org.apache.hadoop.fs.TestWebHdfsFileContextMainOperations Running org.apache.hadoop.fs.TestFcHdfsSetUMask Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.587 sec - in org.apache.hadoop.fs.TestFcHdfsSetUMask Running org.apache.hadoop.fs.contract.hdfs.TestHDFSContractConcat Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.031 sec - in org.apache.hadoop.fs.contract.hdfs.TestHDFSContractConcat Running org.apache.hadoop.fs.contract.hdfs.TestHDFSContractRootDirectory Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.033 sec - in org.apache.hadoop.fs.contract.hdfs.TestHDFSContractRootDirectory Running org.apache.hadoop.fs.contract.hdfs.TestHDFSContractRename Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.165 sec - in org.apache.hadoop.fs.contract.hdfs.TestHDFSContractRename Running org.apache.hadoop.fs.contract.hdfs.TestHDFSContractSetTimes Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.931 sec - in org.apache.hadoop.fs.contract.hdfs.TestHDFSContractSetTimes Running org.apache.hadoop.fs.contract.hdfs.TestHDFSContractOpen Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.799 sec - in org.apache.hadoop.fs.contract.hdfs.TestHDFSContractOpen Running org.apache.hadoop.fs.contract.hdfs.TestHDFSContractAppend Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.174 sec - in org.apache.hadoop.fs.contract.hdfs.TestHDFSContractAppend Running org.apache.hadoop.fs.contract.hdfs.TestHDFSContractCreate Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.047 sec - in org.apache.hadoop.fs.contract.hdfs.TestHDFSContractCreate Running org.apache.hadoop.fs.contract.hdfs.TestHDFSContractGetFileStatus Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.985 sec - in org.apache.hadoop.fs.contract.hdfs.TestHDFSContractGetFileStatus Running org.apache.hadoop.fs.contract.hdfs.TestHDFSContractSeek Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.769 sec - in org.apache.hadoop.fs.contract.hdfs.TestHDFSContractSeek Running org.apache.hadoop.fs.contract.hdfs.TestHDFSContractDelete Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.882 sec - in org.apache.hadoop.fs.contract.hdfs.TestHDFSContractDelete Running org.apache.hadoop.fs.contract.hdfs.TestHDFSContractMkdir Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.977 sec - in org.apache.hadoop.fs.contract.hdfs.TestHDFSContractMkdir Running org.apache.hadoop.fs.TestResolveHdfsSymlink Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.768 sec - in org.apache.hadoop.fs.TestResolveHdfsSymlink Running org.apache.hadoop.fs.TestSymlinkHdfsDisable Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.989 sec - in org.apache.hadoop.fs.TestSymlinkHdfsDisable Running org.apache.hadoop.fs.permission.TestStickyBit Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.611 sec - in org.apache.hadoop.fs.permission.TestStickyBit Running org.apache.hadoop.fs.TestUrlStreamHandler Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.631 sec - in org.apache.hadoop.fs.TestUrlStreamHandler Running org.apache.hadoop.fs.loadGenerator.TestLoadGenerator Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.205 sec - in org.apache.hadoop.fs.loadGenerator.TestLoadGenerator Running org.apache.hadoop.fs.viewfs.TestViewFsWithXAttrs Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.058 sec - in org.apache.hadoop.fs.viewfs.TestViewFsWithXAttrs Running org.apache.hadoop.fs.viewfs.TestViewFsDefaultValue Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.855 sec - in org.apache.hadoop.fs.viewfs.TestViewFsDefaultValue Running org.apache.hadoop.fs.viewfs.TestViewFsHdfs Tests run: 58, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.591 sec - in org.apache.hadoop.fs.viewfs.TestViewFsHdfs Running org.apache.hadoop.fs.viewfs.TestViewFsWithAcls Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.039 sec - in org.apache.hadoop.fs.viewfs.TestViewFsWithAcls Running org.apache.hadoop.fs.viewfs.TestViewFsFileStatusHdfs Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.679 sec - in org.apache.hadoop.fs.viewfs.TestViewFsFileStatusHdfs Running org.apache.hadoop.fs.viewfs.TestViewFileSystemHdfs Tests run: 60, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.591 sec - in org.apache.hadoop.fs.viewfs.TestViewFileSystemHdfs Running org.apache.hadoop.fs.viewfs.TestViewFileSystemWithXAttrs Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.228 sec - in org.apache.hadoop.fs.viewfs.TestViewFileSystemWithXAttrs Running org.apache.hadoop.fs.viewfs.TestViewFileSystemWithAcls Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.044 sec - in org.apache.hadoop.fs.viewfs.TestViewFileSystemWithAcls Running org.apache.hadoop.fs.viewfs.TestViewFileSystemAtHdfsRoot Tests run: 60, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.993 sec - in org.apache.hadoop.fs.viewfs.TestViewFileSystemAtHdfsRoot Running org.apache.hadoop.fs.viewfs.TestViewFsAtHdfsRoot Tests run: 58, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.295 sec - in org.apache.hadoop.fs.viewfs.TestViewFsAtHdfsRoot Running org.apache.hadoop.fs.TestHDFSFileContextMainOperations Tests run: 68, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.744 sec - in org.apache.hadoop.fs.TestHDFSFileContextMainOperations Running org.apache.hadoop.fs.TestUrlStreamHandlerFactory Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.808 sec - in org.apache.hadoop.fs.TestUrlStreamHandlerFactory Running org.apache.hadoop.fs.TestSymlinkHdfsFileContext Tests run: 71, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.101 sec - in org.apache.hadoop.fs.TestSymlinkHdfsFileContext Running org.apache.hadoop.fs.TestGlobPaths Tests run: 36, Failures: 0, Errors: 0, Skipped: 6, Time elapsed: 6.509 sec - in org.apache.hadoop.fs.TestGlobPaths Running org.apache.hadoop.fs.TestSymlinkHdfsFileSystem Tests run: 74, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 10.766 sec - in org.apache.hadoop.fs.TestSymlinkHdfsFileSystem Running org.apache.hadoop.fs.shell.TestHdfsTextCommand Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.367 sec - in org.apache.hadoop.fs.shell.TestHdfsTextCommand Running org.apache.hadoop.fs.TestSWebHdfsFileContextMainOperations Tests run: 60, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.899 sec - in org.apache.hadoop.fs.TestSWebHdfsFileContextMainOperations Running org.apache.hadoop.fs.TestHdfsNativeCodeLoader Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.198 sec - in org.apache.hadoop.fs.TestHdfsNativeCodeLoader Running org.apache.hadoop.fs.TestFcHdfsPermission Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.694 sec - in org.apache.hadoop.fs.TestFcHdfsPermission Running org.apache.hadoop.fs.TestEnhancedByteBufferAccess Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 20.384 sec - in org.apache.hadoop.fs.TestEnhancedByteBufferAccess Running org.apache.hadoop.fs.TestFcHdfsCreateMkdir Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.489 sec - in org.apache.hadoop.fs.TestFcHdfsCreateMkdir Running org.apache.hadoop.fs.TestUnbuffer Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.729 sec - in org.apache.hadoop.fs.TestUnbuffer Results : Failed tests: TestRollingUpgrade.testCheckpointWithMultipleNN:565->testCheckpoint:601 Test resulted in an unexpected exit TestRollingUpgrade.testDFSAdminRollingUpgradeCommands:101->checkMxBeanIsNull:293 expected null, but was:<javax.management.openmbean.CompositeDataSupport(compositeType=javax.management.openmbean.CompositeType(name=org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo$Bean,items=((itemName=blockPoolId,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),(itemName=createdRollbackImages,itemType=javax.management.openmbean.SimpleType(name=java.lang.Boolean)),(itemName=finalizeTime,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),(itemName=startTime,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)))),contents={blockPoolId=BP-1438387066-67.195.81.153-1442723549178, createdRollbackImages=true, finalizeTime=0, startTime=1442723551375})> TestRollingUpgrade.testQuery:483->testQuery:527 Test resulted in an unexpected exit TestRollingUpgrade.testRollback:349 Test resulted in an unexpected exit TestHDFSCLI.tearDown:85->CLITestHelper.tearDown:125->CLITestHelper.displayResults:263 One of the tests failed. See the Detailed results to identify the command that failed TestCryptoAdminCLI.tearDown:94->CLITestHelper.tearDown:125->CLITestHelper.displayResults:263 One of the tests failed. See the Detailed results to identify the command that failed TestAclCLI.tearDown:49->CLITestHelper.tearDown:125->CLITestHelper.displayResults:263 One of the tests failed. See the Detailed results to identify the command that failed TestDeleteCLI.tearDown:66->CLITestHelper.tearDown:125->CLITestHelper.displayResults:263 One of the tests failed. See the Detailed results to identify the command that failed TestXAttrCLI.tearDown:75->CLITestHelper.tearDown:125->CLITestHelper.displayResults:263 One of the tests failed. See the Detailed results to identify the command that failed TestCacheAdminCLI.tearDown:84->CLITestHelper.tearDown:125->CLITestHelper.displayResults:263 One of the tests failed. See the Detailed results to identify the command that failed Tests in error: TestFsDatasetCache.testPageRounder:472 » test timed out after 60000 milliseco... TestDFSUpgradeWithHA.testFinalizeWithJournalNodes:398 » IllegalArgument Unable... TestDFSUpgradeWithHA.testFinalizeFromSecondNameNodeWithJournalNodes:467 » IllegalArgument TestDFSUpgradeWithHA.testRollbackWithNfs:556 » IO Problem in starting http ser... TestDFSUpgradeWithHA.testStartingWithUpgradeInProgressSucceeds:526 » IO Proble... TestDFSUpgradeWithHA.testNfsUpgrade:238 » IO Problem in starting http server. ... TestDFSUpgradeWithHA.testUpgradeWithJournalNodes:323 » IllegalArgument Unable ... TestDFSUpgradeWithHA.testRollbackWithJournalNodes:631 » IllegalArgument Unable... TestDFSUpgradeWithHA.testCannotUpgradeSecondNameNode:714 » IO Problem in start... TestDFSUpgradeWithHA.testCannotFinalizeIfNoActive:156 » IO Problem in starting... TestFailureToReadEdits.testFailuretoReadEdits:158 » NoClassDefFound org/apache... TestFailureToReadEdits.testFailureToReadEditsOnTransitionToActive:296 NoClassDefFound TestFailureToReadEdits.setUpCluster:117 » NoClassDefFound org/apache/hadoop/ut... TestFailureToReadEdits.setUpCluster:117 » NoClassDefFound org/apache/hadoop/ut... TestFailureToReadEdits.setUpCluster:117 » NoClassDefFound org/apache/hadoop/ut... TestHDFSCLI.testAll:104->CLITestHelper.testAll:319->execute:98 NoSuchMethod or... TestCryptoAdminCLI.testAll:169->CLITestHelper.testAll:319->execute:163 NoSuchMethod TestAclCLI.testAll:82->CLITestHelper.testAll:319->execute:76 NoSuchMethod org.... TestDeleteCLI.testAll:90->CLITestHelper.testAll:319->execute:84 NoSuchMethod o... TestXAttrCLI.testAll:96->CLITestHelper.testAll:319->execute:90 NoSuchMethod or... TestCacheAdminCLI.testAll:140->CLITestHelper.testAll:319->execute:134 NoSuchMethod Tests run: 3687, Failures: 10, Errors: 21, Skipped: 16 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Apache Hadoop HttpFS [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Apache Hadoop HDFS BookKeeper Journal [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Apache Hadoop HDFS-NFS [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Hadoop HDFS Project 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hadoop-hdfs-project --- [INFO] Deleting <https://builds.apache.org/job/Hadoop-Hdfs-trunk/ws/hadoop-hdfs-project/target> [INFO] [INFO] --- maven-antrun-plugin:1.7:run (create-testdirs) @ hadoop-hdfs-project --- [INFO] Executing tasks main: [mkdir] Created dir: <https://builds.apache.org/job/Hadoop-Hdfs-trunk/ws/hadoop-hdfs-project/target/test-dir> [INFO] Executed tasks [INFO] [INFO] --- maven-source-plugin:2.3:jar-no-fork (hadoop-java-sources) @ hadoop-hdfs-project --- [INFO] [INFO] --- maven-source-plugin:2.3:test-jar-no-fork (hadoop-java-sources) @ hadoop-hdfs-project --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (dist-enforce) @ hadoop-hdfs-project --- [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ hadoop-hdfs-project --- [INFO] [INFO] --- maven-javadoc-plugin:2.8.1:jar (module-javadocs) @ hadoop-hdfs-project --- [INFO] Skipping javadoc generation [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (depcheck) @ hadoop-hdfs-project --- [INFO] [INFO] --- maven-checkstyle-plugin:2.15:checkstyle (default-cli) @ hadoop-hdfs-project --- [INFO] [INFO] --- findbugs-maven-plugin:3.0.0:findbugs (default-cli) @ hadoop-hdfs-project --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Hadoop HDFS Client ......................... SUCCESS [03:19 min] [INFO] Apache Hadoop HDFS ................................ FAILURE [ 03:07 h] [INFO] Apache Hadoop HttpFS .............................. SKIPPED [INFO] Apache Hadoop HDFS BookKeeper Journal ............. SKIPPED [INFO] Apache Hadoop HDFS-NFS ............................ SKIPPED [INFO] Apache Hadoop HDFS Project ........................ SUCCESS [ 0.059 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:10 h [INFO] Finished at: 2015-09-20T04:59:13+00:00 [INFO] Final Memory: 55M/719M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project hadoop-hdfs: There are test failures. [ERROR] [ERROR] Please refer to <https://builds.apache.org/job/Hadoop-Hdfs-trunk/ws/hadoop-hdfs-project/hadoop-hdfs/target/surefire-reports> for the individual test results. [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hadoop-hdfs Build step 'Execute shell' marked build as failure Archiving artifacts Sending artifact delta relative to Hadoop-Hdfs-trunk #2322 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 4572385 bytes Compression is 0.0% Took 2.1 sec Recording test results Updating HDFS-9004