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 529 forks source link

Chronos Install fails on Ubuntu 12.04.2 LTS #16

Closed deldrid1 closed 11 years ago

deldrid1 commented 11 years ago

I am attempting to install Chronos on Ubuntu 12.04.2 LTS and so far have been unsuccessful.

I am following the instructions the install Chronos on Amazon Linux instructions with a few minor tweaks (just documenting them here in case they should be incorporated into the README).

First I had to change the command export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/ to export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-i386.

Second, I got errors when trying to make mesos. I found a fix at http://mail-archives.apache.org/mod_mbox/incubator-mesos-dev/201303.mbox/%3CCA+8RcoRzFA7e_PMuFOchnS12AXRe24nWu_WvKHKHroHwqqty1A@mail.gmail.com%3E and had to change line 278 of mesos/src/files/files.cpp from length = std::min(length, sysconf(_SC_PAGE_SIZE) * 16); to length = std::min(length, (ssize_t) sysconf(_SC_PAGE_SIZE) * 16);

I'm at the step where I execute "mvn package". My Maven Version is:

Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk-i386/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-38-generic-pae", arch: "i386", family: "unix"

Below is the truncated output. Any suggestions or bug fixes I can make to get this going?

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 88.866 sec
Running com.airbnb.scheduler.jobs.JobSchedulerIntegrationTest
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:job1
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:1
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler$$anonfun$registerJob$3 apply
INFO: Persisting job:job1
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler addSchedule
INFO: Adding schedule for time:1:00:00 AM UTC
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler iteration
INFO: Checking schedules with time horizon:PT2H
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler next
INFO: Calling next for stream: R5/2012-01-01T00:00:00.000Z/P1D, jobname: job1
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler next
INFO: Task ready for scheduling: 2012-01-01T00:00:00.000Z
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler com$airbnb$scheduler$jobs$JobScheduler$$scheduleStream
INFO: Scheduling:job1
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.TaskManager scheduleDelayedTask
INFO: Scheduling task 'ct:job1:1325376000000:0' with delay: '0'
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler com$airbnb$scheduler$jobs$JobScheduler$$scheduleStream
INFO: Saving updated job:ScheduleBasedJob(R4/2012-01-02T00:00:00.000Z/P1D,job1,CMD,PT2H,0,0,,,2,,,,false)
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler next
INFO: Calling next for stream: R4/2012-01-02T00:00:00.000Z/P1D, jobname: job1
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler iteration
INFO: Checking schedules with time horizon:PT2H
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler next
INFO: Calling next for stream: R4/2012-01-02T00:00:00.000Z/P1D, jobname: job1
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.ScheduledTask call
INFO: Triggering: 'job1'
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.TaskManager removeTaskFutureMapping
INFO: Removing task mapping
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:FOO
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:1
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler$$anonfun$registerJob$3 apply
INFO: Persisting job:FOO
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler addSchedule
INFO: Adding schedule for time:12:05:01 AM UTC
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler iteration
INFO: Checking schedules with time horizon:PT5M
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler next
INFO: Calling next for stream: R/2012-01-01T00:00:00.000Z/PT1M, jobname: FOO
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler run
INFO: Starting run loop for JobScheduler. CurrentTime: 2013-03-25T13:36:59.882Z
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler run
INFO: No longer running.
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.graph.JobGraph getExecutableChildren
INFO: Dependents: []
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.graph.JobGraph getExecutableChildren
INFO: Dependents: []
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler handleFailedTask
WARNING: Task of job: FOO failed.
Mar 25, 2013 9:36:59 AM com.airbnb.scheduler.jobs.JobScheduler handleFailedTask
WARNING: Retrying job: FOO, attempt: 0
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.488 sec
Running com.airbnb.scheduler.jobs.graph.JobGraphSpec
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:A
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:1
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:B
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:2
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:A
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:1
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:B
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:2
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:C
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:3
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:A
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:1
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:A
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:A
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:1
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:A
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:A
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:1
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:B
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:2
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:C
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:3
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:D
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:4
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:A
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:1
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:B
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:2
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:C
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:3
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:D
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:4
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:E
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:5
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph getExecutableChildren
INFO: Dependents: [B,C]
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph getExecutableChildren
INFO: Dependents: [D]
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph getExecutableChildren
INFO: Dependents: [E]
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph getExecutableChildren
INFO: Dependents: [B,C]
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph getExecutableChildren
INFO: Dependents: []
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph getExecutableChildren
INFO: Dependents: [E,D]
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:A
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:1
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:B
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:2
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Adding vertex:C
Mar 25, 2013 9:37:00 AM com.airbnb.scheduler.graph.JobGraph addVertex
WARNING: Current number of vertices:3
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.443 sec
Running com.airbnb.scheduler.jobs.ScheduleStreamSpec
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running com.airbnb.scheduler.jobs.TaskManagerSpec
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running com.airbnb.scheduler.jobs.JobUtilsSpec
09:37:00.951 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:zookeeper.version=3.3.3-1203054, built on 11/17/2011 05:47 GMT
09:37:00.967 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:host.name=deldrid1-VirtualBox
09:37:00.968 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.version=1.6.0_27
09:37:00.968 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Sun Microsystems Inc.
09:37:00.968 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.home=/usr/lib/jvm/java-6-openjdk-i386/jre
09:37:00.968 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.class.path=/home/deldrid1/chronos/target/test-classes:/home/deldrid1/chronos/target/classes:/home/deldrid1/.m2/repository/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.jar:/home/deldrid1/.m2/repository/org/apache/mesos/mesos/0.12.0-SNAPSHOT_JDK1.7/mesos-0.12.0-SNAPSHOT_JDK1.7.jar:/home/deldrid1/.m2/repository/com/google/guava/guava/12.0/guava-12.0.jar:/home/deldrid1/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/home/deldrid1/.m2/repository/com/google/inject/guice/3.0/guice-3.0.jar:/home/deldrid1/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/home/deldrid1/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/home/deldrid1/.m2/repository/com/google/inject/extensions/guice-servlet/3.0/guice-servlet-3.0.jar:/home/deldrid1/.m2/repository/com/google/protobuf/protobuf-java/2.4.1/protobuf-java-2.4.1.jar:/home/deldrid1/.m2/repository/org/joda/joda-convert/1.2/joda-convert-1.2.jar:/home/deldrid1/.m2/repository/joda-time/joda-time/2.1/joda-time-2.1.jar:/home/deldrid1/.m2/repository/com/yammer/dropwizard/dropwizard-core/0.6.1/dropwizard-core-0.6.1.jar:/home/deldrid1/.m2/repository/com/sun/jersey/jersey-core/1.15/jersey-core-1.15.jar:/home/deldrid1/.m2/repository/com/sun/jersey/jersey-server/1.15/jersey-server-1.15.jar:/home/deldrid1/.m2/repository/asm/asm/3.1/asm-3.1.jar:/home/deldrid1/.m2/repository/com/sun/jersey/jersey-servlet/1.15/jersey-servlet-1.15.jar:/home/deldrid1/.m2/repository/com/yammer/metrics/metrics-core/2.2.0/metrics-core-2.2.0.jar:/home/deldrid1/.m2/repository/com/yammer/metrics/metrics-servlet/2.2.0/metrics-servlet-2.2.0.jar:/home/deldrid1/.m2/repository/com/yammer/metrics/metrics-jetty/2.2.0/metrics-jetty-2.2.0.jar:/home/deldrid1/.m2/repository/com/yammer/metrics/metrics-logback/2.2.0/metrics-logback-2.2.0.jar:/home/deldrid1/.m2/repository/com/yammer/metrics/metrics-jersey/2.2.0/metrics-jersey-2.2.0.jar:/home/deldrid1/.m2/repository/com/yammer/metrics/metrics-annotation/2.2.0/metrics-annotation-2.2.0.jar:/home/deldrid1/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.1.1/jackson-databind-2.1.1.jar:/home/deldrid1/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.1.1/jackson-annotations-2.1.1.jar:/home/deldrid1/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.1.1/jackson-core-2.1.1.jar:/home/deldrid1/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.1.1/jackson-jaxrs-json-provider-2.1.1.jar:/home/deldrid1/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.1.1/jackson-module-jaxb-annotations-2.1.1.jar:/home/deldrid1/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.1.1/jackson-dataformat-yaml-2.1.1.jar:/home/deldrid1/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-guava/2.1.1/jackson-datatype-guava-2.1.1.jar:/home/deldrid1/.m2/repository/net/sourceforge/argparse4j/argparse4j/0.2.2/argparse4j-0.2.2.jar:/home/deldrid1/.m2/repository/org/slf4j/slf4j-api/1.7.2/slf4j-api-1.7.2.jar:/home/deldrid1/.m2/repository/org/slf4j/jul-to-slf4j/1.7.2/jul-to-slf4j-1.7.2.jar:/home/deldrid1/.m2/repository/ch/qos/logback/logback-core/1.0.7/logback-core-1.0.7.jar:/home/deldrid1/.m2/repository/ch/qos/logback/logback-classic/1.0.7/logback-classic-1.0.7.jar:/home/deldrid1/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.2/log4j-over-slf4j-1.7.2.jar:/home/deldrid1/.m2/repository/org/eclipse/jetty/jetty-server/8.1.8.v20121106/jetty-server-8.1.8.v20121106.jar:/home/deldrid1/.m2/repository/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar:/home/deldrid1/.m2/repository/org/eclipse/jetty/jetty-continuation/8.1.8.v20121106/jetty-continuation-8.1.8.v20121106.jar:/home/deldrid1/.m2/repository/org/eclipse/jetty/jetty-servlet/8.1.8.v20121106/jetty-servlet-8.1.8.v20121106.jar:/home/deldrid1/.m2/repository/org/eclipse/jetty/jetty-security/8.1.8.v20121106/jetty-security-8.1.8.v20121106.jar:/home/deldrid1/.m2/repository/org/eclipse/jetty/jetty-http/8.1.8.v20121106/jetty-http-8.1.8.v20121106.jar:/home/deldrid1/.m2/repository/org/eclipse/jetty/jetty-io/8.1.8.v20121106/jetty-io-8.1.8.v20121106.jar:/home/deldrid1/.m2/repository/org/eclipse/jetty/jetty-util/8.1.8.v20121106/jetty-util-8.1.8.v20121106.jar:/home/deldrid1/.m2/repository/org/hibernate/hibernate-validator/4.3.0.Final/hibernate-validator-4.3.0.Final.jar:/home/deldrid1/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/home/deldrid1/.m2/repository/org/jboss/logging/jboss-logging/3.1.0.CR2/jboss-logging-3.1.0.CR2.jar:/home/deldrid1/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.1.1/jackson-datatype-joda-2.1.1.jar:/home/deldrid1/.m2/repository/com/yammer/dropwizard/dropwizard-scala_2.9.1/0.6.1/dropwizard-scala_2.9.1-0.6.1.jar:/home/deldrid1/.m2/repository/com/fasterxml/jackson/module/jackson-module-scala/2.1.1/jackson-module-scala-2.1.1.jar:/home/deldrid1/.m2/repository/org/scalastuff/scalabeans/0.3/scalabeans-0.3.jar:/home/deldrid1/.m2/repository/com/thoughtworks/paranamer/paranamer/2.3/paranamer-2.3.jar:/home/deldrid1/.m2/repository/com/yammer/metrics/metrics-scala_2.9.1/2.2.0/metrics-scala_2.9.1-2.2.0.jar:/home/deldrid1/.m2/repository/com/bazaarvoice/dropwizard/dropwizard-configurable-assets-bundle/0.1.9/dropwizard-configurable-assets-bundle-0.1.9.jar:/home/deldrid1/.m2/repository/net/sf/jgrapht/jgrapht/0.8.3/jgrapht-0.8.3.jar:/home/deldrid1/.m2/repository/com/twitter/common/zookeeper/client/0.0.18/client-0.0.18.jar:/home/deldrid1/.m2/repository/com/twitter/common/base/0.0.46/base-0.0.46.jar:/home/deldrid1/.m2/repository/com/twitter/common/util-system-mocks/0.0.35/util-system-mocks-0.0.35.jar:/home/deldrid1/.m2/repository/com/twitter/common/net-util/0.0.38/net-util-0.0.38.jar:/home/deldrid1/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar:/home/deldrid1/.m2/repository/com/twitter/common/quantity/0.0.35/quantity-0.0.35.jar:/home/deldrid1/.m2/repository/org/apache/zookeeper/zookeeper/3.3.4/zookeeper-3.3.4.jar:/home/deldrid1/.m2/repository/log4j/log4j/1.2.15/log4j-1.2.15.jar:/home/deldrid1/.m2/repository/com/twitter/common/zookeeper/candidate/0.0.31/candidate-0.0.31.jar:/home/deldrid1/.m2/repository/com/twitter/common/zookeeper/group/0.0.31/group-0.0.31.jar:/home/deldrid1/.m2/repository/com/twitter/common/util/0.0.61/util-0.0.61.jar:/home/deldrid1/.m2/repository/com/twitter/common/util-executor-service-shutdown/0.0.23/util-executor-service-shutdown-0.0.23.jar:/home/deldrid1/.m2/repository/com/twitter/common/jdk-logging/0.0.23/jdk-logging-0.0.23.jar:/home/deldrid1/.m2/repository/com/twitter/common/stats/0.0.61/stats-0.0.61.jar:/home/deldrid1/.m2/repository/com/twitter/common/stat-registry/0.0.9/stat-registry-0.0.9.jar:/home/deldrid1/.m2/repository/com/twitter/common/stat/0.0.9/stat-0.0.9.jar:/home/deldrid1/.m2/repository/com/twitter/common/stats-provider/0.0.34/stats-provider-0.0.34.jar:/home/deldrid1/.m2/repository/com/twitter/common/application-action/0.0.41/application-action-0.0.41.jar:/home/deldrid1/.m2/repository/com/twitter/common/util-sampler/0.0.31/util-sampler-0.0.31.jar:/home/deldrid1/.m2/repository/com/twitter/common/collections/0.0.42/collections-0.0.42.jar:/home/deldrid1/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/home/deldrid1/.m2/repository/org/apache/commons/commons-email/1.2/commons-email-1.2.jar:/home/deldrid1/.m2/repository/javax/mail/mail/1.4.1/mail-1.4.1.jar:/home/deldrid1/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/deldrid1/.m2/repository/org/apache/commons/commons-math3/3.1.1/commons-math3-3.1.1.jar:/home/deldrid1/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar:/home/deldrid1/.m2/repository/org/mockito/mockito-all/1.9.5/mockito-all-1.9.5.jar:/home/deldrid1/.m2/repository/org/specs2/specs2_2.9.1/1.12.4/specs2_2.9.1-1.12.4.jar:/home/deldrid1/.m2/repository/org/specs2/specs2-scalaz-core_2.9.1/6.0.1/specs2-scalaz-core_2.9.1-6.0.1.jar:/home/deldrid1/.m2/repository/org/apache/maven/plugins/maven-surefire-report-plugin/2.13/maven-surefire-report-plugin-2.13.jar:/home/deldrid1/.m2/repository/org/apache/maven/maven-project/2.0.9/maven-project-2.0.9.jar:/home/deldrid1/.m2/repository/org/apache/maven/maven-settings/2.0.9/maven-settings-2.0.9.jar:/home/deldrid1/.m2/repository/org/apache/maven/maven-profile/2.0.9/maven-profile-2.0.9.jar:/home/deldrid1/.m2/repository/org/apache/maven/maven-artifact-manager/2.0.9/maven-artifact-manager-2.0.9.jar:/home/deldrid1/.m2/repository/org/apache/maven/maven-repository-metadata/2.0.9/maven-repository-metadata-2.0.9.jar:/home/deldrid1/.m2/repository/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar:/home/deldrid1/.m2/repository/org/apache/maven/maven-plugin-registry/2.0.9/maven-plugin-registry-2.0.9.jar:/home/deldrid1/.m2/repository/org/apache/maven/maven-model/2.0.9/maven-model-2.0.9.jar:/home/deldrid1/.m2/repository/org/apache/maven/maven-plugin-api/2.0.9/maven-plugin-api-2.0.9.jar:/home/deldrid1/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar:/home/deldrid1/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.1/maven-reporting-impl-2.1.jar:/home/deldrid1/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar:/home/deldrid1/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/home/deldrid1/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar:/home/deldrid1/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/home/deldrid1/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/home/deldrid1/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1.4/doxia-sink-api-1.1.4.jar:/home/deldrid1/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1.4/doxia-logging-api-1.1.4.jar:/home/deldrid1/.m2/repository/org/apache/maven/doxia/doxia-core/1.1.4/doxia-core-1.1.4.jar:/home/deldrid1/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar:/home/deldrid1/.m2/repository/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2.jar:/home/deldrid1/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar:/home/deldrid1/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1.4/doxia-decoration-model-1.1.4.jar:/home/deldrid1/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1.4/doxia-site-renderer-1.1.4.jar:/home/deldrid1/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1.4/doxia-module-xhtml-1.1.4.jar:/home/deldrid1/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1.4/doxia-module-fml-1.1.4.jar:/home/deldrid1/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar:/home/deldrid1/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.8/plexus-utils-3.0.8.jar:/home/deldrid1/.m2/repository/org/apache/maven/shared/maven-shared-utils/0.2/maven-shared-utils-0.2.jar:/home/deldrid1/.m2/repository/org/mozilla/rhino/1.7R4/rhino-1.7R4.jar:/home/deldrid1/.m2/repository/com/google/javascript/closure-compiler/r2388/closure-compiler-r2388.jar:/home/deldrid1/.m2/repository/args4j/args4j/2.0.16/args4j-2.0.16.jar:/home/deldrid1/.m2/repository/org/json/json/20090211/json-20090211.jar:/home/deldrid1/.m2/repository/org/apache/ant/ant/1.8.2/ant-1.8.2.jar:/home/deldrid1/.m2/repository/org/apache/ant/ant-launcher/1.8.2/ant-launcher-1.8.2.jar:/home/deldrid1/.m2/repository/com/googlecode/jarjar/jarjar/1.1/jarjar-1.1.jar:/home/deldrid1/.m2/repository/org/apache/maven/plugins/maven-checkstyle-plugin/2.9.1/maven-checkstyle-plugin-2.9.1.jar:/home/deldrid1/.m2/repository/org/apache/maven/maven-artifact/2.2.1/maven-artifact-2.2.1.jar:/home/deldrid1/.m2/repository/org/apache/maven/shared/maven-doxia-tools/1.2.1/maven-doxia-tools-1.2.1.jar:/home/deldrid1/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/home/deldrid1/.m2/repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.jar:/home/deldrid1/.m2/repository/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar:/home/deldrid1/.m2/repository/org/codehaus/plexus/plexus-resources/1.0-alpha-7/plexus-resources-1.0-alpha-7.jar:/home/deldrid1/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.13/plexus-interpolation-1.13.jar:/home/deldrid1/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar:/home/deldrid1/.m2/repository/com/puppycrawl/tools/checkstyle/5.5/checkstyle-5.5.jar:/home/deldrid1/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/deldrid1/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.3/commons-beanutils-core-1.8.3.jar:/home/deldrid1/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/home/deldrid1/.m2/repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar:/home/deldrid1/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar:/home/deldrid1/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar:/home/deldrid1/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:
09:37:00.969 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.library.path=/usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386:/usr/lib/jvm/java-6-openjdk-i386/jre/../lib/i386:/usr/java/packages/lib/i386:/usr/lib/i386-linux-gnu/jni:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/usr/lib/jni:/lib:/usr/lib
09:37:00.969 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.io.tmpdir=/tmp
09:37:00.969 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:java.compiler=<NA>
09:37:00.969 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:os.name=Linux
09:37:00.970 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:os.arch=i386
09:37:00.970 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:os.version=3.2.0-38-generic-pae
09:37:00.970 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:user.name=deldrid1
09:37:00.970 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:user.home=/home/deldrid1
09:37:00.975 [specs2.DefaultExecutionStrategy1] INFO  org.apache.zookeeper.ZooKeeper - Client environment:user.dir=/home/deldrid1/chronos
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec

