Hello,
I have a build script called from Jenkins that calls "lein clean".
Unfortunately lein stalled when executed from the script whereas it works
fine if I do executed it from the command line.
Leiningen is stalled executing this command:
java
-Xbootclasspath/a:/home/jboss/.m2/repository/org/clojure/clojure/1.2.1/clojure-1.2.1.jar
-client -XX:+TieredCompilation
-Dleiningen.original.pwd=/home/jboss/.jenkins/workspace/Carneades/src/CarneadesEngine
-Dleiningen.trampoline-file=/tmp/lein-trampoline-2614 -cp
:::::test/:src/:resources/:/home/jboss/.lein/self-installs/leiningen-1.7.1-standalone.jar
jline.ConsoleRunner clojure.main -e (use 'leiningen.core)(-main) /dev/null
clean
Strace shows this error:
strace -p 2640
Process 2640 attached - interrupt to quit
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
futex(0xb6cf4bd8, FUTEX_WAIT, 2641, NULLp^C <unfinished ...>
and trying to execute the command from the command line shows this
stacktrace (but here i'm not sure that my escaping of parenthesis and
quote with backslashes is correct)
java
-Xbootclasspath/a:/home/jboss/.m2/repository/org/clojure/clojure/1.2.1/clojure-1.2.1.jar
-client -XX:+TieredCompilation
-Dleiningen.original.pwd=/home/jboss/.jenkins/workspace/Carneades/src/CarneadesEngine
-Dleiningen.trampoline-file=/tmp/lein-trampoline-27012 -cp
:::::test/:src/:resources/:/home/jboss/.lein/self-installs/leiningen-1.7.1-standalone.jar
jline.ConsoleRunner clojure.main -e \(use \'leiningen.core\)\(\-main\) help
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at jline.ConsoleRunner.main(ConsoleRunner.java:69)
Caused by: clojure.lang.LispReader$ReaderException: java.lang.Exception:
EOF while reading
at clojure.lang.LispReader.read(LispReader.java:180)
at clojure.core$read.invoke(core.clj:2884)
at clojure.core$read.invoke(core.clj:2882)
at clojure.main$eval_opt.invoke(main.clj:233)
at clojure.main$initialize.invoke(main.clj:254)
at clojure.main$script_opt.invoke(main.clj:270)
at clojure.main$main.doInvoke(main.clj:354)
at clojure.lang.RestFn.invoke(RestFn.java:457)
at clojure.lang.Var.invoke(Var.java:377)
at clojure.lang.AFn.applyToHelper(AFn.java:172)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.main.main(main.java:37)
... 5 more
Caused by: java.lang.Exception: EOF while reading
at clojure.lang.LispReader.readDelimitedList(LispReader.java:1043)
at clojure.lang.LispReader$ListReader.invoke(LispReader.java:900)
at clojure.lang.LispReader.read(LispReader.java:145)
... 16 more
Any ideas?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en