Hi Jerry
 
Thanks for the files.
 
I have experienced very occasional failures similar to this myself - due to
one of the tests not cleaning up after itself properly (leaving a test
object test:1001 in the repository, causing subsequent ingests of this to
fail).  It seems to be dependent on the order in which various test methods
are executed, hence the infrequent nature of the failure.  Earlier in the
console output of the test you should see a line starting "Command-line
ingest failed: STDOUT=" (though some of the test console logging is rather
verbose in places so this may not be that easy to spot).
 
The problem has now been fixed, you can see the relevant changes to
org.fcrepo.test.integration.TestCommandLineUtilities here
 
https://github.com/fcrepo/fcrepo/commit/840d788d79b2cfe728b59d6c3ae80f52bfac
227b#diff-0
 
(ignore the changes to all other files, they're for a separate issue).
 
If you wish you could patch your copy of the source and apply the changes to
the testExport() method of this class around lines 207 and 237 to your copy
of the source code.
 
The subsequent failure of other tests is I believe a consequence of this
initial test failure.
 
Regards
Steve
 
 

-----Original Message-----
From: Pan, Jerry Yun [mailto:p...@ornl.gov] 
Sent: 25 February 2011 22:33
To: fedora-commons-users@lists.sourceforge.net
Subject: Re: [fcrepo-user] fedora integration test on 3.4.2



Hi Steve,

I have attached install.properties and the surefire report files. Please
take a look.

 

Thanks,

-Jerry

 

 

 

 

Subject: Re: [fcrepo-user] fedora integration test on 3.4.2

To: "'Support and info exchange list for Fedora users.'"

      <fedora-commons-users@lists.sourceforge.net>

Message-ID: <006f01cbd4c3$d5a9d720$0301010a@asusp4t533>

Content-Type: text/plain; charset="us-ascii"

 

Hi Jerry

 

I believe these tests were passing fine when 3.4.2 was released, so I think

it is likely to be some kind of local configuration issue.

 

Could you submit the contents of the surefire-reports directory, and also a

copy of the Fedora install.properties file from the $FEDORA_HOME/install

directory (please obfuscate the user name and password values in this file

if they are sensitive).

 

Thanks

Steve

 

-----Original Message-----

From: Pan, Jerry Yun [mailto:p...@ornl.gov] 

Sent: 24 February 2011 21:48

To: fedora-commons-users@lists.sourceforge.net

Subject: [fcrepo-user] fedora integration test on 3.4.2

 

 

 

Hi,

 

I just checked out 3.4.2, and I followed the instruction to run the configQ

integration tests and I got 6 failed tests and 17 error tests (see below).

Do I miss anything , any steps here? Can anyone shed some lights?  Thanks.

 

 

 

 

 

 

 

I did these on a RedHat 5, 64 bit virtual box:

 

 

 

(1) mvn install -P fedora-installer (ok)

 

(2) install with quick install option (ok)

 

(3) mvn install -Dintegration.test.skip=true (pass)

 

(4) fcrepo-src-3.4.2]$ mvn integration-test -P configQ (failed)

 

 

 

Results:

 

 

 

Failed tests:

 

 

testFedoraIngestAndPurge(org.fcrepo.test.integration.TestCommandLineUtilitie

s)

 

 

testBatchBuildAndBatchIngestAndPurge(org.fcrepo.test.integration.TestCommand

LineUtilities)

 

 

testBatchBuildIngestAndPurge(org.fcrepo.test.integration.TestCommandLineUtil

ities)

 

  testBatchModify(org.fcrepo.test.integration.TestCommandLineUtilities)

 

  testExport(org.fcrepo.test.integration.TestCommandLineUtilities)

 

  testGetChainedDissemination(org.fcrepo.test.api.TestAPIALiteConfigA)

 

 

 

Tests in error:

 

  testIngestFOXML10(org.fcrepo.test.integration.TestCommandLineFormats)

 

  testIngestFOXML11(org.fcrepo.test.integration.TestCommandLineFormats)

 

  testIngestMETS11(org.fcrepo.test.integration.TestCommandLineFormats)

 

  testIngestMETS10(org.fcrepo.test.integration.TestCommandLineFormats)

 

  testIngestATOM(org.fcrepo.test.integration.TestCommandLineFormats)

 

  testIngestATOM_ZIP(org.fcrepo.test.integration.TestCommandLineFormats)

 

  testExportFOXML10(org.fcrepo.test.integration.TestCommandLineFormats)

 

  testExportFOXML11(org.fcrepo.test.integration.TestCommandLineFormats)

 

  testExportMETS11(org.fcrepo.test.integration.TestCommandLineFormats)

 

  testExportMETS10(org.fcrepo.test.integration.TestCommandLineFormats)

 

  testExportATOM(org.fcrepo.test.integration.TestCommandLineFormats)

 

  testExportATOM_ZIP(org.fcrepo.test.integration.TestCommandLineFormats)

 

  testGetNextPID(org.fcrepo.test.api.TestAPIMLite)

 

  testGetDatastreamDissemination(org.fcrepo.test.api.TestAPIALite)

 

  testGetObjectProfileBasicCModel(org.fcrepo.test.api.TestAPIALite)

 

  APIALite TestSuite(org.fcrepo.test.DemoObjectTestSetup)

 

  APIALiteConfigA TestSuite(org.fcrepo.test.DemoObjectTestSetup)

 

 

 

Tests run: 87, Failures: 6, Errors: 17, Skipped: 0

 

 

 

[INFO]

------------------------------------------------------------------------

 

[ERROR] BUILD FAILURE

 

[INFO]

------------------------------------------------------------------------

 

[INFO] There are test failures.

 

 

 

Please refer to

/home/yp9/dev/fcrepo-src-3.4.2/fcrepo-integrationtest/target/surefire-report

s for the individual test results.

 

[INFO]

------------------------------------------------------------------------

 

[INFO] For more information, run Maven with the -e switch

 

[INFO]

------------------------------------------------------------------------

 

[INFO] Total time: 2 minutes 57 seconds

 

[INFO] Finished at: Thu Feb 24 16:34:57 EST 2011

 

[INFO] Final Memory: 78M/187M

 

[INFO]

------------------------------------------------------------------------

 

  

 

 

 

=======================

 

Jerry Yun Pan, Ph.D

 

ORNL DAAC

 

Environmental Science Division

 

Oak Ridge National Laboratory

 

Oak Ridge, TN 37831

 

phone: 678-770-3721

 

 

 

-------------- next part --------------

An HTML attachment was scrubbed...

 

------------------------------

 

----------------------------------------------------------------------------
--

Free Software Download: Index, Search & Analyze Logs and other IT data in 

Real-Time with Splunk. Collect, index and harness all the fast moving IT
data 

generated by your applications, servers and devices whether physical,
virtual

or in the cloud. Deliver compliance at lower cost and gain new business 

insights. http://p.sf.net/sfu/splunk-dev2dev 

 

------------------------------

 

_______________________________________________

Fedora-commons-users mailing list

Fedora-commons-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

 

 

End of Fedora-commons-users Digest, Vol 48, Issue 16

****************************************************

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to