java.lang.AssertionError: null

JIRA | Andrew Audibert | 1 year ago
  1. 0

    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.

    JIRA | 1 year ago | Andrew Audibert
    java.lang.AssertionError: null
  2. 0

    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.

    JIRA | 1 year ago | Andrew Audibert
    java.lang.AssertionError: null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    File locking after .close() on Windows.

    GitHub | 3 years ago | Toilal
    java.lang.AssertionError: null

  1. andyglick 4 times, last 9 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.AssertionError

    null

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertFalse
    1. org.junit.Assert.fail(Assert.java:86)
    2. org.junit.Assert.assertTrue(Assert.java:41)
    3. org.junit.Assert.assertFalse(Assert.java:64)
    4. org.junit.Assert.assertFalse(Assert.java:74)
    4 frames
  3. tachyon.util.io
    FileUtilsTest.changeLocalFilePermissionTest
    1. tachyon.util.io.FileUtilsTest.changeLocalFilePermissionTest(FileUtilsTest.java:51)
    1 frame