airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Marru <sma...@apache.org>
Subject Re: Error while building Airavata from source
Date Wed, 25 Mar 2015 17:53:55 GMT
Hi Priyanshu,

I assume you are trying to prepare for your GSoC proposal. If so, I think working with the
master might be more preferable then previous release. You can clone from - https://github.com/apache/airavata
<https://github.com/apache/airavata> and try and report back. You can use these instructions
to contribute back any patches - http://airavata.apache.org/community/how-to-contribute-code.html
<http://airavata.apache.org/community/how-to-contribute-code.html>

Suresh

> On Mar 25, 2015, at 12:54 PM, priyanshu patra <pri.patra@gmail.com> wrote:
> 
> Hi everyone,
> 
> Here is the complete full trace
> mvn clean install <http://pastebin.com/MLX0gmXn>
> 
> These are the info about my java and maven version.
> 
> mvn -version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.8.0_40-internal, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
> Default locale: en_IN, platform encoding: UTF-8
> OS name: "linux", version: "3.13.0-45-generic", arch: "amd64", family: "unix"
> 
> java -version
> openjdk version "1.8.0_40-internal"
> OpenJDK Runtime Environment (build 1.8.0_40-internal-b27)
> OpenJDK 64-Bit Server VM (build 25.40-b25, mixed mode)
> 
> Yes, I'm building from master via git clone.
> 
> As Mr.Suresh had suggested, I'll try installing rabbitmq server and then build Airavata.
> 
> Thanks,
> Priyanshu
> 
> 
> 
> On Wed, Mar 25, 2015 at 9:47 PM, Heiland, Randy <heiland@iu.edu <mailto:heiland@iu.edu>>
wrote:
> 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
<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 <mailto: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 <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 <http://pastebin.com/>) to send full traces.
> >
> > Suresh
> >
> >
> >> On Mar 25, 2015, at 11:22 AM, Lahiru Gunathilake <glahiru@gmail.com <mailto: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 <mailto: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
<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