Results :

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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:47.413s
[INFO] Finished at: Mon Mar 25 09:37:02 EDT 2013
[INFO] Final Memory: 15M/52M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.13:test (default-test) on project chronos: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.13:test failed: There was an error in the forked process
[ERROR] org.apache.maven.surefire.testset.TestSetFailedException: java.lang.ArrayIndexOutOfBoundsException: 0; nested exception is java.lang.ArrayIndexOutOfBoundsException: 0
[ERROR] java.lang.ArrayIndexOutOfBoundsException: 0
[ERROR] at org.apache.maven.surefire.report.SmartStackTraceParser.rootIsInclass(SmartStackTraceParser.java:176)
[ERROR] at org.apache.maven.surefire.report.SmartStackTraceParser.getString(SmartStackTraceParser.java:131)
[ERROR] at org.apache.maven.surefire.common.junit4.JUnit4StackTraceWriter.smartTrimmedStackTrace(JUnit4StackTraceWriter.java:73)
[ERROR] at org.apache.maven.surefire.booter.ForkingRunListener.encode(ForkingRunListener.java:328)
[ERROR] at org.apache.maven.surefire.booter.ForkingRunListener.encode(ForkingRunListener.java:312)
[ERROR] at org.apache.maven.surefire.booter.ForkingRunListener.toString(ForkingRunListener.java:258)
[ERROR] at org.apache.maven.surefire.booter.ForkingRunListener.testError(ForkingRunListener.java:131)
[ERROR] at org.apache.maven.surefire.common.junit4.JUnit4RunListener.testFailure(JUnit4RunListener.java:111)
[ERROR] at org.junit.runner.notification.RunNotifier$4.notifyListener(RunNotifier.java:100)
[ERROR] at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:41)
[ERROR] at org.junit.runner.notification.RunNotifier.fireTestFailure(RunNotifier.java:97)
[ERROR] at org.specs2.reporter.JUnitReporter$class.org$specs2$reporter$JUnitReporter$$notifyResult(JUnitReporter.scala:75)
[ERROR] at org.specs2.reporter.JUnitReporter$$anonfun$executeFragment$1.apply(JUnitReporter.scala:55)
[ERROR] at org.specs2.reporter.JUnitReporter$$anonfun$executeFragment$1.apply(JUnitReporter.scala:46)
[ERROR] at org.specs2.reporter.DefaultExecutionStrategy$class.executeWithBarrier$1(ExecutionStrategy.scala:102)
[ERROR] at org.specs2.reporter.DefaultExecutionStrategy$$anonfun$executeConcurrently$1$$anonfun$apply$2.apply(ExecutionStrategy.scala:104)
[ERROR] at org.specs2.reporter.DefaultExecutionStrategy$$anonfun$executeConcurrently$1$$anonfun$apply$2.apply(ExecutionStrategy.scala:104)
[ERROR] at org.specs2.internal.scalaz.concurrent.Promise$Unfulfilled$.fulfill(Promise.scala:100)
[ERROR] at org.specs2.internal.scalaz.concurrent.Promise$Done.eval(Promise.scala:127)
[ERROR] at org.specs2.internal.scalaz.concurrent.Promise$$anonfun$1.apply(Promise.scala:15)
[ERROR] at org.specs2.internal.scalaz.concurrent.Promise$$anonfun$1.apply(Promise.scala:15)
[ERROR] at org.specs2.internal.scalaz.concurrent.Actor$$anonfun$3.apply(Actor.scala:31)
[ERROR] at org.specs2.internal.scalaz.concurrent.Actor$$anonfun$3.apply(Actor.scala:25)
[ERROR] at org.specs2.internal.scalaz.concurrent.Effects$$anon$1$$anonfun$1.apply(Effect.scala:13)
[ERROR] at org.specs2.internal.scalaz.concurrent.Effects$$anon$1$$anonfun$1.apply(Effect.scala:13)
[ERROR] at org.specs2.internal.scalaz.concurrent.Effect$$anonfun$$bang$1.apply$mcV$sp(Effect.scala:8)
[ERROR] at org.specs2.internal.scalaz.concurrent.Effect$$anonfun$$bang$1.apply(Effect.scala:8)
[ERROR] at org.specs2.internal.scalaz.concurrent.Effect$$anonfun$$bang$1.apply(Effect.scala:8)
[ERROR] at org.specs2.internal.scalaz.concurrent.StrategyLow$$anon$3$$anon$4.call(Strategy.scala:35)
[ERROR] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
[ERROR] at java.util.concurrent.FutureTask.run(FutureTask.java:166)
[ERROR] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
[ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[ERROR] at java.lang.Thread.run(Thread.java:679)
[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/PluginExecutionException
deldrid1@deldrid1-VirtualBox:~/chronos$ mvn - version
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building chronos 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.701s
[INFO] Finished at: Mon Mar 25 09:40:52 EDT 2013
[INFO] Final Memory: 2M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "-". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-site, site, post-site, site-deploy, pre-clean, clean, post-clean. -> [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/LifecyclePhaseNotFoundException
andykram commented 11 years ago

@deldrid1 this looks like an issue that people have ran into with OpenJDK 1.6, as mentioned in the README. Can you try installing chronos using OpenJDK 1.7?

deldrid1 commented 11 years ago

Managed to miss that little note. It took a while (I had some things still compiled with 1.6 that 1.7 didn't like) but eventually got it working. Thanks!