[Building Sakai] trunk broken for me

Neal Caidin neal.caidin at apereo.org
Fri Sep 13 11:08:01 PDT 2013


Just did an svn upd and then … mvn install -Ppack-demo

Heap big failure. uhmmm.. not a heap failure, I don't think.  Error in the tests.

Sample clip:

 [exec] 
     [exec] testRefresh(org.sakaiproject.search.elasticsearch.ElasticSearchTest)  Time elapsed: 5.451 sec
     [exec] testGetSearchSuggestions(org.sakaiproject.search.elasticsearch.ElasticSearchTest)  Time elapsed: 5.432 sec
     [exec] testSearch(org.sakaiproject.search.elasticsearch.ElasticSearchTest)  Time elapsed: 5.486 sec
     [exec] 
     [exec] Results :
     [exec] 
     [exec] Tests in error: 
     [exec]   testRebuild(org.sakaiproject.search.elasticsearch.ElasticSearchTest): 
     [exec] Boolean cannot be returned by getSiteId()
     [exec] getSiteId() should return String
     [exec] ***
     [exec] If you're unsure why you're getting above error read on.
     [exec] Due to the nature of the syntax above problem might occur because:
     [exec] 1. This exception *might* occur in wrongly written multi-threaded tests.
     [exec]    Please refer to Mockito FAQ on limitations of concurrency testing.
     [exec] 2. A spy is stubbed using when(spy.foo()).then() syntax. It is safer to stub spies - 
     [exec]    - with doReturn|Throw() family of methods. More in javadocs for Mockito.spy() method.
     [exec] 
     [exec] 
     [exec] Tests run: 9, Failures: 0, Errors: 1, Skipped: 0
     [exec] 
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [ERROR] BUILD FAILURE
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] There are test failures.
     [exec] 
     [exec] Please refer to /Users/nealcaidin/dev/trunk2/search/elasticsearch/impl/target/surefire-reports for the individual test results.
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] For more information, run Maven with the -e switch
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] Total time: 7 minutes 53 seconds
     [exec] [INFO] Finished at: Fri Sep 13 13:59:07 EDT 2013
     [exec] [INFO] Final Memory: 266M/554M
     [exec] [INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while executing this line:
/Users/nealcaidin/dev/trunk2/pack/pack-demo/build.xml:62: exec returned: 1

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 minutes 5 seconds
[INFO] Finished at: Fri Sep 13 13:59:10 EDT 2013
[INFO] Final Memory: 32M/554M
[INFO] ---------------------------------



Neal Caidin
Sakai CLE Community Coordinator
neal.caidin at apereo.org
Skype: nealkdin
Twitter: ncaidin









-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130913/8f23c93f/attachment.html 


More information about the sakai-dev mailing list