Build failed in Hudson: Noop #117

2 views
Skip to first unread message

Hudson

unread,
Dec 4, 2009, 12:52:57 AM12/4/09
to noop...@googlegroups.com, alex...@google.com
See <http://jakeherringbone.com:8080/job/Noop/117/changes>

Changes:

[Alex Eagle <alex...@google.com>] Merge from Jeremie

[Alex Eagle <alex...@google.com>] Fix the TODO: only concrete class definition has parameters.

[Alex Eagle <alex...@google.com>] We now execute a binding from the command line rather than a concrete class. We must add a binding file for even a trivial application, which is annoying. Perhaps we can find a concise way to run these apps which require no user-specified bindings, but no real apps would be like that.

Also refactor the AST so that interface, binding, and concrete class are different types, with class as their common parent.

------------------------------------------
[...truncated 398 lines...]
84 [main] INFO noop.model.LoggingAstVisitor - evaluated an argument
84 [main] INFO noop.model.LoggingAstVisitor - calling method minus
87 [main] INFO noop.model.LoggingAstVisitor - operator
- should evaluate more complex arithmetic
97 [main] INFO noop.model.LoggingAstVisitor - pre-evaluated: null
98 [main] INFO noop.model.LoggingAstVisitor - identifier declared
98 [main] INFO noop.model.LoggingAstVisitor - block
99 [main] INFO noop.model.LoggingAstVisitor - identifier
100 [main] INFO noop.interpreter.InterpreterVisitor - Visiting ID expr: a
100 [main] INFO noop.model.LoggingAstVisitor - Int literal
102 [main] INFO noop.model.LoggingAstVisitor - assignment: a noop.model.IntLiteralExpression@c53
103 [main] INFO noop.model.LoggingAstVisitor - block
- should assign variables
Run completed. Total number of tests run was: 3
All tests passed.
39 [main] INFO noop.interpreter.SourceFileClassLoader - Class /helloWorld/HelloWorld.noop not found in classpath
- should run successfully *** FAILED ***
java.lang.RuntimeException: Wrong srcPath given: examples/noop/helloWorld is not a directory
at noop.interpreter.SourceFileClassLoader$$anonfun$searchInFilesystem$1.apply(SourceFileClassLoader.scala:90)
at noop.interpreter.SourceFileClassLoader$$anonfun$searchInFilesystem$1.apply(SourceFileClassLoader.scala:87)
at scala.List.foreach(List.scala:841)
at noop.interpreter.SourceFileClassLoader.searchInFilesystem(SourceFileClassLoader.scala:87)
at noop.interpreter.SourceFileClassLoader.findClass(SourceFileClassLoader.scala:55)
at noop.interpreter.Interpreter.runApplication(Interpreter.scala:37)
at noop.interpreter.InterpreterMain$.main(InterpreterMain.scala:48)
at noop.interpreter.InterpreterSystemTest$$anonfun$1$$anonfun$apply$1$$anonfun$apply$2.apply(InterpreterSystemTest.scala:31)
at noop.interpreter.InterpreterSystemTest$$anonfun$1$$anonfun$apply$1$$anonfun$apply$2.apply(InterpreterSystemTest.scala:30)
at noop.interpreter.ConsoleTestFixture$class.withRedirectedStandardOut(ConsoleTestFixture.scala:29)
at noop.interpreter.InterpreterSystemTest.withRedirectedStandardOut(InterpreterSystemTest.scala:25)
at noop.interpreter.InterpreterSystemTest$$anonfun$1$$anonfun$apply$1.apply(InterpreterSystemTest.scala:30)
at noop.interpreter.InterpreterSystemTest$$anonfun$1$$anonfun$apply$1.apply(InterpreterSystemTest.scala:30)
at org.scalatest.Spec$class.runTest(Spec.scala:748)
at noop.interpreter.InterpreterSystemTest.runTest(InterpreterSystemTest.scala:25)
at org.scalatest.Spec$$anonfun$org$scalatest$Spec$$runTestsInBranch$1.apply(Spec.scala:694)
at org.scalatest.Spec$$anonfun$org$scalatest$Spec$$runTestsInBranch$1.apply(Spec.scala:678)
at scala.List.foreach(List.scala:841)
at org.scalatest.Spec$class.org$scalatest$Spec$$runTestsInBranch(Spec.scala:677)
at org.scalatest.Spec$$anonfun$org$scalatest$Spec$$runTestsInBranch$1.apply(Spec.scala:698)
at org.scalatest.Spec$$anonfun$org$scalatest$Spec$$runTestsInBranch$1.apply(Spec.scala:678)
at scala.List.foreach(List.scala:841)
at org.scalatest.Spec$class.org$scalatest$Spec$$runTestsInBranch(Spec.scala:677)
at org.scalatest.Spec$class.runTests(Spec.scala:865)
at noop.interpreter.InterpreterSystemTest.runTests(InterpreterSystemTest.scala:25)
at org.scalatest.Suite$class.execute(Suite.scala:1372)
at noop.interpreter.InterpreterSystemTest.execute(InterpreterSystemTest.scala:25)
at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:55)
at org.scalatest.tools.Runner$$anonfun$doRunRunRunADoRunRun$2.apply(Runner.scala:1056)
at org.scalatest.tools.Runner$$anonfun$doRunRunRunADoRunRun$2.apply(Runner.scala:1053)
at scala.List.foreach(List.scala:841)
at org.scalatest.tools.Runner$.doRunRunRunADoRunRun(Runner.scala:1053)
at org.scalatest.tools.Runner$$anonfun$main$2.apply(Runner.scala:437)
at org.scalatest.tools.Runner$$anonfun$main$2.apply(Runner.scala:436)
at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1105)
at org.scalatest.tools.Runner$.main(Runner.scala:435)
at org.scalatest.tools.Runner.main(Runner.scala)
at org.scalatest.tools.ScalaTestTask.execute(ScalaTestTask.java:197)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
- should print an error and exit with error status if no arguments are given
53 [main] INFO noop.interpreter.SourceFileClassLoader - Class /examples/noop/helloworld/HelloWorldBinding.noop not found in classpath
55 [main] INFO noop.interpreter.SourceFileClassLoader - Class /helloWorld/HelloWorld.noop not found in classpath
- should use the working directory as a source root *** FAILED ***
java.lang.RuntimeException: Wrong srcPath given: <http://jakeherringbone.com:8080/job/Noop/ws/helloWorld> is not a directory
at noop.interpreter.SourceFileClassLoader$$anonfun$searchInFilesystem$1.apply(SourceFileClassLoader.scala:90)
at noop.interpreter.SourceFileClassLoader$$anonfun$searchInFilesystem$1.apply(SourceFileClassLoader.scala:87)
at scala.List.foreach(List.scala:841)
at noop.interpreter.SourceFileClassLoader.searchInFilesystem(SourceFileClassLoader.scala:87)
at noop.interpreter.SourceFileClassLoader.findClass(SourceFileClassLoader.scala:55)
at noop.interpreter.Interpreter.runApplication(Interpreter.scala:37)
at noop.interpreter.InterpreterMain$.main(InterpreterMain.scala:48)
at noop.interpreter.InterpreterSystemTest$$anonfun$1$$anonfun$apply$5$$anonfun$apply$6.apply(InterpreterSystemTest.scala:46)
at noop.interpreter.InterpreterSystemTest$$anonfun$1$$anonfun$apply$5$$anonfun$apply$6.apply(InterpreterSystemTest.scala:45)
at noop.interpreter.ConsoleTestFixture$class.withRedirectedStandardOut(ConsoleTestFixture.scala:29)
at noop.interpreter.InterpreterSystemTest.withRedirectedStandardOut(InterpreterSystemTest.scala:25)
at noop.interpreter.InterpreterSystemTest$$anonfun$1$$anonfun$apply$5.apply(InterpreterSystemTest.scala:45)
at noop.interpreter.InterpreterSystemTest$$anonfun$1$$anonfun$apply$5.apply(InterpreterSystemTest.scala:45)
at org.scalatest.Spec$class.runTest(Spec.scala:748)
at noop.interpreter.InterpreterSystemTest.runTest(InterpreterSystemTest.scala:25)
at org.scalatest.Spec$$anonfun$org$scalatest$Spec$$runTestsInBranch$1.apply(Spec.scala:694)
at org.scalatest.Spec$$anonfun$org$scalatest$Spec$$runTestsInBranch$1.apply(Spec.scala:678)
at scala.List.foreach(List.scala:841)
at org.scalatest.Spec$class.org$scalatest$Spec$$runTestsInBranch(Spec.scala:677)
at org.scalatest.Spec$$anonfun$org$scalatest$Spec$$runTestsInBranch$1.apply(Spec.scala:698)
at org.scalatest.Spec$$anonfun$org$scalatest$Spec$$runTestsInBranch$1.apply(Spec.scala:678)
at scala.List.foreach(List.scala:841)
at org.scalatest.Spec$class.org$scalatest$Spec$$runTestsInBranch(Spec.scala:677)
at org.scalatest.Spec$class.runTests(Spec.scala:865)
at noop.interpreter.InterpreterSystemTest.runTests(InterpreterSystemTest.scala:25)
at org.scalatest.Suite$class.execute(Suite.scala:1372)
at noop.interpreter.InterpreterSystemTest.execute(InterpreterSystemTest.scala:25)
at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:55)
at org.scalatest.tools.Runner$$anonfun$doRunRunRunADoRunRun$2.apply(Runner.scala:1056)
at org.scalatest.tools.Runner$$anonfun$doRunRunRunADoRunRun$2.apply(Runner.scala:1053)
at scala.List.foreach(List.scala:841)
at org.scalatest.tools.Runner$.doRunRunRunADoRunRun(Runner.scala:1053)
at org.scalatest.tools.Runner$$anonfun$main$2.apply(Runner.scala:437)
at org.scalatest.tools.Runner$$anonfun$main$2.apply(Runner.scala:436)
at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1105)
at org.scalatest.tools.Runner$.main(Runner.scala:435)
at org.scalatest.tools.Runner.main(Runner.scala)
at org.scalatest.tools.ScalaTestTask.execute(ScalaTestTask.java:197)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
Run completed. Total number of tests run was: 3
*** 2 TESTS FAILED ***
6 [main] INFO noop.model.LoggingAstVisitor - identifier declared
- should visit an identifier declaration and get the initial value from the eval stack
19 [main] INFO noop.model.LoggingAstVisitor - pre-evaluated: Obj
19 [main] INFO noop.model.LoggingAstVisitor - identifier
20 [main] INFO noop.interpreter.InterpreterVisitor - Visiting ID expr: foo
21 [main] INFO noop.model.LoggingAstVisitor - dereference
- should dereference a property from a referenced object
Run completed. Total number of tests run was: 2
All tests passed.
4 [main] INFO noop.model.LoggingAstVisitor - String literal: aString
5 [main] INFO noop.model.LoggingAstVisitor - Entering method call on noSuchMethodSorry
6 [main] INFO noop.model.LoggingAstVisitor - calling method noSuchMethodSorry
- should throw an exception if the method doesn't exist on the type
23 [main] INFO noop.model.LoggingAstVisitor - String literal: aString
24 [main] INFO noop.model.LoggingAstVisitor - Entering method call on length
24 [main] INFO noop.model.LoggingAstVisitor - calling method length
- should evaluate the method body in a new stack frame
35 [main] INFO noop.model.LoggingAstVisitor - String literal: string1
35 [main] INFO noop.model.LoggingAstVisitor - Entering method call on plus
35 [main] INFO noop.model.LoggingAstVisitor - String literal: argumentStr
36 [main] INFO noop.model.LoggingAstVisitor - evaluated an argument
36 [main] INFO noop.model.LoggingAstVisitor - calling method plus
- should evaluate arguments and assign them to local variables indicated by the parameters
45 [main] INFO noop.model.LoggingAstVisitor - String literal: string1
46 [main] INFO noop.model.LoggingAstVisitor - Entering method call on plus
46 [main] INFO noop.model.LoggingAstVisitor - calling method plus
- should throw an exception if the number of arguments don't match the parameter count
54 [main] INFO noop.model.LoggingAstVisitor - String literal: string1
55 [main] INFO noop.model.LoggingAstVisitor - Entering method call on plus
55 [main] INFO noop.model.LoggingAstVisitor - Int literal
56 [main] INFO noop.model.LoggingAstVisitor - evaluated an argument
56 [main] INFO noop.model.LoggingAstVisitor - calling method plus
- should throw an exception if the evaluated argument does not match the type of the parameter
63 [main] INFO noop.model.LoggingAstVisitor - String literal: string1
63 [main] INFO noop.model.LoggingAstVisitor - Entering method call on plus
63 [main] INFO noop.model.LoggingAstVisitor - calling method plus
- should restore the original stack frame when finished even if exception
70 [main] INFO noop.model.LoggingAstVisitor - String literal: string1
71 [main] INFO noop.model.LoggingAstVisitor - Entering method call on plus
71 [main] INFO noop.model.LoggingAstVisitor - evaluated an argument
- should throw an exception if an argument expression returns no value
76 [main] INFO noop.model.LoggingAstVisitor - String literal: hello
79 [main] INFO noop.model.LoggingAstVisitor - identifier
80 [main] INFO noop.interpreter.InterpreterVisitor - Visiting ID expr: this
80 [main] INFO noop.model.LoggingAstVisitor - Entering method call on length
80 [main] INFO noop.model.LoggingAstVisitor - calling method length
- should be aware of the 'this' identifier and dispatch the method on thisRef
Run completed. Total number of tests run was: 8
All tests passed.
3 [main] INFO noop.model.LoggingAstVisitor - String literal: hello
4 [main] INFO noop.model.LoggingAstVisitor - String literal: hello
6 [main] INFO noop.model.LoggingAstVisitor - should
- should be silent if the lefthand side matches an equals matcher
18 [main] INFO noop.model.LoggingAstVisitor - String literal: hello
19 [main] INFO noop.model.LoggingAstVisitor - String literal: goodbye
19 [main] INFO noop.model.LoggingAstVisitor - should
- should throw a test failed exception if an equals matcher is not satisfied
Run completed. Total number of tests run was: 2
All tests passed.
5 [main] INFO noop.interpreter.SourceFileClassLoader - Class //Foo.noop not found in classpath
- should throw an exception if given a non-existent directory
34 [main] INFO noop.interpreter.SourceFileClassLoader - Class //MyClass.noop not found in classpath
- should load a class from a source path
520 [main] INFO noop.interpreter.SourceFileClassLoader - Class /noop/Foo.noop not found in classpath
- should load a class in a namespace
521 [main] INFO noop.interpreter.SourceFileClassLoader - Class /noop/package/Foo.noop not found in classpath
- should load a class in a nested namespace
522 [main] INFO noop.interpreter.SourceFileClassLoader - Class //Foo.noop not found in classpath
- should throw ClassNotFound if the class doesn't exist
- should find all classes in the srcPaths when asked to search
- should locate standard libraries in the classpath
540 [main] INFO noop.interpreter.SourceFileClassLoader - Class /noop/Foo.noop not found in classpath
- should not overwrite an explicit namespace in the file with the relative path
Run completed. Total number of tests run was: 8
All tests passed.
- should find unittests within production classes
7 [main] INFO noop.model.LoggingAstVisitor - Method: should execute me
- should execute a test
Run completed. Total number of tests run was: 2
All tests passed.
- should have a valid class definition parsed from Noop source
- should have a native implementation of the xor method
Run completed. Total number of tests run was: 2
All tests passed.
- should throw NoSuchMethodException on missing native method
Run completed. Total number of tests run was: 1
All tests passed.
- should have a valid class definition parsed from Noop source
- should have a native implementation of the length method
Run completed. Total number of tests run was: 2
All tests passed.
Buildr aborted!
Tests failed!

(See full trace by running task with --trace)
(in <http://jakeherringbone.com:8080/job/Noop/ws/,> development)
Cleaning noop
Building noop
Compiling noop:core into <http://jakeherringbone.com:8080/job/Noop/ws/core/target/classes>
Compiling noop:core:test into <http://jakeherringbone.com:8080/job/Noop/ws/core/target/test/classes>
Running tests in noop:core
ScalaTest "noop.grammar.BindingSpec"
ScalaTest "noop.grammar.BlockSpec"
ScalaTest "noop.grammar.ClassSpec"
ScalaTest "noop.grammar.CommentsSpec"
ScalaTest "noop.grammar.DocumentationSpec"
ScalaTest "noop.grammar.ExpressionsSpec"
ScalaTest "noop.grammar.FileSpec"
ScalaTest "noop.grammar.IfSpec"
ScalaTest "noop.grammar.InterfaceSpec"
ScalaTest "noop.grammar.InterpretableSpec"
ScalaTest "noop.grammar.LiteralsSpec"
ScalaTest "noop.grammar.LoopSpec"
ScalaTest "noop.grammar.MethodsSpec"
ScalaTest "noop.grammar.ParseExamplesTest"
ScalaTest "noop.grammar.ParserSpec"
ScalaTest "noop.grammar.PropertiesSpec"
ScalaTest "noop.grammar.TestSpec"
ScalaTest "noop.grammar.TryCatchSpec"
Packaging noop-core-0.1.0-SNAPSHOT.jar
Compiling noop:interpreter into <http://jakeherringbone.com:8080/job/Noop/ws/interpreter/target/classes>
Compiling noop:compiler:test into <http://jakeherringbone.com:8080/job/Noop/ws/compiler/target/test/classes>
Running tests in noop:compiler
ScalaTest "noop.to.java.JavaSpec"
Compiling noop:interpreter:test into <http://jakeherringbone.com:8080/job/Noop/ws/interpreter/target/test/classes>
Running tests in noop:interpreter
ScalaTest "noop.inject.GuiceBackedInjectorSpec"
ScalaTest "noop.interpreter.BlockScopesSpec"
ScalaTest "noop.interpreter.ConditionalSpec"
ScalaTest "noop.interpreter.ControlStructureSpec"
ScalaTest "noop.interpreter.ExampleIntegrationTest"
ScalaTest "noop.interpreter.IdentifierDeclarationSpec"
ScalaTest "noop.interpreter.InterpreterSpec"
ScalaTest "noop.interpreter.InterpreterSystemTest"
ScalaTest "noop.interpreter.InterpreterVisitorSpec"
ScalaTest "noop.interpreter.MethodInvocationSpec"
ScalaTest "noop.interpreter.ShouldExpressionSpec"
ScalaTest "noop.interpreter.SourceFileClassLoaderSpec"
ScalaTest "noop.interpreter.TestRunnerSpec"
ScalaTest "noop.types.BooleanSpec"
ScalaTest "noop.types.NoopObjectSpec"
ScalaTest "noop.types.StringSpec"
The following tests failed:
noop.interpreter.ExampleIntegrationTest
noop.interpreter.InterpreterSystemTest
Archiving artifacts

Hudson

unread,
Dec 4, 2009, 1:08:29 AM12/4/09
to noop...@googlegroups.com, alex...@google.com
Reply all
Reply to author
Forward
0 new messages