Jacques,
what a mess... I think we need to be more accurate here.
The tests are failing since your commit 1311214 with the new test port numbers;
I didn't follow the details and so I don't know exactly your reasoning behind
this change and most of all why it was urgent.
However, the changes
Actually, I am reviewing the changes I did and I may be able to commit them and
fix the tests.
Jacopo
On Apr 11, 2012, at 9:24 AM, Jacopo Cappellato wrote:
Jacques,
what a mess... I think we need to be more accurate here.
The tests are failing since your commit 1311214 with the new test
I have committed my changes in rev. 1324614.
Now the tests should all pass.
Jacopo
On Apr 11, 2012, at 9:48 AM, Jacopo Cappellato wrote:
Actually, I am reviewing the changes I did and I may be able to commit them
and fix the tests.
Jacopo
On Apr 11, 2012, at 9:24 AM, Jacopo Cappellato
Thanks, I have asked infra about Buildbot again this morning, begins to be
long...
Jacques
From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com
I have committed my changes in rev. 1324614.
Now the tests should all pass.
Jacopo
On Apr 11, 2012, at 9:48 AM, Jacopo Cappellato wrote:
Hi Jacopo,
When running following:
sudo ./ant run-test-suite -Dtest.component=service
-Dtest.suiteName=servicetests
I get:
/Users/s0001/Documents/workspace/ofbiz-trunk/build.xml:954: test.suiteName
is a required parameter: -Dtest.suiteName=testsuitename
and it fails
Test ran fine yesterday
ooops... let me check quickly and I will let you know
Jacopo
On Apr 11, 2012, at 11:48 AM, Pierre Smits wrote:
Hi Jacopo,
When running following:
sudo ./ant run-test-suite -Dtest.component=service
-Dtest.suiteName=servicetests
I get:
Pierre, my fault, I have now fixed it.
Thanks,
Jacopo
On Apr 11, 2012, at 12:29 PM, Jacopo Cappellato wrote:
ooops... let me check quickly and I will let you know
Jacopo
On Apr 11, 2012, at 11:48 AM, Pierre Smits wrote:
Hi Jacopo,
When running following:
sudo ./ant run-test-suite
With ant run load-demo run-tests
I have now only those failed on XP
facilitytestsinventory-tests.testGetInventoryAvailableByFacilityFailureAssertion failed: [quantityOnHandTotal=507] equals 509 as
BigDecimal
junit.framework.AssertionFailedError: Assertion failed:
[quantityOnHandTotal=507]
Success here now
Jacques
From: Jacques Le Roux jacques.le.r...@les7arts.com
With ant run load-demo run-tests
I have now only those failed on XP
facilitytestsinventory-tests.testGetInventoryAvailableByFacilityFailureAssertion failed: [quantityOnHandTotal=507] equals 509 as
BigDecimal
Hi all,
On my Mac every individual test suite executes fine. This is also true for
my CI. But in my CI environment the testsuites for service and webapp
continue to fail due to defined ports already being used by other
production systems.
Aslo, running ant run-tests on my Mac fails.
Regards,
On Apr 11, 2012, at 2:15 PM, Pierre Smits wrote:
Aslo, running ant run-tests on my Mac fails.
Pierre,
could you please confirm that you are running the tests on a clean system:
./ant clean-all load-data run-tests
?
I tested in my Mac a few minutes ago and it was successful.
Jacopo
Jacopo,
I made the same mistake as Jacques did, namely not doing the full cycle.
After I did that it sailed perfectly.
Regards,
Pierre
Op 11 april 2012 14:35 schreef Jacopo Cappellato
jacopo.cappell...@hotwaxmedia.com het volgende:
On Apr 11, 2012, at 2:15 PM, Pierre Smits wrote:
Aslo,
Ok, thanks for confirming.
By the way, all the data updated by the tests should be rolled back after the
tests are completed, and so in theory it should be possible to execute
run-tests multiple times... I will try to investigate this but it is a
separate issue.
I think we can now conclude that
Thanks Erwan,
I fixed it in my CI environment.
Regards,
Pierre
Op 9 april 2012 20:50 schreef Erwan de FERRIERES
erwan.de-ferrie...@nereide.fr het volgende:
Le 09/04/2012 20:22, Pierre Smits a écrit :
HI Erwan,
../..
1. pull from svn trunk the latest code (works perfectly
Hi Jacopo,
Currently in my Jenkins environment following testsuites are failing:
1. bash -ex ./ant run-test-suite -Dtest.component=service
-Dtest.suiteName=servicetests - which seem to have to do with a port
already in use due to code: public static final String url =
Pierre,
you are right: I have two tests failing too.
May it be related to the changes to ports recently committed... I didn't have
time to investigate.
Jacopo
On Apr 10, 2012, at 12:22 PM, Pierre Smits wrote:
Hi Jacopo,
Currently in my Jenkins environment following testsuites are
Hi Jacopo,
When doing som indept analysis on the output of the target:
sudo ./ant run-test-suite -Dtest.component=service
-Dtest.suiteName=servicetests
I found that ports are set in accordance of latest
framework/base/config/test-containers.xml
RMI port = 1100, host is 127.0.0.1
AJP port = 8010
I'm looking at it. It could be that port numbers are harcoded in tests code and
would be issues there
...
OK, in the meantime ran the tests, I got a lot of error here (locally on WinXP)
example-testsuserLoginEntityXmlAssertFailureField [UserLogin.currentPassword]
did not match; file value
Ho , I guess I did not clean-all and load-demo before :/
Retrying...
Jacques
From: Jacques Le Roux jacques.le.r...@les7arts.com
I'm looking at it. It could be that port numbers are harcoded in tests code and
would be issues there
...
OK, in the meantime ran the tests, I got a lot of error
Jacques,
did you load demo data?
Jacopo
On Apr 10, 2012, at 4:30 PM, Jacques Le Roux wrote:
I'm looking at it. It could be that port numbers are harcoded in tests code
and would be issues there
...
OK, in the meantime ran the tests, I got a lot of error here (locally on
WinXP)
Only this one remains
servicetestsservice-xml-rpc-local-engineFailureFailed to read server's
response: Connection refused: connect
junit.framework.AssertionFailedError: Failed to read server's response:
Connection refused: connect
at org.ofbiz.testtools.ServiceTest.run(ServiceTest.java:67)
at
yes, I think so
Jacopo
On Apr 10, 2012, at 5:32 PM, Jacques Le Roux wrote:
HTH (port issue there?)
On Apr 10, 2012, at 5:32 PM, Jacques Le Roux wrote:
Only this one remains
Jacques, I didn't see any commit yet
Jacopo
I did not commit anything, as I said in a previous email (and you pointed out
also) I forgot to an clean-all load-demo
Jacques
From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com
On Apr 10, 2012, at 5:32 PM, Jacques Le Roux wrote:
Only this one remains
Jacques, I didn't see any
ah I see... it is strange that you get just one test that is failing
Jacopo
On Apr 10, 2012, at 6:37 PM, Jacques Le Roux wrote:
I did not commit anything, as I said in a previous email (and you pointed out
also) I forgot to an clean-all load-demo
Jacques
From: Jacopo Cappellato
You are right, this was only a failure. Hastily, I missed also 3 errors, same
reason I guess
serviceteststestSOAPSimpleServiceErrorService did not return expected result
org.ofbiz.service.GenericServiceException: Service did not return expected
result
at
But is there a list of all the test-suites and tests per
application/component?
Op 8 april 2012 20:11 schreef Jacopo Cappellato
jacopo.cappell...@hotwaxmedia.com het volgende:
On Apr 8, 2012, at 4:30 PM, Pierre Smits wrote:
4. Do ant target run-tests (fails - see below - triggers 5 even
Look at component name/testdef/
Jacopo
On Apr 9, 2012, at 8:26 AM, Pierre Smits wrote:
But is there a list of all the test-suites and tests per
application/component?
Op 8 april 2012 20:11 schreef Jacopo Cappellato
jacopo.cappell...@hotwaxmedia.com het volgende:
On Apr 8, 2012, at
Or search for test-suite elements in ofbiz-component.xml files
For example:
test-suite loader=main location=testdef/productionruntests.xml/
Jacopo
On Apr 9, 2012, at 8:56 AM, Jacopo Cappellato wrote:
Look at component name/testdef/
Jacopo
On Apr 9, 2012, at 8:26 AM, Pierre Smits wrote:
Le 08/04/2012 16:30, Pierre Smits a écrit :
Hi Erwan, all,
I have currently setup a test environment for continuous integration with
Jenkins wereby I have following build/test setup configured:
1. pull from svn trunk the latest code (works perfectly - triggers 2)
2. Do ant targets
HI Erwan,
The reason I have split up the build job into several logical ones is
purely pragmatism...
When I do everything in one job and it fails I need to go through al lot of
pages (I pasted every output per job into a word document and got about
1150 pages of output) to assess where the cause
Le 09/04/2012 20:22, Pierre Smits a écrit :
HI Erwan,
../..
1. pull from svn trunk the latest code (works perfectly -
triggers 2)
2. Do ant targets clean-all, build and load-demo
(works perfectly
No need to call build as load-demo is calling it
Hi Erwan, all,
I have currently setup a test environment for continuous integration with
Jenkins wereby I have following build/test setup configured:
1. pull from svn trunk the latest code (works perfectly - triggers 2)
2. Do ant targets clean-all, build and load-demo (works perfectly
-
On Apr 8, 2012, at 4:30 PM, Pierre Smits wrote:
4. Do ant target run-tests (fails - see below - triggers 5 even when
fails)
Pierre, I don't know if it is useful but run-tests completes successfully in my
local box.
Jacopo
Hi all,
Thanks to Anne I was able to run the ant targets 'build' and 'load-demo' in
my Jenkins after having pulled directly from svn.
But when I ran ant target 'download-cobertura' in the Jenkins build
process the build fails with following result:
Started by upstream project OFBIZ - clean-all
Thanks Anne,
For the heads up. Hadn't realized that the default ant wasn't the good one.
I reconfigured my Jenkins job to point to the ant with OFBiz in the project
directory of the Jenkins workspace, as shown below
var/lib/tomcat6/webapps/jenkins/workspace/OFBIZ-Trunk/trunk/ant
(pointing the
Pierre
I think this sort of question should be on the users list, so I'm copying
it there. You might get more suggestions that way.
Maybe you don't have paths set properly somewhere. Perhaps looking at
OFBiz's ant script (ant.bat under windows) will give you some ideas.
As an example, our
Hi Pierre,
I don't think it's related but did you use
# Allows to run from Jenkins. See http://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller. Cons: the calling Jenkins job does
not terminate if the log is not enabled, pros: this allows to monitor the log in Jenkins
#BUILD_ID=dontKillMe
Hi Jacques,
No, I didn't use that piece of code in the startofbiz.sh.
As you can see from the result I got back in jenkings I directly plulled
from Apache svn and I had my Jenkins job configured to run target 'build'
in the ant settings of the job.
Regards,
Pierre.
Op 1 april 2012 12:02
Are you sure Jenkins is running the right ant? That is, the one that comes
with OFBiz, and not one installed separately?
Cheers,
Anne.
On 31 March 2012 22:08, Pierre Smits pierre.sm...@gmail.com wrote:
Hi all,
I am trying to build OFBiz through Jenkings, but get following message:
Started
Hi all,
I am trying to build OFBiz through Jenkings, but get following message:
Started by user Pierre Smits
http://sandbox.somonar.prd:8080/jenkins/user/Pierre%20Smits
Updating http://svn.apache.org/repos/asf/ofbiz/trunk
U framework/base/src/org/ofbiz/base/util/test/ObjectTypeTests.java
41 matches
Mail list logo