Skip to content

Conversation

mark-vieira
Copy link
Contributor

After version bumps, it's very common for open PR branches to start failing because of the missing version constants breaking BWC distribution assumptions. You end up getting somewhat obscure error that doesn't give you much indication as to the reason things failed:

* What went wrong:
Execution failed for task ':distribution:bwc:bugfix:buildBwcLinuxTar'.
> Building 8.3.3 didn't generate expected artifact /dev/shm/elastic+elasticsearch+pull-request+bwc/distribution/bwc/bugfix/build/bwc/checkout-8.3/distribution/archives/linux-tar/build/install/elasticsearch-8.3.3-SNAPSHOT

This PR amends this error message to give developers some hint as to what might be wrong:

* What went wrong:
Execution failed for task ':distribution:bwc:bugfix:buildBwcLinuxTar'.
> Building 8.3.3 didn't generate expected artifact [distribution/bwc/bugfix/build/bwc/checkout-8.3/distribution/archives/linux-tar/build/install/elasticsearch-8.3.3-SNAPSHOT]. The working branch may be out of date.

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

@elasticsearchmachine elasticsearchmachine added the Team:Delivery Meta label for Delivery team label Jul 28, 2022
@mark-vieira
Copy link
Contributor Author

@elasticmachine update branch

@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
7.17
8.4

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 >non-issue Team:Delivery Meta label for Delivery team v7.17.6 v8.4.1 v8.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants