airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heiland, Randy" <heil...@iu.edu>
Subject Re: Error while building Airavata from source
Date Wed, 25 Mar 2015 16:17:14 GMT
I’ll chime in with my experience. I too get a failure on the integration tests on the 0.14
release:
~/dev/airavata-0.14$ mvn clean install
...
[INFO] Airavata GFAC distribution ........................ SUCCESS [ 14.176 s]
[INFO] Airavata release artifacts ........................ SUCCESS [ 35.124 s]
[INFO] Airavata Integration Tests ........................ FAILURE [03:36 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:59 min
[INFO] Finished at: 2015-03-25T12:08:04-05:00
[INFO] Final Memory: 91M/403M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.5:verify (verify)
on project integration-tests: There are test failures.
[ERROR] 
[ERROR] Please refer to /Users/heiland/dev/airavata-0.14/modules/integration-tests/target/failsafe-reports
for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :integration-tests

OSX:
java version "1.8.0_40"
Apache Maven 3.2.1

I installed rabbitmq using brew and had the server running when I attempted the airavata build:
[1]+  Running                 rabbitmq-server &


The info I see in modules/integration-tests/target/failsafe-reports/emailable-report.html
is:
Command line test

org.apache.airavata.integration.SimpleEchoIT:testSimpleLocalhostEchoService

null

org.apache.airavata.integration.tools.DocumentCreatorNew.createLocalHostDocs(DocumentCreatorNew.java:83)

at org.apache.airavata.integration.SimpleEchoIT.testSimpleLocalhostEchoService(SimpleEchoIT.java:61)

32 lines not shown



-Randy

> On Mar 25, 2015, at 11:32 AM, Suresh Marru <smarru@apache.org> wrote:
> 
> Hi Priyanshu,
> 
> We did not update the website yet, but can you download and install rabbitmq server (refer
- https://www.rabbitmq.com/download.html ) and then build Airavata? That may be the cause
of integration tests failing.
> 
> When I quickly try to reproduce it (without starting rabbitmq), integration tests hung
but not fail. So there could be something else we need to look. Use something like pastebin
(http://pastebin.com) to send full traces. 
> 
> Suresh
> 
> 
>> On Mar 25, 2015, at 11:22 AM, Lahiru Gunathilake <glahiru@gmail.com> wrote:
>> 
>> Hi Priyanshu,
>> 
>> You have only sent the part of the error. please send the complete error message.
>> 
>> Lahiru
>> 
>> On Wed, Mar 25, 2015 at 10:21 AM, priyanshu patra <pri.patra@gmail.com> wrote:
>> Hello everyone,
>> I was following the official guide to build airavata from source . The distribution
built successfully without running tests (mvn clean install -Dmaven.test.skip=true).
>> 
>> However,on building without skipping tests (mvn clean install) , I encountered the
following error-
>> 
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.5:verify(default)
on project integration-tests: There are test failures.
>> [ERROR] 
>> [ERROR] Please refer to /home/priyanshu-sekhar/airavata/modules/integration-tests/target/failsafe-reports
for the individual test results.
>> [ERROR] -> [Help 1]
>> [ERROR] 
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR] 
>> [ERROR] For more information about the errors and possible solutions, please read
the following articles:
>> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>> [ERROR] 
>> [ERROR] After correcting the problems, you can resume the build with the command
>> [ERROR]   mvn <goals> -rf :integration-tests
>> 
>> I guessed it is because of missing Maven Failsafe plugin configuration, hence I added
the following lines to "pom.xml" -
>> <plugin>
>>     <groupId>org.apache.maven.plugins</groupId>
>>     <artifactId>maven-failsafe-plugin</artifactId>
>>     <version>2.5</version>
>>     <executions>
>>        <execution>
>>          <goals>
>>               <goal>integration-test</goal>
>>               <goal>verify</goal>
>>          </goals>
>>        </execution>
>>      </executions>
>>  </plugin>
>> 
>> However, the error stills remains.I'm not sure exactly where the problem lies.
>> Any suggestions would be of immense help!
>> 
>> Regards,
>> Priyanshu Sekhar Patra
>> 
>> 
>> 
>> 
>> -- 
>> Research Assistant 
>> Science Gateways Group
>> Indiana University
> 


Mime
View raw message