|
From: Ron S. <rs...@re...> - 2015-06-10 23:17:21
|
Hi Romain, I just checked out, built, and tested the master branch from https://github.com/resteasy/Resteasy. Here are a few remarks that might help. 1. When I clean and build, I always get a failure in the callback-tests module in async-http-servlet-3.0. I think it might be specific to linux, and I haven't taken the time to figure it out. I just wrote a script mvn clean install -DskipTests=true; mvn clean install -DskipTests=true -rf :callback-tests I run that, and then I run mvn test 2. I've never had a problem with the examples module. What are you seeing? One possibility is that you have something running that's using the 8080 port. I wrote a script (killportuser) for that: > #!/bin/tcsh > > if ($#argv < 1) then > echo usage: killportuser port > exit > endif > > set port="$1" > echo Looking for process using port $port > set p = `fuser -n tcp $port,,` > if ( x${p}x == xx ) then > echo $port is not in use > else > echo killing process $p > kill -9 $p > endif [Yeah, I admit it - I use tcsh.] 3. There are some tests in jaxb, written by me, that started causing a problem at some point. Look at the after() method in org.jboss.resteasy.test.charset.TestCharsetExpand and TestCharsetNoExpand. It seems that when you add a line > @AfterClass > public static void after() throws Exception > { > process.destroy(); > Thread.sleep(5000); // <=== ADD > System.out.println("Process destroyed."); > } it prevents a later test from failing. Could you try that and see if you have the same result? I should commit that change. 4. As for the security modules, I don't have any problems. What are you seeing? Do you have the "unlimited strength JCE policy files"? If not, that could cause failures. See http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html for jdk 8. -Ron On 06/04/2015 04:39 AM, Romain PELISSE wrote: > Hi all, > > i'm trying to build locally RestEasy, and I had to disable part of the tests to do so (see diff joined). I wonder if this is a "known issue" or if I am missing > part of the puzzle (maybe I need to have some server running, or run a specific task before running 'mvn install' or maybe this is tie to my local config...) > -- > Best Regards, > http://developerblog.redhat.com/author/rpelisse/ > > Romain PELISSE > Software Engineer > Red Hat GmbH > Zieher Business Centers, > Am Treptower Park 75, > 12435 Berlin > Germany > Cell (DE): +49 (0) 172-7442628 > Cell (FR): +33 (0) 669304455 > > Delivering value year after year > > > Red Hat ranks # 1 in value among software vendors > > > http://www.redhat.com/promo/vendor/ > > > Freedom...Courage...Commitment...Accountability > > Red Hat GmbH, http://www.de.redhat.com/ Registered seat: Grasbrunn, > Commercial register: Amtsgericht Muenchen, HRB 153243, > Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Charles Peters > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers |