Skip to content

Conversation

@original-brownbear
Copy link
Contributor

@original-brownbear original-brownbear commented Nov 15, 2018


@atorok see my explanation here. The execution order of starting node 0 and waiting for node 1 is off despite the Gradle logging to the contrary (both are Ant tasks). This is my best guess, based on the fact that AntBuilder isn't thread-safe and the fact that Gradle logs different worker threads for the node1.configure and node0.start tasks in e.g. this build https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.5+bwc-tests/36/console (starts node 0 in thread 9,5 but configures node1 in 10,5?).
... that said, I guess this change may be valuable regardless of #33778 to move us forward in terms of enabling --parallel? :)

* Use dedicated AntBuilder everywhere since AntBuilder is not threadsafe
* Closes elastic#33778
@original-brownbear original-brownbear added >test Issues or PRs that are addressing/adding tests :Delivery/Build Build or test infrastructure v7.0.0 v6.6.0 v6.5.1 labels Nov 15, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@original-brownbear
Copy link
Contributor Author

Jenkins test this

Copy link
Contributor

@alpar-t alpar-t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's worth a shot.
ClsuterFormationTasks is going away to make room for --parallel :)

@original-brownbear
Copy link
Contributor Author

@atorok thanks!

@original-brownbear original-brownbear merged commit e6f4425 into elastic:master Nov 15, 2018
@original-brownbear original-brownbear deleted the 33778 branch November 15, 2018 13:23
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Nov 15, 2018
* REST-Tests: Use Dedicated AntBuilders

* Use dedicated AntBuilder everywhere since AntBuilder is not threadsafe
* Closes elastic#33778
original-brownbear added a commit that referenced this pull request Nov 15, 2018
* REST-Tests: Use Dedicated AntBuilders

* Use dedicated AntBuilder everywhere since AntBuilder is not threadsafe
* Closes #33778
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team >test Issues or PRs that are addressing/adding tests v6.6.0 v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BWC tests failed: transport.ports (No such file or directory)

6 participants