Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

BUILD FAILED - Ant Build fails for target "all" or "test" #3

Open
rahulmr opened this issue Apr 13, 2015 · 0 comments
Open

BUILD FAILED - Ant Build fails for target "all" or "test" #3

rahulmr opened this issue Apr 13, 2015 · 0 comments

Comments

@rahulmr
Copy link

rahulmr commented Apr 13, 2015

Here are the traces? Wanted to know whether it is expected of I need to fix something?

D:\dev\eclipse\workspace\Sahi>ant -f build.xml test
Buildfile: D:\dev\eclipse\workspace\Sahi\build.xml

compile:

compile-test:

test:
   [delete] Deleting directory D:\dev\eclipse\workspace\Sahi\userdata\temp\junit\tests
    [mkdir] Created dir: D:\dev\eclipse\workspace\Sahi\userdata\temp\junit\tests
    [junit] Testsuite: net.sf.sahi.ant.RunSahiTaskTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.016 sec
    [junit]
    [junit] Shutting down ...
    [junit] Shutting down ...
    [junit] Shutting down ...
    [junit] Shutting down ...
    [junit] Connection refused: connect
    [junit] Connection refused: connect
    [junit] Connection refused: connect
    [junit] Connection refused: connect
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.ProxyTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.539 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] >>>> Sahi started. Listening on port: 9999
    [junit] >>>> Configure your browser to use this server and port as its proxy
    [junit] >>>> Browse any page and CTRL-ALT-DblClick on the page to bring up the Sahi Controller
    [junit] -----
    [junit] Reading browser types from: D:\dev\eclipse\workspace\Sahi\userdata\config\browser_types.xml
    [junit] Firefox 4 was not found at C:\Program Files (x86)\Mozilla Firefox 4.0 Beta 7\firefox.exe
    [junit] Safari was not found at C:\Program Files (x86)\Safari\Safari.exe
    [junit] Chrome was not found at C:\Users\iwx\AppData\Local\Google\Chrome\Application\chrome.exe
    [junit] Opera was not found at C:\Program Files (x86)\Opera\opera.exe
    [junit] -----
    [junit] socket closed
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.RemoteRequestProcessorTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] Apr 13, 2015 2:13:24 PM net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRemoteFetch
    [junit] INFO: No SSL Client Cert specified
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.client.ElementStubTest
    [junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.command.CommandExecuterTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.command.CommandInvokerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.command.CustomResponseManagerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.config.ConfigurationTest
    [junit] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: testInit(net.sf.sahi.config.ConfigurationTest):   FAILED
    [junit] expected:<sahi> but was:<java>
    [junit] junit.framework.ComparisonFailure: expected:<sahi> but was:<java>
    [junit]     at net.sf.sahi.config.ConfigurationTest.testInit(ConfigurationTest.java:54)
    [junit]
    [junit]
    [junit] Test net.sf.sahi.config.ConfigurationTest FAILED
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.issue.IssueFormatterTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.issue.IssueReporterTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.issue.JiraIssueCreatorTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.209 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.playback.FileScriptTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.playback.SahiScriptHTMLAdapterTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.playback.SahiScriptTest
    [junit] Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.playback.ScriptHandlerTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.playback.URLScriptTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.plugin.DBClientTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.report.HtmlFormatterTest
    [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.report.HtmlReporterTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.report.JUnitFormatterTest
    [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.report.JunitReporterTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.report.LogViewerTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.report.ReportTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.report.SahiReporterTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.request.HttpRequestTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.request.MultiPartSubRequestTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.response.HttpFileResponseTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.response.HttpModifiedResponseTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] Defaulting to charset iso-8859-1
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.response.MimeTypeTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.rhino.ScriptRunnerTest
    [junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.815 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] Step took too long (<cmd>#1)
    [junit] _sahi._cell("AA")
    [junit] document.forms[0]
    [junit] _sahi._cell("AA").parentNode.parentNode
    [junit] _sahi._link("abcd").getElementsByTagName("DIV")[0]
    [junit] _sahi._link("abcd").getElementsByTagName("DIV")[25]
    [junit] _sahi._link("abcd").getElementsByTagName("DIV")[99]
    [junit] _sahi._cell("AA").parentNode.childNodes[22].previousSibling
    [junit] _sahi._cell("AA").document.forms[0].elements[11].value
    [junit] _sahi._checkbox(0, _sahi._near(_sahi._spandiv("To: narayan.raman")))
    [junit] _sahi._textbox(0).value.substring(_sahi._textbox(0).value.indexOf("aa"), 12)
    [junit] _sahi._link(/hi/)
    [junit] _sahi._table("t1").rows[0].cells[1]
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.session.SessionTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.ssl.SSLHelperTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] keytool.exe
    [junit] -dname
    [junit] CN=www.sahi.co.in, OU=Sahi
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.stream.filter.HTMLModifierFilterTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.stream.filter.JSModifierFilterTest
    [junit] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.test.BrowserLauncherTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.test.ProcessHelperTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.test.SahiTestTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.test.SuiteLoaderTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.util.FileUtilsTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
    [junit]
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.util.OSUtilsTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.util.SocketPoolTest
    [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
    [junit]
    [junit] ------------- Standard Error -----------------
    [junit] java.net.BindException: Address already in use: JVM_Bind
    [junit]     at java.net.DualStackPlainSocketImpl.bind0(Native Method)
    [junit]     at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)
    [junit]     at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
    [junit]     at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)
    [junit]     at java.net.Socket.bind(Socket.java:631)
    [junit]     at net.sf.sahi.util.SocketPool.createSocket(SocketPool.java:52)
    [junit]     at net.sf.sahi.util.SocketPool.get(SocketPool.java:72)
    [junit]     at net.sf.sahi.util.SocketPoolTest.testGet(SocketPoolTest.java:41)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:606)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:160)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:134)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:125)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1614)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:1019)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:2095)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:828)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    [junit]     at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:606)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:435)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:456)
    [junit]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
    [junit]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [junit]     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:851)
    [junit]     at org.apache.tools.ant.Main.startAnt(Main.java:235)
    [junit]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    [junit]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: testGet(net.sf.sahi.util.SocketPoolTest): FAILED
    [junit] null
    [junit] junit.framework.AssertionFailedError
    [junit]     at net.sf.sahi.util.SocketPoolTest.testGet(SocketPoolTest.java:41)
    [junit]
    [junit]
    [junit] Test net.sf.sahi.util.SocketPoolTest FAILED
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.util.URLParserTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] Sahi properties file = D:\dev\eclipse\workspace\Sahi\config\sahi.properties
    [junit] Sahi user properties file = D:\dev\eclipse\workspace\Sahi\userdata\config\userdata.properties
    [junit] ------------- ---------------- ---------------
    [junit] dir attribute ignored if running in the same VM
    [junit] Testsuite: net.sf.sahi.util.UtilsTest
    [junit] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] includes/sahi_demo_include.sah
    [junit] http://localhost:9999/_s_/scripts/sahi_demo_include.sah
    [junit] >> str2:  Volume in drive D is INSTALLS
    [junit]  Volume Serial Number is 36E4-F82D
    [junit]
    [junit]  Directory of D:\dev\eclipse\workspace\Sahi
    [junit]
    [junit] 04/13/2015  02:13 PM    <DIR>          .
    [junit] 04/13/2015  02:13 PM    <DIR>          ..
    [junit] 04/13/2015  01:08 PM             1,529 .classpath
    [junit] 04/13/2015  01:08 PM               380 .project
    [junit] 04/13/2015  01:08 PM             3,737 antTest.xml
    [junit] 04/13/2015  01:11 PM    <DIR>          batch_runners
    [junit] 04/13/2015  01:11 PM    <DIR>          bin
    [junit] 04/13/2015  01:08 PM            23,172 build.xml
    [junit] 04/13/2015  02:07 PM    <DIR>          classes
    [junit] 04/13/2015  01:11 PM    <DIR>          config
    [junit] 04/13/2015  01:08 PM            10,446 demo.xml
    [junit] 04/13/2015  02:01 PM    <DIR>          deploy
    [junit] 04/13/2015  01:11 PM    <DIR>          docs
    [junit] 04/13/2015  01:11 PM    <DIR>          editors
    [junit] 04/13/2015  01:11 PM    <DIR>          extlib
    [junit] 04/13/2015  01:11 PM    <DIR>          htdocs
    [junit] 04/13/2015  01:08 PM             9,665 hudson.xml
    [junit] 04/13/2015  01:11 PM    <DIR>          installer
    [junit] 04/13/2015  02:13 PM           172,072 junittestrun.out
    [junit] 04/13/2015  01:48 PM    <DIR>          lib
    [junit] 04/13/2015  01:08 PM               343 NOTICE.htm
    [junit] 04/13/2015  01:08 PM               236 NOTICE.txt
    [junit] 04/13/2015  01:11 PM    <DIR>          ruby
    [junit] 04/13/2015  01:11 PM    <DIR>          sample_java_project
    [junit] 04/13/2015  01:11 PM    <DIR>          src
    [junit] 04/13/2015  01:08 PM            11,142 stress.xml
    [junit] 04/13/2015  02:01 PM    <DIR>          temp
    [junit] 04/13/2015  01:11 PM    <DIR>          test
    [junit] 04/13/2015  01:11 PM    <DIR>          tools
    [junit] 04/13/2015  01:48 PM    <DIR>          userdata
    [junit]               10 File(s)        232,722 bytes
    [junit]               20 Dir(s)     793,059,328 bytes free
    [junit]  62
    [junit] ------------- ---------------- ---------------

report-gen:
   [delete] Deleting directory D:\dev\eclipse\workspace\Sahi\userdata\temp\junit\reports
    [mkdir] Created dir: D:\dev\eclipse\workspace\Sahi\userdata\temp\junit\reports

BUILD FAILED
D:\dev\eclipse\workspace\Sahi\build.xml:572: JUnit tests failed. MAKE SURE THAT junit.jar AND log4j.jar ARE PRESENT IN {sahi}/extlib/ FOLDER

Total time: 12 seconds

D:\dev\eclipse\workspace\Sahi>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant