Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] BUILD STATUS:: trunk cb build failed! - see JUnit 4.4 dependency via Assume.class for new JPA test classes in Dynamic JPA svn rev# 5555

Eric,
    1) The download server is out of date - the last entry is last months' bsb-trunk_nightly_090924-0105.log
       To get the build failure - I updated to 5555 in a clean view and get a compile failure in eclipselink.jpa.test below for rev# 5555

    2) The build failures look to be an introduction of post JUnit 4.3.1 functionality in the Dynamic JPA work in the new jpa test classes - I understand that another submission also requires the use of JUnit 4.5+.  We may need to force an update of the minimum JUnit dependency.  Here it is the JUnit 4.4 Assume.class
http://junit.sourceforge.net/doc/ReleaseNotes4.4.html

    See the new
http://fisheye2.atlassian.com/browse/eclipselink/trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/employee/EmployeeQueriesTestSuite.java
    to start

compile-standard:
    [javac] Compiling 769 source files to C:\view_w342e\jpa\eclipselink.jpa.test\classes
Warning: Reference compile.path has not been set at runtime, but was found during
build file parsing, attempting to resolve. Future versions of Ant may support
 referencing ids defined in non-executed targets.
    [javac] C:\view_w342e\jpa\eclipselink.jpa.test\src\org\eclipse\persistence\testing\tests\jpa\dyn
amic\employee\EmployeeQueriesTestSuite.java:42: cannot find symbol
    [javac] symbol  : class Assume
    [javac] location: package org.junit
    [javac] import static org.junit.Assume.assumeTrue;
    [javac]                        ^

    As I understand it we currently run with Ant 1.7.1 and JUnit 4.3.1 - I recommend we switch to JUnit 4.5 at least.

    3) There should be no issue with my SVN rev# 5556 as I made minimal core changes (with no commit conflicts) that are not DB specific.
    As a standard verification procedure, I....
        Compiled in both ant and eclipse ok, and ran the JPA LRG from ant with 19 new tests ok with 0,0 results below
See...
http://fisheye2.atlassian.com/changelog/eclipselink/?cs=5556

5556 created by mobrien on 15 October 2009, 15:46:14 -0500 (4 hours ago) (patch)
266912: DI 94: Split up and granularize metamodel test suite (part 1 of 2)
https://bugs.eclipse.org/bugs/attachment.cgi?id=149683&action="">
http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/metamodel_api#DI_94:_20091015:_Split_and_Granularize_Test_Suite
Test results: 19 new for JPA LRG
   [junit] Tests run: 1447, Failures: 0, Errors: 0, Time elapsed: 1,336.395 sec

    4) Some of you may be wondering how a 5556 submission compiled - if the build was broken in 5555?
       This is a good question. This will happen if you have no merge conflict that forces SVN to tell you to update before your commit.

       Here is some information on commit/update precedence that may benefit everyone.
       As a final validation step - you may update after you commit to make sure that you are picking up the changed between when you last updated and your new SVN rev - I did not do this step this time (I also did not verify my changes in a clean view - otherwise I would have picked up the build failure in 5555).
       The 5556 commit was off of a version prior to 5551 from yesterday (note even though you do a commit and SVN says you are at 5556 for example - you are really only at (5551 + your changes) until you do a refresh after commit) - unless there is a merge conflict - where you are forced to update before a commit.
        Here is some forensics for those who like extra details
        Step 1 - update to 5551, compile = build OK
        Step 2 - after a couple hours - commit and get rev# 5556 = build OK
        Note: at this stage SVN reports that you are at 5556 - but you are not really
        Step 3 - immediately update to 5556 (according to SVN you should get no changes - but you do)
                      now at a full 5556 = build BROKEN.

    thank you
    /michael

eric.gwin@xxxxxxxxxx wrote:
Build summary for 2.0.0.v20091015-r5556
-----------------------------------
Full Build log can be found on the build machine at:
    /shared/rt/eclipselink/logs/bsb-trunk_cb_091015-1700.log
or on the download server at:
    http://www.eclipse.org/eclipselink/downloads/build-failures.php
-----------------------------------

SVN Changes since Last Build:
------------------------------------------------------------------------
r5556 | mobrien | 2009-10-15 16:46:14 -0400 (Thu, 15 Oct 2009)
Changed paths:
   M /trunk/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/localization/i18n/TraceLocalizationResource.java
   M /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/metamodel/MetamodelMetamodelTest.java
------------------------------------------------------------------------
r5555 | minorman | 2009-10-15 16:26:55 -0400 (Thu, 15 Oct 2009)
Changed paths:
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/AllTests.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/DynamicEmployeeEntityComparator.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/DynamicPersistenceInitializationHelper.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/DynamicTestHelper.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/employee
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/employee/AllTests.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/employee/DynamicEmployeeSystem.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/employee/EmployeeQueriesTestSuite.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/employee/MappingConfigTestSuite.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/AllTests.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/SimpleTypeCompositeKeyTestSuite.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/SimpleTypeTestSuite.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/mappings
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/mappings/AllTests.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/mappings/SimpleTypes_AggregateObject.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/mappings/SimpleTypes_ManyToMany.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/mappings/SimpleTypes_MultiTable.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/mappings/SimpleTypes_OneToMany.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/mappings/SimpleTypes_OneToOne.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/sequencing
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/sequencing/AllTests.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/sequencing/BaseSequencingTestSuite.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/sequencing/DefaultSequencingTestSuite.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/sequencing/NativeSequencingTestSuite.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/sequencing/TableSequencingTestSuite.java
   A /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/dynamic/simple/sequencing/UnaryTableSequencingTestSuite.java
------------------------------------------------------------------------
r5554 | minorman | 2009-10-15 16:22:45 -0400 (Thu, 15 Oct 2009)
Changed paths:
   M /trunk/jpa/org.eclipse.persistence.jpa/src/org/eclipse/persistence/internal/jpa/deployment/ArchiveFactoryImpl.java
   M /trunk/jpa/org.eclipse.persistence.jpa/src/org/eclipse/persistence/internal/jpa/deployment/PersistenceInitializationHelper.java
   M /trunk/jpa/org.eclipse.persistence.jpa/src/org/eclipse/persistence/jpa/PersistenceProvider.java
------------------------------------------------------------------------
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
  


Back to the top