Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[functional_cors] use pre-defined unique port in CI #88919

Merged
merged 3 commits into from
Jan 21, 2021

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Jan 20, 2021

The functional_cors suite currently uses the get-port module to pick a random port. This seems to have race condition issues which cause the port to sometimes be used by another server, example: https://kibana-ci.elastic.co/job/elastic+kibana+7.x/11174/execution/node/670/log/?consoleFull

I previously tried to fix this by removing the default option in #87050

This doesn't seem to have prevented the issue, so instead we will detect when the tests are running on CI and explicitly set the port via the Jenkinsfile.

@spalger spalger added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v7.12.0 labels Jan 20, 2021
@spalger spalger requested a review from a team as a code owner January 20, 2021 23:08
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@spalger spalger added the Team:Operations Team label for Operations Team label Jan 20, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@spalger spalger removed the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Jan 20, 2021
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Member

@mistic mistic left a comment

Choose a reason for hiding this comment

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

LGTM

@spalger spalger merged commit 208ae0d into elastic:master Jan 21, 2021
@spalger spalger deleted the fix/cors-test-random-port-selection branch January 21, 2021 15:34
spalger added a commit to spalger/kibana that referenced this pull request Jan 21, 2021
Co-authored-by: spalger <spalger@users.noreply.github.com>
spalger added a commit that referenced this pull request Jan 21, 2021
…88979)

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
spalger added a commit that referenced this pull request Jan 21, 2021
…88978)

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.11.0 v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants