ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: AntLib-antunit #4
Date Fri, 06 Jun 2014 05:52:17 GMT
See <https://builds.apache.org/job/AntLib-antunit/4/changes>

Changes:

[jhm] Add JUnit as dependency

------------------------------------------
[...truncated 1352 lines...]
    [junit] Caused by: java.lang.ClassNotFoundException: org.apache.ant.antunit.SetUpAndTearDownTest$TestReportListener
    [junit] 	at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1361)
    [junit] 	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311)
    [junit] 	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1064)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
    [junit] 	at java.lang.Class.forName0(Native Method)
    [junit] 	at java.lang.Class.forName(Class.java:270)
    [junit] 	at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:594)
    [junit] 	... 41 more
    [junit] 
    [junit] Test org.apache.ant.antunit.SetUpAndTearDownTest FAILED
    [junit] Testsuite: org.apache.ant.antunit.junit3.AntUnitSuiteTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.058 sec
    [junit] ------------- Standard Output ---------------
    [junit] 
    [junit] suiteSetUp:
    [junit]     [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/AntLib-antunit/target/test_output
    [junit] 
    [junit] setUp:
    [junit] 
    [junit] test1:
    [junit] 
    [junit] tearDown:
    [junit] 
    [junit] suiteTearDown:
    [junit] 
    [junit] BUILD SUCCESSFUL
    [junit] Total time: 0 seconds
    [junit] 
    [junit] suiteSetUp:
    [junit]    [delete] Deleting: /x1/jenkins/jenkins-slave/workspace/AntLib-antunit/target/test_output/junit_out.xml
    [junit] 
    [junit] setUp:
    [junit] 
    [junit] test2:
    [junit] 
    [junit] tearDown:
    [junit] 
    [junit] setUp:
    [junit] 
    [junit] test1:
    [junit] 
    [junit] tearDown:
    [junit] 
    [junit] suiteTearDown:
    [junit] 
    [junit] BUILD SUCCESSFUL
    [junit] Total time: 0 seconds
    [junit] ------------- ---------------- ---------------
    [junit] 
    [junit] Testcase: testSuiteName took 0 sec
    [junit] Testcase: testSingleTestRunSuiteSetUp took 0.022 sec
    [junit] Testcase: testChildNames took 0 sec
    [junit] Testcase: testFileNotFound took 0.002 sec
    [junit] Testcase: testRunSuiteSetUp took 0.029 sec
    [junit] Testsuite: org.apache.ant.antunit.junit3.AntUnitTestCaseTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.097 sec
    [junit] ------------- Standard Output ---------------
    [junit] 
    [junit] suiteSetUp:
    [junit]    [delete] Deleting: /x1/jenkins/jenkins-slave/workspace/AntLib-antunit/target/test_output/junit_out.xml
    [junit] 
    [junit] setUp:
    [junit] 
    [junit] tearDown:
    [junit] 
    [junit] suiteTearDown:
    [junit] 
    [junit] BUILD SUCCESSFUL
    [junit] Total time: 0 seconds
    [junit] 
    [junit] suiteSetUp:
    [junit]    [delete] Deleting: /x1/jenkins/jenkins-slave/workspace/AntLib-antunit/target/test_output/junit_out.xml
    [junit] 
    [junit] setUp:
    [junit] 
    [junit] test1:
    [junit] 
    [junit] tearDown:
    [junit] 
    [junit] suiteTearDown:
    [junit] 
    [junit] BUILD SUCCESSFUL
    [junit] Total time: 0 seconds
    [junit] 
    [junit] suiteSetUp:
    [junit]    [delete] Deleting: /x1/jenkins/jenkins-slave/workspace/AntLib-antunit/target/test_output/junit_out.xml
    [junit] 
    [junit] setUp:
    [junit] 
    [junit] test1:
    [junit] 
    [junit] tearDown:
    [junit] 
    [junit] suiteTearDown:
    [junit] 
    [junit] BUILD SUCCESSFUL
    [junit] Total time: 0 seconds
    [junit] ------------- ---------------- ---------------
    [junit] 
    [junit] Testcase: testInvalidFile took 0.003 sec
    [junit] Testcase: testNameParsing took 0 sec
    [junit] Testcase: testUnknownTarget took 0.032 sec
    [junit] Testcase: testTestIdentityInNotification took 0.028 sec
    [junit] Testcase: testRunSuiteSetUp took 0.029 sec
    [junit] Testsuite: org.apache.ant.antunit.junit3.EatYourOwnDogFoodTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.025 sec
    [junit] ------------- Standard Output ---------------
    [junit] 
    [junit] testTaskHandlingOutput:
    [junit] 
    [junit] BUILD SUCCESSFUL
    [junit] Total time: 0 seconds
    [junit] ------------- ---------------- ---------------
    [junit] 
    [junit] Testcase: testTaskHandlingOutput [src/etc/testcases/antunit/java-io.xml] took
0.019 sec
    [junit] Testsuite: org.apache.ant.antunit.junit4.AntUnitSuiteRunnerTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.122 sec
    [junit] ------------- Standard Output ---------------
    [junit] 
    [junit] suiteSetUp:
    [junit]    [delete] Deleting: /x1/jenkins/jenkins-slave/workspace/AntLib-antunit/target/test_output/junit_out.xml
    [junit] 
    [junit] setUp:
    [junit] 
    [junit] test1:
    [junit] 
    [junit] tearDown:
    [junit] 
    [junit] setUp:
    [junit] 
    [junit] test2:
    [junit] 
    [junit] tearDown:
    [junit] 
    [junit] suiteTearDown:
    [junit] 
    [junit] BUILD SUCCESSFUL
    [junit] Total time: 0 seconds
    [junit] 
    [junit] suiteSetUp:
    [junit]    [delete] Deleting: /x1/jenkins/jenkins-slave/workspace/AntLib-antunit/target/test_output/junit_out.xml
    [junit] 
    [junit] setUp:
    [junit] 
    [junit] test1:
    [junit] 
    [junit] tearDown:
    [junit] 
    [junit] setUp:
    [junit] 
    [junit] test2:
    [junit] 
    [junit] tearDown:
    [junit] 
    [junit] suiteTearDown:
    [junit] 
    [junit] BUILD SUCCESSFUL
    [junit] Total time: 0 seconds
    [junit] ------------- ---------------- ---------------
    [junit] 
    [junit] Testcase: testInvalidSuiteReturnNull took 0.002 sec
    [junit] Testcase: testInvalidSuiteReferencingMissingFile took 0.004 sec
    [junit] Testcase: testRunFullSuite took 0.059 sec
    [junit] Testcase: testMissingSuiteMethodInitializationError took 0.001 sec
    [junit] Testcase: testInvalidSuiteReturnTypeError took 0 sec
    [junit] Testcase: testDescriptionsReportedInNotifier took 0.05 sec
    [junit] Testcase: testNonStaticSuiteMethodInitializationError took 0 sec
    [junit] Testsuite: org.apache.ant.antunit.listener.LogForwarderTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.03 sec
    [junit] 
    [junit] Testcase: testForward took 0.025 sec
    [junit] Testsuite: org.apache.ant.antunit.listener.PlainListenerTest
    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.317 sec
    [junit] 
    [junit] Testcase: testSuiteSetUpTearDown took 0.029 sec
    [junit] Testcase: testSetUpTearDown took 0.029 sec
    [junit] Testcase: testShowDebug took 0.03 sec
    [junit] Testcase: testShowError took 0.029 sec
    [junit] Testcase: testStdoutPlacement took 0.03 sec
    [junit] Testcase: testShowVerbose took 0.03 sec
    [junit] Testcase: testShowInfo took 0.033 sec
    [junit] Testcase: testShowNone took 0.03 sec
    [junit] Testcase: testShowWarning took 0.043 sec
    [junit] Testcase: testShowDefault took 0.028 sec
    [junit] Testsuite: org.apache.ant.antunit.listener.XMLListenerTest
    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.908 sec
    [junit] 
    [junit] Testcase: testSuiteSetUpTearDown took 0.052 sec
    [junit] Testcase: testBadCharacters took 0.044 sec
    [junit] Testcase: testProperties took 0.445 sec
    [junit] Testcase: testSetUpTearDown took 0.05 sec
    [junit] Testcase: testShowDebug took 0.042 sec
    [junit] Testcase: testShowError took 0.039 sec
    [junit] Testcase: testStdoutPlacement took 0.041 sec
    [junit] Testcase: testShowVerbose took 0.04 sec
    [junit] Testcase: testShowInfo took 0.038 sec
    [junit] Testcase: testShowNone took 0.039 sec
    [junit] Testcase: testShowWarning took 0.036 sec
    [junit] Testcase: testShowDefault took 0.036 sec

setup-for-antunit-tests:

ready-to-test-with-antunit:

antunit-test:
    [mkdir] Created dir: /x1/jenkins/jenkins-slave/workspace/AntLib-antunit/build/reports/antunit
[au:antunit] Build File: /x1/jenkins/jenkins-slave/workspace/AntLib-antunit/src/tests/antunit/assertLogContains-test.xml
[au:antunit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.037 sec
[au:antunit] Target: testWithExplicitMerge took 0.001 sec
[au:antunit] Target: testWithoutMerge took 0.001 sec
[au:antunit] Target: testWithImplicitMerge took 0 sec
[au:antunit] Build File: /x1/jenkins/jenkins-slave/workspace/AntLib-antunit/src/tests/antunit/assertResourceContains-test.xml
[au:antunit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.24 sec
[au:antunit] Target: testURLUsingRef took 1.173 sec
[au:antunit] Target: testURLUsingRef-no took 1.028 sec
[au:antunit] Build File: /x1/jenkins/jenkins-slave/workspace/AntLib-antunit/src/tests/antunit/assertResourceExists-test.xml
[au:antunit] Tests run: 4, Failures: 2, Errors: 0, Time elapsed: 0.488 sec
[au:antunit] Target: testURLUsingRef-no  FAILED
[au:antunit] 	at line 45, column 59
[au:antunit] 	Message: Didn't expect resource 'antsite-foo' to exist
[au:antunit] 	took 0.002 sec
[au:antunit] Target: testURL took 0 sec
[au:antunit] Target: testURL-no  FAILED
[au:antunit] 	at line 37, column 41
[au:antunit] 	Message: Didn't expect resource to exist
[au:antunit] 	took 0.196 sec
[au:antunit] Target: testURLUsingRef took 0.209 sec
[au:antunit] Build File: /x1/jenkins/jenkins-slave/workspace/AntLib-antunit/src/tests/antunit/resourceexists-test.xml
[au:antunit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.541 sec
[au:antunit] Target: test-refid-file took 0.001 sec
[au:antunit] Target: testURL took 0.209 sec
[au:antunit] Target: test-no took 0 sec
[au:antunit] Target: test-yes took 0 sec
[au:antunit] Target: test-refid-fileset took 0.001 sec
[au:antunit] Target: testURLAttributeUsingRef took 0.208 sec

test:

BUILD FAILED
/x1/jenkins/jenkins-slave/workspace/AntLib-antunit/common/build.xml:208: At least one JUnit
test has failed.

Total time: 10 seconds
Build step 'Invoke Ant' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
[TASKS] Skipping publisher since build result is FAILURE
Archiving artifacts
Recording test results
Publishing Javadoc

Mime
View raw message