[Building Sakai] Sakai 10 Bulding Error

Alberto Oliva alberto.olivamolina at gmail.com
Sat Mar 21 03:14:44 PDT 2015


It's finally installed. After several attempts and several 
configurations, the only one that works was:

     - JDK 1.7.0_76
     - Maven 3.3.1
     - Tomcat 7.0.59
     - Sakai 10.4

The test are still failing, but it works if I skip them.
Thank you a lot for your help and your time.

Alberto Oliva.



El 20/03/2015 a las 21:27, Matthew Jones escribió:
> When I release Sakai 10, I always run it with the regular "mvn clean 
> install", not skipping tests.
>
> So either the tests that are failing are failing randomly and I've 
> been lucky, or they're only failing on an environment that I'm not 
> running on (Linux). I just ran 10.x right now and the tests passed.
>
> I had this random entitybroker failure in a full build with 10.2, but 
> that was fixed in 10.3 
> (https://jira.sakaiproject.org/browse/SAK-27818), which is why I'd 
> commented about the version that was tried. There are possibly also 
> failures with the tests with Java 8, but those failures in the tests 
> will lead to issues at runtime as well.
>
> I can't reproduce the specific one that is mentioned on the SO.
>
> On Fri, Mar 20, 2015 at 4:22 PM, Steve Swinsburg 
> <steve.swinsburg at gmail.com <mailto:steve.swinsburg at gmail.com>> wrote:
>
>     I commented on the SO question, but build Sakai with
>     -Dmaven.test.skip - there appears to be an error in the tests. If
>     you can file a jira that would be good too.
>
>     On Sat, Mar 21, 2015 at 2:36 AM, Alberto Oliva
>     <alberto.olivamolina at gmail.com
>     <mailto:alberto.olivamolina at gmail.com>> wrote:
>
>         I change the JDK version to 1.7.0_76 but the problem persists.
>
>         I try to build the EntityBroker individually(I think is the
>         cause of the problem). And this is the console output.
>
>         Tests run: 54, Failures: 5, Errors: 0, Skipped: 0
>
>         [INFO]
>         ------------------------------------------------------------------------
>         [INFO]
>
>         Reactor Summary:
>         [INFO]
>         [INFO] Sakai Entity Broker ................................
>         SUCCESS [  0.405 s]
>          [INFO] Sakai Entity Broker API ............................
>         SUCCESS [ 3.479 s]
>         [INFO] Sakai Entity Broker Utilities ......................
>         SUCCESS [  1.482 s]
>         [INFO] Sakai Entity Broker Mock Objects ...................
>         SUCCESS [  0.484 s]
>          [INFO] Sakai Entity Broker Implementation .................
>         SUCCESS [  7.316 s]
>         [INFO] Sakai Entity Broker REST Implementation ............
>         FAILURE [ 3.292 s]
>         [INFO] Sakai Entity Broker Tool (Direct Servlet) ..........
>         SKIPPED
>         [INFO] Sakai Entity Broker Components Pack ................
>         SKIPPED
>         [INFO] Sakai Entity Broker Core Providers .................
>         SKIPPED
>
>         [INFO]
>         ------------------------------------------------------------------------
>          [INFO] BUILD FAILURE
>         [INFO]
>         ------------------------------------------------------------------------
>
>          [INFO] Total time: 17.035 s
>         [INFO] Finished at: 2015-03-20T16:30:46+01:00
>         [INFO] Final Memory: 26M/495M
>
>         [INFO]
>         ------------------------------------------------------------------------
>          [ERROR] Failed to execute goal
>         org.apache.maven.plugins:maven-surefire-plugin:2.16:test
>         (default-test) on project entitybroker-resti
>
>
>
>         El 20/03/2015 a las 15:28, Leonardo Canessa escribió:
>>         Use Java JDK 1.7.0_76, there is a known bug in_075.
>>
>>
>>         What are you using to build, as in what's the maven command?
>>
>>         My understanding is that the tests are broken, >_<, so you
>>         should build with the -Dmaven.test.skip=true flag.
>>
>>         Also, why are you using the 10.2 release instead of the 10.4?
>>
>>         Leonardo Canessa
>>         Web Developer - E-Learning
>>         937-229-2085 <tel:937-229-2085>
>>
>>         On Thu, Mar 19, 2015 at 9:45 AM, Alberto Oliva
>>         <alberto.olivamolina at gmail.com
>>         <mailto:alberto.olivamolina at gmail.com>> wrote:
>>
>>             Im trying to install Sakai 10.2 and it gives me an error
>>             every time. I've reinstall everithing, including de OS.
>>             And the error persist.
>>
>>             I'll post all the information here:
>>             http://stackoverflow.com/questions/29105743/sakai-10-bulding-error
>>
>>             I need any help that you can give me.
>>
>>             Thank you.
>>             Alberto Oliva.
>>
>>             _______________________________________________
>>             sakai-dev mailing list
>>             sakai-dev at collab.sakaiproject.org
>>             <mailto:sakai-dev at collab.sakaiproject.org>
>>             http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>>             TO UNSUBSCRIBE: send email to
>>             sakai-dev-unsubscribe at collab.sakaiproject.org
>>             <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org>
>>             with a subject of "unsubscribe"
>>
>>
>
>
>         _______________________________________________
>         sakai-dev mailing list
>         sakai-dev at collab.sakaiproject.org
>         <mailto:sakai-dev at collab.sakaiproject.org>
>         http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
>         TO UNSUBSCRIBE: send email to
>         sakai-dev-unsubscribe at collab.sakaiproject.org
>         <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a
>         subject of "unsubscribe"
>
>
>
>     _______________________________________________
>     sakai-dev mailing list
>     sakai-dev at collab.sakaiproject.org
>     <mailto:sakai-dev at collab.sakaiproject.org>
>     http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
>     TO UNSUBSCRIBE: send email to
>     sakai-dev-unsubscribe at collab.sakaiproject.org
>     <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a
>     subject of "unsubscribe"
>
>

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


More information about the sakai-dev mailing list