airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lahiru Gunathilake <glah...@gmail.com>
Subject Re: Error while building Airavata from source
Date Wed, 25 Mar 2015 19:33:23 GMT
We might have to fix integration test but I hope its not a blocker for you.
YOu can simply remove it from the build and use the pack created in
distribution directory.

On Wed, Mar 25, 2015 at 3:20 PM, priyanshu patra <pri.patra@gmail.com>
wrote:

> I cloned the master from https://github.com/apache/airavata , had the rabbitmq
> server running while build, but the error still persists. Here is the
> complete trace- http://pastebin.com/uhqrhip6
>
>
>
> On Thu, Mar 26, 2015 at 12:11 AM, Suresh Marru <smarru@apache.org> wrote:
>
>> Sounds good. Just call me Suresh.
>>
>> Also, do as much emails on mailing list starting now, that will help your
>> application.
>>
>> Suresh
>>
>> On Mar 25, 2015, at 2:37 PM, priyanshu patra <pri.patra@gmail.com> wrote:
>>
>> Hello Sir,
>>
>> Yes , I'm trying to prepare for my GSoC proposal and in relation to that
>> I intended to ask if I should create a student profile as mentioned in Create
>> Student Profile
>> <https://www.google-melange.com/gsoc/profile/register/student/google/gsoc2015>
.The
>> official site has specified the deadline as *March 27 at 19:00 UTC*
>>
>> Regards,
>> Priyanshu
>>
>> On Wed, Mar 25, 2015 at 11:23 PM, Suresh Marru <smarru@apache.org> wrote:
>>
>>> 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 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
>>>
>>> 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> 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
>>>> [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
>>>> >
>>>>
>>>>
>>>
>>>
>>
>>
>


-- 
Research Assistant
Science Gateways Group
Indiana University

Mime
View raw message