Github user prabhjyotsingh commented on the pull request:

    https://github.com/apache/incubator-zeppelin/pull/374#issuecomment-154339563
  
    The build is failing with following error
    
            06:21:48,776  INFO org.apache.zeppelin.rest.AbstractTestRestApi:226 
- Test Zeppelin terminated.
        Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.115 
sec <<< FAILURE! - in org.apache.zeppelin.rest.ZeppelinRestApiTest
        org.apache.zeppelin.rest.ZeppelinRestApiTest  Time elapsed: 4.115 sec  
<<< ERROR!
        java.lang.NullPointerException: null
        at 
org.apache.zeppelin.rest.AbstractTestRestApi.startUp(AbstractTestRestApi.java:123)
        at 
org.apache.zeppelin.rest.ZeppelinRestApiTest.init(ZeppelinRestApiTest.java:57)
    
        Running org.apache.zeppelin.security.SecurityUtilsTest
        Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 
sec - in org.apache.zeppelin.security.SecurityUtilsTest
        Running org.apache.zeppelin.server.CorsFilterTest
        Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.29 
sec - in org.apache.zeppelin.server.CorsFilterTest
        06:21:49,112  INFO org.apache.zeppelin.server.ZeppelinServer:112 - 
Shutting down Zeppelin Server ...
        06:21:49,112  INFO org.apache.zeppelin.server.ZeppelinServer:112 - 
Shutting down Zeppelin Server ...
        06:21:49,113  INFO org.apache.zeppelin.server.ZeppelinServer:118 - Bye
        06:21:49,113  INFO org.apache.zeppelin.server.ZeppelinServer:118 - Bye
    
        Results :
    
        Tests in error:
        ZeppelinSparkClusterTest.init:46->AbstractTestRestApi.startUp:123 » 
NullPointer
        ZeppelinRestApiTest.init:57->AbstractTestRestApi.startUp:123 » 
NullPointer
    
        Tests run: 16, Failures: 0, Errors: 2, Skipped: 0
    
        [INFO] 
------------------------------------------------------------------------
        [INFO] Reactor Summary:
        [INFO]
        [INFO] Zeppelin ........................................... SUCCESS [ 
10.558 s]
        [INFO] Zeppelin: Interpreter .............................. SUCCESS 
[01:19 min]
        [INFO] Zeppelin: Zengine .................................. SUCCESS [  
4.987 s]
        [INFO] Zeppelin: Spark dependencies ....................... SUCCESS [ 
32.026 s]
        [INFO] Zeppelin: Spark .................................... SUCCESS 
[01:20 min]
        [INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [  
0.700 s]
        [INFO] Zeppelin: Angular interpreter ...................... SUCCESS [  
0.279 s]
        [INFO] Zeppelin: Shell interpreter ........................ SUCCESS [  
0.356 s]
        [INFO] Zeppelin: Hive interpreter ......................... SUCCESS [  
2.433 s]
        [INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [ 
10.156 s]
        [INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [  
1.127 s]
        [INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [  
1.565 s]
        [INFO] Zeppelin: Flink .................................... SUCCESS [ 
18.759 s]
        [INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [ 
15.523 s]
        [INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [  
0.678 s]
        [INFO] Zeppelin: Lens interpreter ......................... SUCCESS [  
3.232 s]
        [INFO] Zeppelin: Cassandra ................................ SUCCESS [ 
39.078 s]
        [INFO] Zeppelin: web Application .......................... SUCCESS [ 
37.655 s]
        [INFO] Zeppelin: Server ................................... FAILURE [ 
15.121 s]
        [INFO] Zeppelin: Packaging distribution ................... SKIPPED
        [INFO] 
------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] 
------------------------------------------------------------------------
        [INFO] Total time: 05:55 min
        [INFO] Finished at: 2015-11-06T06:21:49+00:00
        [INFO] Final Memory: 66M/362M
        [INFO] 
------------------------------------------------------------------------
        [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on 
project zeppelin-server: There are test failures.
        [ERROR]
        [ERROR] Please refer to 
/home/travis/build/apache/incubator-zeppelin/zeppelin-server/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 :zeppelin-server
        
travis_time:end:1b88a8e0:start=1446790550157092954,finish=1446790909997950807,duration=359840857853
        
        The command "mvn verify -Pusing-packaged-distr -Phadoop-2.3 
-Ppyspark -B" exited with 1.
    
    
    
    My guess is, in AbstractTestRestApi:116 
    ZeppelinServer.notebook.getInterpreterFactory().get() is empty
    any pointers what would have gone wrong ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to