mesos / chronos

Fault tolerant job scheduler for Mesos which handles dependencies and ISO8601 based schedules
http://mesos.github.io/chronos/
Apache License 2.0
4.39k stars 528 forks source link

Build Failure #26

Closed ronaldgames closed 11 years ago

ronaldgames commented 11 years ago

trying to install chronos

...................

Apr 16, 2013 4:14:28 PM com.airbnb.scheduler.jobs.JobScheduler next INFO: Calling next for stream: R4/2012-01-02T00:00:00.000Z/P1D, jobname: job1 Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.223 sec <<< FAILURE! JobScheduler should::A job creates a failed task and then a successful task from a synchronous job(com.airbnb.scheduler.jobs.JobSchedulerIntegrationTest) Time elapsed: 0.214 sec <<< FAILURE! org.specs2.reporter.JUnitReporter$$anon$1: '0' is not equal to '1' expected:<[1]> but was:<[0]> at com.airbnb.scheduler.jobs.JobSchedulerIntegrationTest$$anonfun$1$$anonfun$apply$11.apply(JobSchedulerIntegrationTest.scala:31) at com.airbnb.scheduler.jobs.JobSchedulerIntegrationTest$$anonfun$1$$anonfun$apply$11.apply(JobSchedulerIntegrationTest.scala:14)

Running com.airbnb.scheduler.api.SerDeTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec

Results :

Failed tests: '0' is not equal to '1' expected:<[1]> but was:<[0]>

Tests run: 35, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures.

Please refer to /home/rbernal/airbnb-chronos-8ad3f69/target/surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 55 minutes 49 seconds [INFO] Finished at: Tue Apr 16 16:14:35 UYT 2013 [INFO] Final Memory: 89M/241M [INFO] ------------------------------------------------------------------------

andykram commented 11 years ago

@ronaldgames could you share the output from: mvn -version and java -version

Based on the output you provided, however, it looks like you're running into the OpenJDK 1.6 bug discussed here

ronaldgames commented 11 years ago

sorry, it's my fault, I was using maven2

andykram commented 11 years ago

Ah, that'd do it. I'm going to close this issue, but if you run into any problems using maven3, please feel free to open a new issue.