In integration tests except for few workflow samples which uses web-services others assumes unix environment, paths, commands. I'm wondering if a better fix would be for this release is to check the environment and skip the unrelated tests.
On Mon, Sep 9, 2013 at 2:59 PM, Marlon Pierce <[email protected]> wrote: > What is running Unix chmod? Ant has a chmod task that can be called from > Maven. Newer versions of Java File can also change the file permissions > in code. > > > Marlon > > > On 9/9/13 2:48 PM, Saminda Wijeratne wrote: > > Right now no... We do need to fix the integration tests to run on windows > > as well... You are welcome to provide a patch for it... :) > > > > > > On Mon, Sep 9, 2013 at 11:25 AM, Viknes Balasubramanee <[email protected] > >wrote: > > > >> Hi guys,**** > >> > >> ** ** > >> > >> When I download the source and do a clean install, the integration tests > >> are failing in my system because the command-line-suite fails. It tries > to > >> run the command chmod which is not available in Windows.**** > >> > >> ** ** > >> > >> The failsafe-report for it is**** > >> > >> ** ** > >> > >> <testsuite hostname="ViknesB-HPDV6" > >> name="org.apache.airavata.integration.BaseCaseIT" tests="7" failures="0" > >> timestamp="9 Sep 2013 14:30:31 GMT" time="1.964" errors="0">**** > >> > >> <testcase name="@BeforeTest setUp" time="0.0" > >> classname="org.apache.airavata.integration.BaseCaseIT">**** > >> > >> <failure type="java.io.IOException" message="Cannot run program > >> &quot;chmod&quot;: CreateProcess error=2, The system cannot find > >> the file specified">**** > >> > >> <![CDATA[java.io.IOException: Cannot run program "chmod": > >> CreateProcess error=2, The system cannot find the file specified**** > >> > >> at > java.lang.ProcessBuilder.start(ProcessBuilder.java:1041) > >> **** > >> > >> at java.lang.Runtime.exec(Runtime.java:617)**** > >> > >> at java.lang.Runtime.exec(Runtime.java:450)**** > >> > >> at java.lang.Runtime.exec(Runtime.java:347)**** > >> > >> at > >> > org.apache.airavata.integration.ForEachCaseIT.setupDescriptors(ForEachCaseIT.java:288) > >> **** > >> > >> at > >> > org.apache.airavata.integration.ForEachCaseIT.setUp(ForEachCaseIT.java:223) > >> **** > >> > >> ** ** > >> > >> ** ** > >> > >> Is there a Windows compatible version of this test available?**** > >> > >> ** ** > >> > >> Viknes**** > >> > >> ** ** > >> > >> *From:* Amila Jayasekara [mailto:[email protected]] > >> *Sent:* Monday, September 09, 2013 10:13 AM > >> *To:* [email protected]; [email protected] > >> *Subject:* [TESTING] Apache Airavata 0.9 RC1**** > >> > >> ** ** > >> > >> Hi All,**** > >> > >> ** ** > >> > >> Following distributions are available in [1] for testing. Due to space > >> issue we are hosting binaries in dropbox (until we resolve the issue > with > >> the help of apache infra).**** > >> > >> > >> Server distributions *(both in zip & tar.gz formats)**** > >> > >> ====================================== > >> > Standalone-Server - *apache-airavata-server-0.9-SNAPSHOT-bin.zip > >> > Server-As-a-WebApp - > apache-airavata-server-0.9-SNAPSHOT-war.zip**** > >> > >> > >> Client distributions *(both in zip & tar.gz formats)**** > >> > >> ===================================== > >> > API-Client- apache-airavata-client-0.9-SNAPSHOT-bin.zip > >> > GUI-Client - apache-airavata-xbaya-gui-0.9-SNAPSHOT-bin.zip > >> > >> *Here are some pointers for testing* > >> - Verify the fixed issue for this release [2] > >> - Verify the basic workflow composition/execution/monitoring scenarios > from > >> Airavata 5 & 10 min tutorials [3],[4] > >> - Verify basic use-cases for Airavata API [5] are working > >> - Verify client usecases relating to Paramberoo & ODI > >> - Verify the stability with derby & mysql backend databases > >> - Verify that the XBaya JNLP distribution works (we need documentation > on > >> how to deploy it) > >> - Verify deploying Airavata server in a tomcat distribution**** > >> > >> ** ** > >> > >> Thank you**** > >> > >> Regards**** > >> > >> Amila (On behalf of Airavata PMC)**** > >> > >> [1] https://www.dropbox.com/sh/1boz9sap7c3w4nh/cdfA5vsLuX**** > >> > >> [2] > >> > https://issues.apache.org/jira/issues/?jql=project%20%3D%20AIRAVATA%20AND%20resolution%20%3D%20Fixed%20AND%20fixVersion%20%3D%20%220.9%22%20ORDER%20BY%20priority%20DESC > >> **** > >> > >> [3] > >> > >> > http://airavata.apache.org/documentation/tutorials/airavata-in-5-minutes.html > >> [4] > >> > >> > http://airavata.apache.org/documentation/tutorials/airavata-in-10-minutes.html > >> **** > >> > >> [5] > >> > >> > https://cwiki.apache.org/confluence/display/AIRAVATA/Gateway+Developer+Guide > >> **** > >> > > >
