Re: Surefire (with JUnit and TestNG) with the Release plugin and failures/errors in JUnit tests

2012-11-07 Thread Kristian Rosenvold
This seems to be a bug; would you mind filing an issue http://jira.codehaus.org/browse/SUREFIRE ? Kristian 2012/11/8 Larry Shatzer, Jr. : > I'm using a fairly recent feature of Surefire where you can specify > multiple providers ( > http://maven.apache.org/plugins/maven-surefire-plugin/examples/

Re: [VOTE] Release Maven Plugin Tools version 3.2 , Take 2

2012-11-07 Thread Hervé BOUTEMY
+1 tested on maven-clean-plugin everything seems ok now in the site thank you for finishing my initial updates on MPLUGIN-227: I knew it wasn't perfect but didn't have sufficient time to do more and hoped this would at least help finding the right direction Regards, Hervé Le mercredi 7 novem

Surefire (with JUnit and TestNG) with the Release plugin and failures/errors in JUnit tests

2012-11-07 Thread Larry Shatzer, Jr.
I'm using a fairly recent feature of Surefire where you can specify multiple providers ( http://maven.apache.org/plugins/maven-surefire-plugin/examples/providers.html ) I'm using both TestNG and Junit. Here is the secion of the pom in question: org.apache.maven.plugins maven-surefire-p

Re: In-progress patch for reusable surefire forks (SUREFIRE-751)

2012-11-07 Thread Andreas Gudian
2012/11/7 Kristian Rosenvold > Having given this some more thought and corrolated with Dawid's mail, > I think the main > concern with free-running forks is in the logging/reporting bits. I'm > still a firm beliver that *more* threads > never make things simpler and I think you should clean up th

Re: In-progress patch for reusable surefire forks (SUREFIRE-751)

2012-11-07 Thread Dawid Weiss
> I'll take a look at that. The only thing new to surefire in this patch > is really dynamic allocation of tests to forked processes, since all > the other stuff you mention is already supported. Well, it's a lot more than just that ;) But I agree most of this stuff (randomization, thread leak de

Re: In-progress patch for reusable surefire forks (SUREFIRE-751)

2012-11-07 Thread Dawid Weiss
> If you have tests like that you end up having to use a new process for each > test class. That's like having to decide between forkMode once and always > in the single-threaded configuration. But yes, I've seen such tests as well > :). I agree that running a suite-per-jvm is the ultimate isolati

Re: Deploying maven-scm site

2012-11-07 Thread Mark Hobson
Goodness, I've just tried adding to settings.xml and so far it seems to be happily scp'ing autonomously. I'm sure I tried this the other night.. Thanks for listening, Mark On 7 November 2012 19:51, Mark Hobson wrote: > I do mean passphrase. My public key is on people.apache.org. > > Adding

Re: Deploying maven-scm site

2012-11-07 Thread Mark Hobson
I do mean passphrase. My public key is on people.apache.org. Adding to settings.xml results in: [INFO] --- maven-site-plugin:3.1:deploy (default-deploy) @ maven-scm --- [INFO] Parent project loaded from repository: org.apache.maven:maven-parent:pom:22 [INFO] Parent project loaded from repositor

Re: Deploying maven-scm site

2012-11-07 Thread Benson Margulies
Do you really mean passphrase or password? Have you added your public key to your authorized_keys on people? On Wed, Nov 7, 2012 at 2:21 PM, Mark Hobson wrote: > Hi Benson, > > I can ssh and scp to people.apache.org by entering my passphrase. > I've even tried using ssh-add to remove the passph

Re: In-progress patch for reusable surefire forks (SUREFIRE-751)

2012-11-07 Thread Kristian Rosenvold
2012/11/7 Andreas Gudian : > Hey guys, > > thanks for your input. Kristian, I'd like to start with your concerns about > the threading in the forked process. With the code as it is now, you are > totally right, that threading in this LazyTestsToRun class is not really > required. It's a left-over f

Re: Deploying maven-scm site

2012-11-07 Thread Benson Margulies
the ssh command. However, if the ssh command is succeeding, I'm puzzled. On Wed, Nov 7, 2012 at 2:21 PM, Mark Hobson wrote: > Hi Benson, > > I can ssh and scp to people.apache.org by entering my passphrase. > I've even tried using ssh-add to remove the passphrase prompt but it > still resorts

Re: In-progress patch for reusable surefire forks (SUREFIRE-751)

2012-11-07 Thread Kristian Rosenvold
2012/11/7 Dawid Weiss : > http://labs.carrotsearch.com/randomizedtesting.html > https://github.com/carrotsearch/randomizedtesting I'll take a look at that. The only thing new to surefire in this patch is really dynamic allocation of tests to forked processes, since all the other stuff you mention

Re: Deploying maven-scm site

2012-11-07 Thread Mark Hobson
Hi Benson, I can ssh and scp to people.apache.org by entering my passphrase. I've even tried using ssh-add to remove the passphrase prompt but it still resorts to a password. What takes the -d switch you mention? My settings.xml looks similar, but uncommenting still doesn't stop the prompt. Tha

Re: In-progress patch for reusable surefire forks (SUREFIRE-751)

2012-11-07 Thread Andreas Gudian
Hey guys, thanks for your input. Kristian, I'd like to start with your concerns about the threading in the forked process. With the code as it is now, you are totally right, that threading in this LazyTestsToRun class is not really required. It's a left-over from a previous attempt where the forke

Re: In-progress patch for reusable surefire forks (SUREFIRE-751)

2012-11-07 Thread Dawid Weiss
> some of the awesomest stuff I've seen in a long while, I simply have I implemented such stuff for Apache Lucene/ Solr a while back, it's been running for quite a while now. It's not technically Maven (it's an Ant task) but a Maven plugin wrapper for it is also provided and does an equivalent thi

[VOTE] Release Maven Plugin Tools version 3.2 , Take 2

2012-11-07 Thread Kristian Rosenvold
Hi, We solved 10 issues: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11139&version=18639 There are still a couple of issues left in JIRA: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&pid=11139&status=1 ** Note: When upgrading to this plugin it is important to run

Re: In-progress patch for reusable surefire forks (SUREFIRE-751)

2012-11-07 Thread Kristian Rosenvold
2012/11/7 Kristian Rosenvold : > The thing I wonder most about is that Andreas's code also maintains a > queue of tests within each forked server (=test runner). When the > queue runs empty, it requests more tests, which are provided from the > ForkClient within the plugin. In my mind I had always

In-progress patch for reusable surefire forks (SUREFIRE-751)

2012-11-07 Thread Kristian Rosenvold
Andreas Gudian sent me a private email about this, but since this is some of the awesomest stuff I've seen in a long while, I simply have to share and invite the rest of you to participate in this discussion ;) The patch provides reusable forks for surefire (we already support parallel forks, now

Re: Deploying maven-scm site

2012-11-07 Thread Benson Margulies
Can you do a plain ssh to the target, and/or an SCP? If not, use -d and see what the fuss is about. If so, then I suspect that you have the wrong settings.xml. Mine looks like: apache.website bimargulies /users/benson/.ssh/id_rsa On We

Re: Deploying maven-scm site

2012-11-07 Thread Mark Hobson
I'd be happy to temporarily not use keys and put my password in settings.xml, although I still get prompted even then. What do others do when deploying multi-module sites? Thanks, Mark On 6 November 2012 23:00, Chris Graham wrote: > Your key is being refused (for a variety of reasons). That's