[OPENENGSB-1858] Not all tests run green if another karaf instance is running Created: 28/Jul/11  Updated: 28/May/14  Resolved: 30/Jul/12

Status: Closed
Project: OpenEngSB
Component/s: framework
Affects Version/s: framework-2.4.2
Fix Version/s: openengsb-3.0.0.M1

Type: Bug Priority: Critical
Reporter: Christoph Gritschenberger Assignee: Lukas Stampf
Resolution: Fixed Votes: 0
Labels: archived

Sprint: Sprint 4


Tests fail on the build-server for quite some time now.
This is because somehow the HTML-unit-tests do not work because the web-ui can't be reached.

It works when no other karaf is running. Although itests should open the web-ui on port 8091 (as port 8090 is blocked by opencit) the itests get a HTTP500

In addition those itests are not the only once failing. There are even some "unit" tests which are failing if another instance of karaf is running. Since the tests are quite a bunch and need a lot of time this issue is considered quite critical since it limits the number of work you can do besides a ongoing test-run.

A possible solution (I think) could be to use the maven-helper-plugin to configure the ports used in the tests [1].

[1] http://mojo.codehaus.org/build-helper-maven-plugin/reserve-network-port-mojo.html

Comment by Andreas Pieber [ 30/Jul/11 ]

if you run them side by side. Is there anything interesting in the log file pointing out why openengsb itests does not come up?

Comment by Christoph Gritschenberger [ 30/Jul/11 ]

Just the usual about JMX failing to start up because of ports in use (1099, 44444)

Comment by Andreas Pieber [ 25/Sep/11 ]

maybe we should rename the issue to something like: to openengsb instances could not run side by side

Comment by Andreas Pieber [ 25/Jul/12 ]

should be fixed; just try if it works

Comment by Lukas Stampf [ 30/Jul/12 ]

Started an openengsb instance and run the pre-push script in a 2nd terminal successfully. Confirmed as working.

Generated at Sat Feb 24 13:14:38 CET 2018 using JIRA 6.3.13#6344-sha1:62d2b41c1ddfd5b5a56568898407231b0d9c17cb.