oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis McGibbney" <lewi...@apache.org>
Subject Re: Review Request 38021: OODT-872 Upgrade Jena dependencies to org.apache.jena 3.0.0
Date Sat, 05 Sep 2015 14:03:19 GMT


> On Sept. 4, 2015, 6:17 p.m., Chris Mattmann wrote:
> > Lewis I applied this patch and tried it on the 0.10 RC #2 branch that I'm about
to ship. Weirdly enough tests don't pass in commons:
> > 
> > {{{
> > [dhcp-137-79-206-90:~/tmp/oodt0.11] mattmann% more commons/target/surefire-reports/org.apache.oodt.commons.util.XMLTest.txt

> > -------------------------------------------------------------------------------
> > Test set: org.apache.oodt.commons.util.XMLTest
> > -------------------------------------------------------------------------------
> > Tests run: 9, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.253 sec <<<
FAILURE!
> > testDOM(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.092 sec  <<<
FAILURE!
> > junit.framework.AssertionFailedError: Stringified DOM document CRC mismatch, got
value = 1102069581
> >         at junit.framework.Assert.fail(Assert.java:47)
> >         at junit.framework.Assert.assertTrue(Assert.java:20)
> >         at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)
> > 
> > testDump(org.apache.oodt.commons.util.XMLTest)  Time elapsed: 0.006 sec  <<<
FAILURE!
> > junit.framework.AssertionFailedError: Dumped DOM tree CRC mismatch; got 3208931170
> >         at junit.framework.Assert.fail(Assert.java:47)
> >         at junit.framework.Assert.assertTrue(Assert.java:20)
> >         at org.apache.oodt.commons.util.XMLTest.testDump(XMLTest.java:88)
> > 
> > [dhcp-137-79-206-90:~/tmp/oodt0.11] mattmann% 
> > }}}
> > 
> > {{{
> > -------------------------------------------------------
> >  T E S T S
> > -------------------------------------------------------
> > Running org.apache.oodt.commons.util.LDAPTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
> > Running org.apache.oodt.commons.activity.ActivityStoppedTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.13 sec
> > Running org.apache.oodt.commons.io.FixedBufferOutputStreamTest
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
> > Running org.apache.oodt.commons.ConfiguredTestCaseTest
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.716 sec
> > Running org.apache.oodt.commons.NaughtyTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
> > Running org.apache.oodt.commons.net.NetTest
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec
> > Running org.apache.oodt.commons.util.Base64Test
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> > Running org.apache.oodt.commons.util.EnterpriseEntityResolverTest
> > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.151 sec
> > Running org.apache.oodt.commons.ConfigurationTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.21 sec
> > Running org.apache.oodt.commons.activity.DatagramLoggingActivityFactoryTest
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.096 sec
> > Running org.apache.oodt.commons.activity.ActivityTrackerTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec
> > Running org.apache.oodt.commons.util.XMLTest
> > Tests run: 9, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.253 sec <<<
FAILURE!
> > Running org.apache.oodt.commons.activity.ActivityTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
> > Running org.apache.oodt.commons.io.DirectorySelectorTest
> > Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
> > Running org.apache.oodt.commons.filter.TestTimeEventWeightedHash
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
> > Running org.apache.oodt.commons.activity.CompositeActivityTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 sec
> > Running org.apache.oodt.commons.object.jndi.ObjectContextTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
> > Running org.apache.oodt.commons.util.CacheMapTest
> > Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
> > Running org.apache.oodt.commons.util.UtilityTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
> > Running org.apache.oodt.commons.MultiServerTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.19 sec
> > Running org.apache.oodt.commons.io.TestLoggerOutputStream
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
> > Running org.apache.oodt.commons.io.NullInputStreamTest
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
> > Running org.apache.oodt.commons.exec.TestEnvUtilities
> > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
> > Running org.apache.oodt.commons.AppTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
> > Running org.apache.oodt.commons.object.jndi.TestContextTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
> > Running org.apache.oodt.commons.io.NullOutputStreamTest
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
> > Running org.apache.oodt.commons.activity.IncidentTest
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
> > Running org.apache.oodt.commons.activity.HistoryTest
> > Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.842 sec
> > 
> > Results :
> > 
> > Failed tests: 
> > 
> > Tests run: 63, Failures: 2, Errors: 0, Skipped: 0
> > 
> > [INFO] ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO] 
> > [INFO] OODT Core .......................................... SUCCESS [  2.820 s]
> > [INFO] Common Utilities ................................... FAILURE [ 17.689 s]
> > [INFO] CAS Command Line Interface ......................... SKIPPED
> > [INFO] Process Control System Input Data Package .......... SKIPPED
> > [INFO] Catalog and Archive Service Generic Multi-valued Metadata Container SKIPPED
> > [INFO] CAS Protocol ....................................... SKIPPED
> > [INFO] CAS Protocol FTP Implementation .................... SKIPPED
> > [INFO] CAS Protocol HTTP Implementation ................... SKIPPED
> > [INFO] CAS Protocol IMAPS Implementation .................. SKIPPED
> > [INFO] CAS Protocol SFTP Implementation ................... SKIPPED
> > [INFO] Query Expression ................................... SKIPPED
> > [INFO] OODT Single Sign On Security Package ............... SKIPPED
> > [INFO] Catalog and Archive File Management Component ...... SKIPPED
> > [INFO] OODT CAS Virtual Catalog and Integration Service. .. SKIPPED
> > [INFO] Catalog and Archive Resource Management Component .. SKIPPED
> > [INFO] Catalog and Archive Workflow Management Component .. SKIPPED
> > [INFO] Catalog and Archive Crawling Framework ............. SKIPPED
> > [INFO] CAS Curation Web Services .......................... SKIPPED
> > [INFO] Process Control System Core Package ................ SKIPPED
> > [INFO] OODT Wicket Web Components ......................... SKIPPED
> > [INFO] CAS Curation Interface ............................. SKIPPED
> > [INFO] CAS PGE Adaptor Framework .......................... SKIPPED
> > [INFO] CAS Installer Maven Mojo ........................... SKIPPED
> > [INFO] OODT :: Archetypes :: OpsUI ........................ SKIPPED
> > [INFO] OODT :: Archetypes :: RADiX ........................ SKIPPED
> > [INFO] OODT :: Archetypes ................................. SKIPPED
> > [INFO] CAS Push-Pull-Framework ............................ SKIPPED
> > [INFO] Product Service .................................... SKIPPED
> > [INFO] Profile Service .................................... SKIPPED
> > [INFO] OODT Web Grid ...................................... SKIPPED
> > [INFO] XML-configured, DBMS-based Product and Profile Server SKIPPED
> > [INFO] Apache OODT Configurable OPeNDAP Profile Server .... SKIPPED
> > [INFO] CAS File Manager Browser Web App ................... SKIPPED
> > [INFO] CAS Product Server Web Application ................. SKIPPED
> > [INFO] CAS Workflow Manager Monitor Web App ............... SKIPPED
> > [INFO] Catalog and Archive File Management Browser ........ SKIPPED
> > [INFO] Catalog and Archive Workflow Management GUI Editor . SKIPPED
> > [INFO] Process Control System Operator Interface Webapp ... SKIPPED
> > [INFO] OODT Process Control System JAX-RS service layer ... SKIPPED
> > [INFO] Apache OODT ........................................ SKIPPED
> > [INFO] ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO] ------------------------------------------------------------------------
> > [INFO] Total time: 21.223 s
> > [INFO] Finished at: 2015-09-04T11:12:55-07:00
> > [INFO] Final Memory: 36M/456M
> > [INFO] ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4:test
(default-test) on project oodt-commons: There are test failures.
> > [ERROR] 
> > [ERROR] Please refer to /Users/mattmann/tmp/oodt0.11/commons/target/surefire-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 :oodt-commons
> > [
> > }}}
> > 
> > So I think we need to check it out - seems like CRC errors.

Yep these were the same issues I was getting at some stage. Maybe post OODT-871. Will look
into it and make sure to update in due course.


- Lewis


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38021/#review97779
-----------------------------------------------------------


On Sept. 1, 2015, 9:59 p.m., Lewis McGibbney wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38021/
> -----------------------------------------------------------
> 
> (Updated Sept. 1, 2015, 9:59 p.m.)
> 
> 
> Review request for oodt.
> 
> 
> Bugs: OODT-872
>     https://issues.apache.org/jira/browse/OODT-872
> 
> 
> Repository: oodt
> 
> 
> Description
> -------
> 
> We have been having some problems recently with older Jena versioning.
> I decided to just upgrade our use of Jena within profile server and grid components.
> 
> 
> Diffs
> -----
> 
>   trunk/core/pom.xml 1700669 
>   trunk/grid/pom.xml 1700669 
>   trunk/profile/pom.xml 1700669 
>   trunk/profile/src/main/java/org/apache/oodt/profile/EnumeratedProfileElement.java 1700669

>   trunk/profile/src/main/java/org/apache/oodt/profile/Profile.java 1700669 
>   trunk/profile/src/main/java/org/apache/oodt/profile/ProfileElement.java 1700669 
>   trunk/profile/src/main/java/org/apache/oodt/profile/RangedProfileElement.java 1700669

>   trunk/profile/src/main/java/org/apache/oodt/profile/ResourceAttributes.java 1700669

>   trunk/profile/src/main/java/org/apache/oodt/profile/UnspecifiedProfileElement.java
1700669 
>   trunk/profile/src/main/java/org/apache/oodt/profile/Utility.java 1700669 
> 
> Diff: https://reviews.apache.org/r/38021/diff/
> 
> 
> Testing
> -------
> 
> Tests on profile server and grid componenets pass. 
> Had to remove the <additionalparam>-Xdoclint:none</additionalparam> from
core/pom.xml due to javac 8 restrictions. 
> Also stepped through a good bit of code and made implemented generic type safety.
> 
> 
> Thanks,
> 
> Lewis McGibbney
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message