Results 1 to 10 of 11

Thread: RC1 what git branch is it based on?

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Location
    Philadelphia, PA, USA
    Posts
    228

    Default RC1 what git branch is it based on?

    I noticed that there is a new 2.0.x branch in git.
    There was also a CI build of 2.1.0 noticed in the wild.

    Which branch should I track for 2.0.x development leading towards 2.0.0 Final?
    I need that to keep Slices up to date locally.
    Thanks
    Dmitry

  2. #2
    Join Date
    Oct 2008
    Posts
    493

    Default

    The RC1 codebase is in the 2.0.x branch.
    Andy Wilkinson
    SpringSource

  3. #3
    Join Date
    Dec 2005
    Location
    Philadelphia, PA, USA
    Posts
    228

    Default

    Thanks Andy.

    Just a quick follow up. Why would tests crash on my machine?
    "spring-build/common/quality.xml:223: Tests failed (crashed)"

    Just running build-kernel/ant clean test

    Code:
    test.do:
        [mkdir] Created dir: /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/com.springsource.kernel.test/target/test-classes
      [s:javac] Compiling 12 source files to /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/com.springsource.kernel.test/target/test-classes
         [copy] Copying 28 files to /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/com.springsource.kernel.test/target/test-classes
        [junit] Testsuite: com.springsource.kernel.concurrent.test.ApplicationContextDependencyMonitorIntegrationTests
       [subant] Leaving directory: /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/com.springsource.kernel.test
    
    BUILD FAILED
    /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/spring-build/multi-bundle/quality.xml:28: The following error occurred while executing this line:
    /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/spring-build/multi-bundle/common.xml:71: The following error occurred while executing this line:
    /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/spring-build/common/quality.xml:53: The following error occurred while executing this line:
    /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/spring-build/common/quality.xml:223: Tests failed (crashed)
    Thanks
    Dmitry

  4. #4
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    ApplicationContextDependencyMonitorIntegrationTest s is the first integration test and often the problem is that the kernel will not start for some reason. A common mistake is to leave the kernel or dm Server running elsewhere on the machine and then you get a port clash. The only way to diagnose this is by staring at the trace (log.log) or running the test under a debugger (but that requires quite a bit of knowledge of where to put breakpoints etc. - for starters try debugging the initialisation of the test framework - probably out of the superclass of the ACDMIT class).

    You might also try killing off your Ivy cache to see if some obscure conflict is causing the problem. Also note that we usually do clean builds by issuing:

    ant clean clean-integration test

    or, when we want to check findbugs and code coverage:

    ant precommit

    Hope that's some help! If you dig into the trace and find something odd, please post back here, although we are down to a skeleton crew as people go off for the Christmas break.
    Glyn Normington
    SpringSource

  5. #5
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    Dmitry - please note that there is a problem on the master branch in the kernel possibly similar to what you are seeing, although a stack trace is produced. I am looking into the problem. Which branch are you attempting to build?
    Glyn Normington
    SpringSource

  6. #6
    Join Date
    Dec 2005
    Location
    Philadelphia, PA, USA
    Posts
    228

    Default

    I am trying to work with 2.0.x. Still getting a crash without any further info when doing a full build with test, i.e. build-kernel/ant clean test

    Code:
    test.do:
        [mkdir] Created dir: /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/com.springsource.kernel.test/target/test-classes
      [s:javac] Compiling 12 source files to /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/com.springsource.kernel.test/target/test-classes
         [copy] Copying 28 files to /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/com.springsource.kernel.test/target/test-classes
        [junit] Testsuite: com.springsource.kernel.concurrent.test.ApplicationContextDependencyMonitorIntegrationTests
       [subant] Leaving directory: /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/com.springsource.kernel.test
    
    BUILD FAILED
    /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/spring-build/multi-bundle/quality.xml:28: The following error occurred while executing this line:
    /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/spring-build/multi-bundle/common.xml:71: The following error occurred while executing this line:
    /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/spring-build/common/quality.xml:53: The following error occurred while executing this line:
    /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/spring-build/common/quality.xml:223: Tests failed (crashed)
    switched to com.springsource.kernel.test and tried to test from there. Same error:

    Code:
    resolve.test:
    [ivy:cachepath] 	[2.1.0.BUILD-20091218172307] com.springsource.kernel#com.springsource.kernel.dm;latest.integration
    [ivy:cachepath] 	[2.1.0.BUILD-20091218172307] com.springsource.kernel#com.springsource.kernel.core;latest.integration
    
    test.do:
        [mkdir] Created dir: /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/com.springsource.kernel.test/target/test-classes
      [s:javac] Compiling 12 source files to /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/com.springsource.kernel.test/target/test-classes
         [copy] Copying 28 files to /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/com.springsource.kernel.test/target/test-classes
        [junit] Testsuite: com.springsource.kernel.concurrent.test.ApplicationContextDependencyMonitorIntegrationTests
    
    BUILD FAILED
    /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/spring-build/common/quality.xml:53: The following error occurred while executing this line:
    /Users/dsklyut/Projects/sources/spring/dm-server-source/kernel/spring-build/common/quality.xml:223: Tests failed (crashed)
    
    Total time: 21 seconds
    Thanks
    Dmitry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •