java.lang.AssertionError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check your pattern declaration or check your assert declaration.


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Hawin Jiang ran into issues running {code} 1. git clone git://github.com/amplab/tachyon.git 2. cd tachyon 3. Set “<hadoop.version>2.7.1</hadoop.version>” instead of <hadoop.version>2.6.0</hadoop.version>” 4. mvn -Dhadoop.version=2.7.1 clean package {code} OS: {{Linux 3.10.0-229.14.1.el7.x86_64 #1 SMP Tue Sep 15 15:05:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux}} Java Version: {{1.8.0_60}} {code} Tests run: 11, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.135 sec <<< FAILURE! changeLocalFilePermissionTest(tachyon.util.io.FileUtilsTest) Time elapsed: 0.049 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertFalse(Assert.java:64) at org.junit.Assert.assertFalse(Assert.java:74) at tachyon.util.io.FileUtilsTest.changeLocalFilePermissionTest(FileUtilsTest.java:51) changeLocalDirPermissionTests(tachyon.util.io.FileUtilsTest) Time elapsed: 0.009 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertFalse(Assert.java:64) at org.junit.Assert.assertFalse(Assert.java:74) at tachyon.util.io.FileUtilsTest.changeLocalDirPermissionTests(FileUtilsTest.java:74) Running tachyon.util.io.PathUtilsTest Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec Running tachyon.util.io.BufferUtilsTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.77 sec Running tachyon.resource.ResourcePoolTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.138 sec Running tachyon.conf.TachyonConfTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Results : Failed tests: FileUtilsTest.changeLocalFilePermissionTest:51 null FileUtilsTest.changeLocalDirPermissionTests:74 null Tests run: 157, Failures: 2, Errors: 0, Skipped: 4 Tests run: 157, Failures: 2, Errors: 0, Skipped: 4 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Tachyon Parent ..................................... SUCCESS [ 4.658 s] [INFO] Tachyon Common ..................................... FAILURE [01:29 min] [INFO] Tachyon Under File System .......................... SKIPPED [INFO] Tachyon Under File System - Local FS ............... SKIPPED [INFO] Tachyon Under File System - HDFS ................... SKIPPED [INFO] Tachyon Under File System - Gluster FS ............. SKIPPED [INFO] Tachyon Under File System - Swift .................. SKIPPED [INFO] Tachyon Under File System - S3 ..................... SKIPPED [INFO] Tachyon Clients .................................... SKIPPED [INFO] Tachyon Clients - Implementation ................... SKIPPED [INFO] Tachyon Clients - Distribution ..................... SKIPPED [INFO] Tachyon Servers .................................... SKIPPED [INFO] Tachyon MiniCluster ................................ SKIPPED [INFO] Tachyon Shell ...................................... SKIPPED [INFO] Tachyon Examples ................................... SKIPPED [INFO] Tachyon Integration Tests .......................... SKIPPED [INFO] Tachyon Integration ................................ SKIPPED [INFO] Tachyon Assemblies ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:34 min [INFO] Finished at: 2015-11-09T03:51:54-05:00 [INFO] Final Memory: 59M/921M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14:test (default-test) on project tachyon-common: There are test failures. [ERROR] [ERROR] Please refer to /data/opt/tachyon/common/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 :tachyon-common {code} See https://groups.google.com/forum/#!topic/tachyon-users/yDqcDm-jc4k for the corresponding google group discussion.
    via by Andrew Audibert,
  • Hawin Jiang ran into issues running {code} 1. git clone git://github.com/amplab/tachyon.git 2. cd tachyon 3. Set “<hadoop.version>2.7.1</hadoop.version>” instead of <hadoop.version>2.6.0</hadoop.version>” 4. mvn -Dhadoop.version=2.7.1 clean package {code} OS: {{Linux 3.10.0-229.14.1.el7.x86_64 #1 SMP Tue Sep 15 15:05:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux}} Java Version: {{1.8.0_60}} {code} Tests run: 11, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.135 sec <<< FAILURE! changeLocalFilePermissionTest(tachyon.util.io.FileUtilsTest) Time elapsed: 0.049 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertFalse(Assert.java:64) at org.junit.Assert.assertFalse(Assert.java:74) at tachyon.util.io.FileUtilsTest.changeLocalFilePermissionTest(FileUtilsTest.java:51) changeLocalDirPermissionTests(tachyon.util.io.FileUtilsTest) Time elapsed: 0.009 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertFalse(Assert.java:64) at org.junit.Assert.assertFalse(Assert.java:74) at tachyon.util.io.FileUtilsTest.changeLocalDirPermissionTests(FileUtilsTest.java:74) Running tachyon.util.io.PathUtilsTest Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec Running tachyon.util.io.BufferUtilsTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.77 sec Running tachyon.resource.ResourcePoolTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.138 sec Running tachyon.conf.TachyonConfTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Results : Failed tests: FileUtilsTest.changeLocalFilePermissionTest:51 null FileUtilsTest.changeLocalDirPermissionTests:74 null Tests run: 157, Failures: 2, Errors: 0, Skipped: 4 Tests run: 157, Failures: 2, Errors: 0, Skipped: 4 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Tachyon Parent ..................................... SUCCESS [ 4.658 s] [INFO] Tachyon Common ..................................... FAILURE [01:29 min] [INFO] Tachyon Under File System .......................... SKIPPED [INFO] Tachyon Under File System - Local FS ............... SKIPPED [INFO] Tachyon Under File System - HDFS ................... SKIPPED [INFO] Tachyon Under File System - Gluster FS ............. SKIPPED [INFO] Tachyon Under File System - Swift .................. SKIPPED [INFO] Tachyon Under File System - S3 ..................... SKIPPED [INFO] Tachyon Clients .................................... SKIPPED [INFO] Tachyon Clients - Implementation ................... SKIPPED [INFO] Tachyon Clients - Distribution ..................... SKIPPED [INFO] Tachyon Servers .................................... SKIPPED [INFO] Tachyon MiniCluster ................................ SKIPPED [INFO] Tachyon Shell ...................................... SKIPPED [INFO] Tachyon Examples ................................... SKIPPED [INFO] Tachyon Integration Tests .......................... SKIPPED [INFO] Tachyon Integration ................................ SKIPPED [INFO] Tachyon Assemblies ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:34 min [INFO] Finished at: 2015-11-09T03:51:54-05:00 [INFO] Final Memory: 59M/921M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14:test (default-test) on project tachyon-common: There are test failures. [ERROR] [ERROR] Please refer to /data/opt/tachyon/common/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 :tachyon-common {code} See https://groups.google.com/forum/#!topic/tachyon-users/yDqcDm-jc4k for the corresponding google group discussion.
    via by Andrew Audibert,
  • mvn test fail
    via by tjj-yhd,
  • Tachyon on Hadoop 2.7.1 build failure
    via by Hawin Jiang,
  • GitHub comment 72#45435954
    via GitHub by Neiko2002
    ,
  • GitHub comment 72#45447174
    via GitHub by Neiko2002
    ,
    • java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertFalse(Assert.java:64) at org.junit.Assert.assertFalse(Assert.java:74) at tachyon.util.io.FileUtilsTest.changeLocalDirPermissionTests(FileUtilsTest.java:74)

    Users with the same issue

    tvrmsmithtvrmsmith
    2 times, last one,
    AxeloAxelo
    6 times, last one,
    pulse00pulse00
    2 times, last one,
    osvzsosvzs
    2 times, last one,
    jf-astjf-ast
    1 times, last one,
    95 more bugmates