jenkins woes continue

34 views
Skip to first unread message

Paul Phillips

unread,
May 20, 2013, 10:10:35 AM5/20/13
to scala-i...@googlegroups.com
https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos-per-commit/2445/consoleText

In my experience, this behavior, an immediate transition from everything passing to everything failing:
  [partest] ok  369 - run/t6646.scala                         
  [partest] ok  370 - run/t7106                               
  [partest] ok  371 - run/t2147.scala                         
  [partest] ok  372 - run/t0017.scala                         
  [partest] !!  373 - run/hashCodeBoxesRunTime.scala            [non-zero exit code]
  [partest] !!  374 - run/t5272_1_newpatmat.scala               [compilation failed]
  [partest] !!  375 - run/classtags_contextbound.scala          [compilation failed]
  [partest] !!  376 - run/reify-each-node-type.scala            [compilation failed]
Accompanied by this telltale cause:
Caused by: java.io.FileNotFoundException: /localhome/jenkins/c/workspace/pr-rangepos-per-commit/test/files/run/reify_closure2a-run.log (No such file or directory)
	at java.io.FileOutputStream.openAppend(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:192)
This is something which can happen when two independent test runs are started in the same checkout, because in the absence of a second participant, the log file will always be there. (It could also happen just by something deleting the log file out from under it.)
Any ideas how something along those lines might be happening? Because right now it looks like the tests will never pass for https://github.com/scala/scala/pull/2564 .

Paul Phillips

unread,
May 20, 2013, 10:28:56 AM5/20/13
to scala-i...@googlegroups.com
Here's a fairly serious related issue, which I'm fixing. I don't know how this would explain it in the context of jenkins runs though, since there's no reason it should be receiving the same tests with differently constructed paths. But,

No no partest, that's one test, written three ways!

% test/partest test/files/run/freetypes_false_alarm1.scala \
  ./test/files/run/freetypes_false_alarm1.scala \
  /scala/trunk/test/files/run/freetypes_false_alarm1.scala

Selected 3 tests drawn from specified tests

# starting 3 tests in run
ok 1 - run/freetypes_false_alarm1.scala        
Uncaught exception on thread Thread[main,5,main]: java.lang.RuntimeException: Error running ./test/files/run/freetypes_false_alarm1.scala
java.lang.RuntimeException: Error running ./test/files/run/freetypes_false_alarm1.scala
at scala.tools.partest.nest.RunnerManager.liftedTree1$1(Runner.scala:825)
at scala.tools.partest.nest.RunnerManager.runTest(Runner.scala:823)
at scala.tools.partest.nest.DirectRunner$$anonfun$22$$anonfun$apply$6.apply(Runner.scala:727)
Reply all
Reply to author
Forward
0 new messages