[jira] [Commented] (OFBIZ-9196) Regression: a commit between R15 and the Gradle switch use/block the ports

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-9196) Regression: a commit between R15 and the Gradle switch use/block the ports

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-9196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931349#comment-15931349 ]

Jacques Le Roux commented on OFBIZ-9196:
----------------------------------------

OK, I locally kept a version of the trunk just prior the Gradle switch.

When running an OFBiz instance (any one fits, I used the ofbiz-framework+plugin HEAD) you can run tests with R15, but not with this preGradle version. You get

run-tests:
     [java] org.ofbiz.base.start.StartupException: Couldn't create server socket(/127.0.0.1:10523) (Address already in use: JVM_Bind)Start.java using configuration file org/ofbiz/base/start/test.properties

So the problem is anterior the Gradle switch and after the R15 freezing.

But unfortunately we no longer have a trunk to get back into commits. Fortunately we have https://github.com/apache/ofbiz

I'll try that :)



> Regression: a commit between R15 and the Gradle switch use/block the ports
> --------------------------------------------------------------------------
>
>                 Key: OFBIZ-9196
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9196
>             Project: OFBiz
>          Issue Type: Bug
>          Components: Gradle
>    Affects Versions: Trunk, Release Branch 16.11
>            Reporter: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Release, 16.11.02
>
>
> We got an issue on Buildbot because of a Puppet misconfiguration which was always using the port 8080. Pre-gradle OFBiz tests were still running fine on Buildbot.
> Before the Puppet misconfiguration fix by infra (INFRA-13402), to bypass this issue I tried last weekend to use portoffset in Gradle versions. From the documentation, it's theoretically possible but does not work.
> Taher suggested, to get back to the previous behaviour were tests were not using/blocking the 8080 port, and to have a look into Config.java...
> It's a regression because it was nice to not have ports blocked during tests, as it was before Gradle. So you can use another (or more) OFBiz instance while running tests, and vice-versa.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)