Sigh, well, unfortunately looks like the jenkins server doesn't include
eunit, it must be running a very old version of erlang.  Anyway, I commented
out the call to rebar eunit in the lib/erl/Makefile.am.  If you want to run
the unit tests you can just run ./rebar eunit in lib/erl.

Any idea how hard it would be to update erlang on the box running these tests?

-Anthony

On Tue, Jun 21, 2011 at 10:45:13AM +0000, Apache Jenkins Server wrote:
> See <https://builds.apache.org/job/Thrift/169/changes>
> 
> Changes:
> 
> [molinaro] THRIFT-892 - refactor erlang library to build using rebar, move 
> tests into lib/erl/test directory and run several via make check
> 
> [roger] THRIFT-1202 Malformed JSON for map<string,type> services parameters
> fix broken build (add testcase to haskell test suite)
> 
> ------------------------------------------
> [...truncated 1872 lines...]
> 
> setup.init:
> 
> mvn.ant.tasks.check:
> 
> mvn.ant.tasks.download:
>       [get] Getting: 
> http://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
>       [get] To: 
> <https://builds.apache.org/job/Thrift/ws/thrift/lib/java/build/tools/maven-ant-tasks-2.1.3.jar>
>       [get] Not modified - so not downloaded
> 
> mvn.init:
> [artifact:dependencies] [WARNING] Overriding profile: 
> 'maven-ant-tasks-repo-profile' (source: pom) with new instance from source: 
> pom
> 
> init:
> 
> compile:
> 
> dist:
> 
> BUILD SUCCESSFUL
> Total time: 3 seconds
> /usr/bin/ant  test
> Buildfile: <https://builds.apache.org/job/Thrift/ws/thrift/lib/java/build.xml>
> 
> generate:
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:41]
>  64-bit constant "10000000000" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:169]
>  64-bit constant "1099511627775" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:179]
>  64-bit constant "4294967295" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:179]
>  64-bit constant "1099511627775" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:179]
>  64-bit constant "281474976710655" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:179]
>  64-bit constant "72057594037927935" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:179]
>  64-bit constant "9223372036854775807" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:188]
>  64-bit constant "4294967295" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:188]
>  64-bit constant "1099511627775" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:188]
>  64-bit constant "281474976710655" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:188]
>  64-bit constant "72057594037927935" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:188]
>  64-bit constant "9223372036854775807" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:197]
>  64-bit constant "9223372036854775807" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:204]
>  64-bit constant "9223372036854775807" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:41]
>  64-bit constant "10000000000" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:169]
>  64-bit constant "1099511627775" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:179]
>  64-bit constant "4294967295" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:179]
>  64-bit constant "1099511627775" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:179]
>  64-bit constant "281474976710655" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:179]
>  64-bit constant "72057594037927935" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:179]
>  64-bit constant "9223372036854775807" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:188]
>  64-bit constant "4294967295" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:188]
>  64-bit constant "1099511627775" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:188]
>  64-bit constant "281474976710655" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:188]
>  64-bit constant "72057594037927935" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:188]
>  64-bit constant "9223372036854775807" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:197]
>  64-bit constant "9223372036854775807" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:204]
>  64-bit constant "9223372036854775807" may not work in all languages.
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/JavaBeansTest.thrift>:38]
>  No field key specified for blah, resulting protocol may have conflicts or 
> not be backwards compatible!
>      [exec] 
>      [exec] 
> [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/JavaBeansTest.thrift>:38]
>  No field key specified for blah, resulting protocol may have conflicts or 
> not be backwards compatible!
>      [exec] 
> 
> setup.init:
> 
> mvn.ant.tasks.check:
> 
> mvn.ant.tasks.download:
>       [get] Getting: 
> http://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
>       [get] To: 
> <https://builds.apache.org/job/Thrift/ws/thrift/lib/java/build/tools/maven-ant-tasks-2.1.3.jar>
>       [get] Not modified - so not downloaded
> 
> mvn.init:
> [artifact:dependencies] [WARNING] Overriding profile: 
> 'maven-ant-tasks-repo-profile' (source: pom) with new instance from source: 
> pom
> 
> init:
> 
> compile:
> 
> dist:
> 
> compile-test:
>     [javac] Compiling 57 source files to 
> <https://builds.apache.org/job/Thrift/ws/thrift/lib/java/build/test>
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] Compiling 2 source files to 
> <https://builds.apache.org/job/Thrift/ws/thrift/lib/java/build/test>
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] Compiling 36 source files to 
> <https://builds.apache.org/job/Thrift/ws/thrift/lib/java/build/test>
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>      [copy] Copying 1 file to 
> <https://builds.apache.org/job/Thrift/ws/thrift/lib/java/build/test>
>       [jar] Building jar: 
> <https://builds.apache.org/job/Thrift/169/artifact/thrift/lib/java/build/libthrift-0.7.0-snapshot-test.jar>
> 
> junit-test:
>     [mkdir] Created dir: 
> <https://builds.apache.org/job/Thrift/ws/thrift/lib/java/build/test/log>
>     [junit] Running org.apache.thrift.TestShortStack
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
>     [junit] Running org.apache.thrift.TestStruct
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.14 sec
>     [junit] Running org.apache.thrift.TestTBaseHelper
>     [junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 0.022 sec
>     [junit] Running org.apache.thrift.TestTDeserializer
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.13 sec
>     [junit] Running org.apache.thrift.TestTEnumHelper
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.014 sec
>     [junit] Running org.apache.thrift.TestTUnion
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.11 sec
>     [junit] Running org.apache.thrift.async.TestTAsyncClient
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.072 sec
>     [junit] Running org.apache.thrift.async.TestTAsyncClientManager
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 4.878 sec
>     [junit] Running org.apache.thrift.protocol.TestTBinaryProtocol
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.123 sec
>     [junit] Running org.apache.thrift.protocol.TestTCompactProtocol
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.123 sec
>     [junit] Running org.apache.thrift.protocol.TestTJSONProtocol
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.17 sec
>     [junit] Running org.apache.thrift.protocol.TestTProtocolUtil
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.074 sec
>     [junit] Running org.apache.thrift.server.TestHsHaServer
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.148 sec
>     [junit] Running org.apache.thrift.transport.TestAutoExpandingBuffer
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.013 sec
>     [junit] Running 
> org.apache.thrift.transport.TestAutoExpandingBufferReadTransport
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
>     [junit] Running 
> org.apache.thrift.transport.TestAutoExpandingBufferWriteTransport
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
>     [junit] Running org.apache.thrift.transport.TestTFastFramedTransport
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
>     [junit] Running org.apache.thrift.transport.TestTFramedTransport
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.06 sec
>     [junit] Running org.apache.thrift.transport.TestTMemoryInputTransport
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.014 sec
>     [junit] Running org.apache.thrift.transport.TestTSSLTransportFactory
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.203 sec
>     [junit] Running org.apache.thrift.transport.TestTSaslTransports
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 12.609 sec
> 
> deprecated-test:
> 
> test:
> 
> BUILD SUCCESSFUL
> Total time: 51 seconds
> make[3]: Leaving directory 
> `<https://builds.apache.org/job/Thrift/ws/thrift/lib/java'>
> make[2]: Leaving directory 
> `<https://builds.apache.org/job/Thrift/ws/thrift/lib/java'>
> Making check in js/test
> make[2]: Entering directory 
> `<https://builds.apache.org/job/Thrift/ws/thrift/lib/js/test'>
> make  check-local
> make[3]: Entering directory 
> `<https://builds.apache.org/job/Thrift/ws/thrift/lib/js/test'>
> /usr/bin/ant  test
> Buildfile: 
> <https://builds.apache.org/job/Thrift/ws/thrift/lib/js/test/build.xml>
> 
> dependencies:
> 
> init:
>     [mkdir] Created dir: 
> <https://builds.apache.org/job/Thrift/ws/thrift/lib/js/test/build>
>     [mkdir] Created dir: 
> <https://builds.apache.org/job/Thrift/ws/thrift/lib/js/test/build/lib>
> 
> generate:
> 
> resolve:
>      [copy] Copying 8 files to 
> <https://builds.apache.org/job/Thrift/ws/thrift/lib/js/test/build/lib>
> 
> check-gjslint:
>      [echo] check if gjslint is available:
>      [exec] Execute failed: java.io.IOException: Cannot run program 
> "gjslint": java.io.IOException: error=2, No such file or directory
> 
> gjslint:
> 
> jslint:
> 
> lint:
> 
> test:
> 
> BUILD SUCCESSFUL
> Total time: 5 seconds
> make[3]: Leaving directory 
> `<https://builds.apache.org/job/Thrift/ws/thrift/lib/js/test'>
> make[2]: Leaving directory 
> `<https://builds.apache.org/job/Thrift/ws/thrift/lib/js/test'>
> Making check in py
> make[2]: Entering directory 
> `<https://builds.apache.org/job/Thrift/ws/thrift/lib/py'>
> /usr/bin/python setup.py build
> running build
> running build_py
> running build_ext
> make  check-local
> make[3]: Entering directory 
> `<https://builds.apache.org/job/Thrift/ws/thrift/lib/py'>
> /usr/bin/python setup.py build
> running build
> running build_py
> running build_ext
> make[3]: Leaving directory 
> `<https://builds.apache.org/job/Thrift/ws/thrift/lib/py'>
> make[2]: Leaving directory 
> `<https://builds.apache.org/job/Thrift/ws/thrift/lib/py'>
> Making check in erl
> make[2]: Entering directory 
> `<https://builds.apache.org/job/Thrift/ws/thrift/lib/erl'>
> ./rebar eunit
> ==> erl (eunit)
> Compiled src/thrift_service.erl
> Compiled src/thrift_transport.erl
> Compiled src/thrift_protocol.erl
> Compiled test/smallTest_types.erl
> Compiled test/denseLinkingTest_types.erl
> Compiled test/emptyService_thrift.erl
> Compiled test/service_thrift.erl
> Compiled test/optionalRequiredTest_types.erl
> Compiled test/javaBeansTest_types.erl
> Compiled test/secondService_thrift.erl
> Compiled test/manyTypedefs_types.erl
> Compiled test/annotationTest_types.erl
> Compiled test/stress_server.erl
> Compiled test/test_server.erl
> Compiled test/inherited_thrift.erl
> Compiled test/thriftTest_thrift.erl
> Compiled test/srv_thrift.erl
> test/test_thrift_1151.erl:6: can't find include lib "eunit/include/eunit.hrl"
> test/test_thrift_1151.erl:12: undefined macro 'assertException'
> test/test_thrift_1151.erl:20: undefined macro 'assertException'
> make[2]: *** [check] Error 1
> make[2]: Leaving directory 
> `<https://builds.apache.org/job/Thrift/ws/thrift/lib/erl'>
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory 
> `<https://builds.apache.org/job/Thrift/ws/thrift/lib'>
> make: *** [check-recursive] Error 1
> Archiving artifacts
> Publishing Javadoc
> 

-- 
------------------------------------------------------------------------
Anthony Molinaro                           <antho...@alumni.caltech.edu>

Reply via email to