I'm using Sun's Standard Edition for Business (build 1.6.0_10-b33), the full JDK.

I'm still investigating, but I suspect Marc is right that there may be data corruption. I want to create a package that will completely build WebTest on a machine that is not connected to the Internet. Yesterday I gathered the necessary files on Windows, put them into zip files, unzipped the files on OpenSolaris, tried to build, and got the failure that I described. Today, I tried the same process, but started with R_1737 on OpenSolaris, sent the zips to Windows, then to Solaris 10. The builds succeeded on Windows and Solaris, but stopped on OpenSolaris at test directory 240_AppletRunnerStar, much further that yesterday's failure. I will keep investigating, then report back my results.

Vaughn

Harihara Vinayakaram wrote:
My java -version shows

java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
BEA JRockit(R) (build R27.5.0-110-94909-1.6.0_03-20080204-1558-linux-ia32, compiled mode)

But unlike Vaughn even thought the line numbers in build.xml (570, 674, 741) are the same the last tests in my build/selftests/reports is 240_AppletRunnerStar  and the WebTestReport.x,l has this description

  <step description="grok missing un-used jar" duration="4772" result="failed" taskName="appletRunner">
                <parameter name="scenario" value="com.canoo.webtest.extension.applet.awt.SuccessScenario"/>
                <parameter name="scenarioLocation" value="foo/bar.jar:/home/hvram/webtest/build/AppletScenarii.jar"/>
                <parameter name="xpath" value="/html/body/appl...@id='testAwtApplet']"/>
            </step>

the dummy.html page under selftests/webapp looks fine.
Regards
Hari

On Tue, Jan 13, 2009 at 3:27 AM, Marc Guillemot <[email protected]> wrote:
Hi,

this is really really surprising.

For the facts: this is a quite old test that passed on different OS and that definitely still pass on my computer (Linux Ubuntu 8.04) and on the build server (Linux with a Debian or RedHat distribution).

Hari, Vaughn, which JVM do you use? Can you try to comment out the verifyProperty step in storeDigest.xml line 19 to see if the MD5 check pass or not. Can you check as well if for some reason the dummy.html file is not corrupt?

Cheers,
Marc.
--
Blog: http://mguillem.wordpress.com

Harihara Vinayakaram wrote:
Hi
  It fails in Linux too (I am using 8.04 Ubuntu ) and it fails in the same palce

Regards
Hari

On Sat, Jan 10, 2009 at 9:08 AM, Vaughn Spurlin <[email protected] <mailto:[email protected]>> wrote:

   I'm porting WebTest to OpenSolaris, and that requires building from
   source and passing all tests. Building works, but testing fails on
   Solaris 10 and OpenSolaris. On WindowsXP all tests pass with no
   problem. I'm working with R_1736, but I've seen the same results
   with other recent development versions. Details are pasted below.

   What should I do to identify the root cause? Is this a WebTest
   problem, or something I can fix in the Solaris environment?

   Vaughn

   ========================================
   Running "ant develop" ends with:

   BUILD FAILED
   /export/home/vaughn/webtest/R_1736/build.xml:570: The following
   error occurred while executing this line:
   /export/home/vaughn/webtest/R_1736/build.xml:674: The following
   error occurred while executing this line:
   /export/home/vaughn/webtest/R_1736/build.xml:741: Warning: Could not
   find file
   /export/home/vaughn/webtest/R_1736/build/selftests/reports/WebTestOverview.xml
   to copy.

   ========================================
   The last test results directory created is:

   /export/home/vaughn/webtest/R_1736/build/selftests/reports/183_StoreDigestShowH

   ========================================
   In that directory WebTestReport.xml identifies the failed test as
   "verifyProperty">:

   <summary Implementation-Title="Canoo Webtest"
   Implementation-Version="development">
   -
   <testresult endtime="Thu Jan 08 21:12:29 PST 2009"
   location="/export/home/vaughn/webtest/R_1736/selftests/tests/storeDigest.xml:12:
   " starttime="Thu Jan 08 21:12:29 PST 2009" successful="no"
   testspecname="storeDigest: Show how to use storeDigest step">
   -
   <config>
   <parameter name="port" value="19090"/>
   <parameter name="summary" value="yes"/>
   <parameter name="protocol" value="http"/>
   <parameter name="host" value="localhost"/>
   <parameter name="resultpath"
   value="/export/home/vaughn/webtest/R_1736/build/selftests/reports"/>
   <parameter name="saveprefix" value="response"/>
   <parameter name="basepath" value="selftest"/>
   <parameter name="defaultpropertytype" value=""/>
   <parameter name="resultfile" value="WebTestReport.xml"/>
   <parameter name="haltonerror" value="yes"/>
   <parameter name="errorproperty" value=""/>
   <parameter name="saveresponse" value="yes"/>
   <parameter name="haltonfailure" value="yes"/>
   <parameter name="failureproperty" value=""/>
   <parameter name="autorefresh" value="false"/>
   <parameter name="showhtmlparseroutput" value="no"/>
   <parameter name="timeout" value="300"/>
   </config>
   -
   <results>
   -
   <step duration="3" result="completed" taskName="invoke">
   <parameter name="-> complete url"
   value="http://localhost:19090/selftest/dummy.html"/>
   <parameter name="url" value="dummy.html"/>
   <resultFile name="001_response_invoke.html"/>
   </step>
   -
   <step duration="3" result="completed" taskName="storeDigest">
   <parameter name="=> value" value="f1 59 85 54 26 b9 5a 94 6a 71 6a
   75 50 5a b7 52 47 f8 7d cf"/>
   <parameter name="property" value="dummyDigestSHA1"/>
   <resultFile name="003_response_storeDigest.html"/>
   -
   <step duration="1" result="completed" taskName="lineSeparatorFilter">
   <resultFile name="002_response_lineSeparatorFilter.html"/>
   </step>
   </step>
   -
   <step duration="0" result="failed" taskName="verifyProperty">
   <parameter name="name" value="dummyDigestSHA1"/>
   <parameter name="text" value="4e 7e c7 59 21 9 15 44 52 f3 45 70 76
   b9 a1 93 e7 b3 78 f2"/>
   </step>
   -
   <step duration="0" result="notexecuted" taskName="storeDigest">
   <parameter name="property" value="dummyDigestMD5"/>
   <parameter name="type" value="MD5"/>
   <step duration="0" result="notexecuted" taskName="lineSeparatorFilter"/>
   </step>
   -
   <step duration="0" result="notexecuted" taskName="verifyProperty">
   <parameter name="name" value="dummyDigestMD5"/>
   <parameter name="text" value="27 e2 37 6c ff d6 ac 13 65 8d 80 d9 94
   0 f7 21"/>
   </step>
   -
   <failure message="Incorrect property value found!">
   -
   <antStack>
   <call
   filename="/export/home/vaughn/webtest/R_1736/selftests/tests/storeDigest.xml"
   line="19"/>
   </antStack>
   -
   <detail name="expected value">
   4e 7e c7 59 21 9 15 44 52 f3 45 70 76 b9 a1 93 e7 b3 78 f2
   </detail>
   -
   <detail name="actual value">
   f1 59 85 54 26 b9 5a 94 6a 71 6a 75 50 5a b7 52 47 f8 7d cf
   </detail>
   </failure>
   </results>
   </testresult>
   </summary>
   ========================================

   _______________________________________________
   WebTest mailing list
   [email protected] <mailto:[email protected]>
   http://lists.canoo.com/mailman/listinfo/webtest




_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest


_______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to