Are you running tests in parallel... Attaching a debugger with tests in
parallel and fork mode always would not make sense if you were doing that
:-)

- Stephen

---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 20 Dec 2010 06:00, "Kristian Rosenvold" <kristian.rosenv...@gmail.com>
wrote:
> Works fine here, in both "once" and "always" (tested on linux/windows).
> Is port 5005 free ? On occasions I've seen the debugger hang at the OS
> level that require all jvm's to be terminated before it unlocks (maybe
> even a boot on windows).
>
> But please do try to find out what the problem is, esp. the initial
> problem. I don't think attaching with a debugger is broken...
>
> Kristian
>
>
>
> ma., 20.12.2010 kl. 16.40 +1300, skrev Mark Derricutt:
>
>> Doh.
>>
>> So I thought I'd run it thru the debugger and see whats going on....
>>
>> > mvn test -Dmaven.surefire.debug
~/IdeaProjects/securemx/git/smx3-core/smx3.smartrules(develop✗)@Mark-Derricutts-iMac.local
>> [INFO] Scanning for projects...
>> [INFO]
>> [INFO]
------------------------------------------------------------------------
>> [INFO] Building smx3.smartrules 3.1.19-SNAPSHOT
>> [INFO]
------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- antlr3-maven-plugin:3.1.3-1:antlr (default) @ smx3.smartrules
---
>> [INFO] ANTLR: Processing source directory
>>
/Users/amrk/IdeaProjects/securemx/git/smx3-core/smx3.smartrules/src/main/antlr3
>> ANTLR Parser Generator Version 3.1.3 Mar 17, 2009 19:23:44
>> Grammar smx3/smartrules/grammar/SmartRules.g is up to date - build
skipped
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources)
>> @ smx3.smartrules ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 62 resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>> smx3.smartrules ---
>> [INFO] Nothing to compile - all classes are up to date
>> [INFO]
>> [INFO] --- maven-scr-plugin:1.4.4:scr (generate-scr-scrdescriptor) @
>> smx3.smartrules ---
>> [INFO] Writing abstract service descriptor
>>
/Users/amrk/IdeaProjects/securemx/git/smx3-core/smx3.smartrules/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml
>> with 4 entries.
>> [INFO] Generating 4 Service Component Descriptors to
>>
/Users/amrk/IdeaProjects/securemx/git/smx3-core/smx3.smartrules/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.4.3:testResources
>> (default-testResources) @ smx3.smartrules ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing resourceDirectory
>>
/Users/amrk/IdeaProjects/securemx/git/smx3-core/smx3.smartrules/src/test/resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:2.3.2:testCompile
>> (default-testCompile) @ smx3.smartrules ---
>> [INFO] Nothing to compile - all classes are up to date
>> [INFO]
>> [INFO] --- maven-surefire-plugin:2.7:test (default-test) @
smx3.smartrules ---
>> [INFO] Surefire report directory:
>>
/Users/amrk/IdeaProjects/securemx/git/smx3-core/smx3.smartrules/target/surefire-reports
>> ERROR: transport error 202: bind failed: Address already in use
>> ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
>> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
>> initialized [../../../src/share/back/debugInit.c:690]
>> FATAL ERROR in native method: JDWP No transports initialized,
>> jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
>> /bin/sh: line 1: 13766 Abort trap
>> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
>> -Djava.awt.headless=true -Xmx256m -XX:MaxPermSize=128m -Xdebug
>> -Xnoagent -Djava.compiler=NONE
>> -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 -jar
>>
/Users/amrk/IdeaProjects/securemx/git/smx3-core/smx3.smartrules/target/surefire/surefirebooter1935872396494327920.jar
>>
/Users/amrk/IdeaProjects/securemx/git/smx3-core/smx3.smartrules/target/surefire/surefire5771971589653241628tmp
>>
/Users/amrk/IdeaProjects/securemx/git/smx3-core/smx3.smartrules/target/surefire/surefire3829647600916902538tmp
>> [INFO]
------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
------------------------------------------------------------------------
>> [INFO] Total time: 14.020s
>> [INFO] Finished at: Mon Dec 20 16:37:38 NZDT 2010
>> [INFO] Final Memory: 16M/81M
>> [INFO]
------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.7:test (default-test)
>> on project smx3.smartrules: There are test failures.
>> [ERROR]
>> [ERROR] Please refer to
>>
/Users/amrk/IdeaProjects/securemx/git/smx3-core/smx3.smartrules/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
>>
>>
>> Looks like surefire 2.7 is rather borked.
>>
>>
>>
>>
>> --
>> "Great artists are extremely selfish and arrogant things" — Steven
>> Wilson, Porcupine Tree
>>
>> On Mon, Dec 20, 2010 at 4:17 PM, Mark Derricutt <m...@talios.com> wrote:
>> > Hrm,
>> >
>> > I'm seeing some tests fail under 2.7 that use Mockito that pass fine
>> > when using 2.6. This is only in one of our modules and not uniform
>> > across other things that use mockito. Will investigate further.
>> >
>> > --
>> > "Great artists are extremely selfish and arrogant things" — Steven
>> > Wilson, Porcupine Tree
>> >
>> > On Mon, Dec 20, 2010 at 5:27 AM, Kristian Rosenvold
>> > <kristian.rosenv...@gmail.com> wrote:
>> >> Hi,
>> >> The vote has passed with the following result :
>> >>
>> >> +1 (binding): Lukas Theussl, Benjamin Bentmann, Hervé Boutemy, Stephen
Connolly, Olivier Lamy, Vincent Siveton, Kristian Rosenvold
>> >> +1 (non binding): Tony Chemit, Jeff Jensen, Robert Scholte
>> >>
>> >> I will promote the artifacts to the central repo.
>> >>
>> >> Kristian
>> >>
>> >>
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
>> >> For additional commands, e-mail: dev-h...@maven.apache.org
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
>> For additional commands, e-mail: dev-h...@maven.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>

Reply via email to