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

feat: use ipv4 by default to fix CI flow #960

Merged

Conversation

SuZhou-Joe
Copy link
Member

@SuZhou-Joe SuZhou-Joe commented Nov 23, 2023

Description

  1. For now all CI flows failed as OSD upgrade Node version to v18, which use ipv6 by default. Add --server.host="0.0.0.0" to enforce CI to setup OSD server in ipv4.

Issues Resolved

#902

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@SuZhou-Joe SuZhou-Joe force-pushed the fix/ipv6-by-node-upgrade branch from f013e5a to 4e8ac2f Compare November 23, 2023 08:55
Signed-off-by: SuZhou-Joe <[email protected]>
@wanglam
Copy link
Collaborator

wanglam commented Nov 24, 2023

@SuZhou-Joe Do we need to backport 2.x branch?

@SuZhou-Joe
Copy link
Member Author

@SuZhou-Joe Do we need to backport 2.x branch?

We should I suppose.

@SuZhou-Joe
Copy link
Member Author

Follow issue for flaky test: #961

cypress.json Outdated Show resolved Hide resolved
@SuZhou-Joe SuZhou-Joe force-pushed the fix/ipv6-by-node-upgrade branch 3 times, most recently from 6b20efc to f487a8e Compare November 24, 2023 08:20
@SuZhou-Joe SuZhou-Joe force-pushed the fix/ipv6-by-node-upgrade branch from 679285b to 4b866dc Compare November 27, 2023 04:27
@SuZhou-Joe SuZhou-Joe force-pushed the fix/ipv6-by-node-upgrade branch from 4b866dc to cf5c6b9 Compare November 27, 2023 04:46
@SuZhou-Joe
Copy link
Member Author

In order to make vanilla tests run, we had to downgrade chrome version to v115, or the cypress will hang because of memory limit. I found that we use a customized image in OSD to run cypress test. @kavilla , do you have any context here why we use a customized image instead of the default github runner-image?

@SuZhou-Joe SuZhou-Joe merged commit c875187 into opensearch-project:main Nov 29, 2023
36 of 37 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 29, 2023
* feat: use ipv4 by default to fix CI flow

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove duplicate NODE_OPTIONS

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: hang test cases

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: typo

Signed-off-by: SuZhou-Joe <[email protected]>

* Revert "fix: hang test cases"

This reverts commit b7caeb7.

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: enable dev-shm to address hang test

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: add wait to fix hang

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: revert image version back to 2.308.0-1

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: downgrade chrome version to v115

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: revert chromuim downgrade logic

Signed-off-by: SuZhou-Joe <[email protected]>

---------

Signed-off-by: SuZhou-Joe <[email protected]>
(cherry picked from commit c875187)
SuZhou-Joe added a commit that referenced this pull request Nov 29, 2023
* feat: use ipv4 by default to fix CI flow

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove duplicate NODE_OPTIONS

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: hang test cases

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: typo

Signed-off-by: SuZhou-Joe <[email protected]>

* Revert "fix: hang test cases"

This reverts commit b7caeb7.

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: enable dev-shm to address hang test

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: add wait to fix hang

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: revert image version back to 2.308.0-1

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: downgrade chrome version to v115

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: revert chromuim downgrade logic

Signed-off-by: SuZhou-Joe <[email protected]>

---------

Signed-off-by: SuZhou-Joe <[email protected]>
(cherry picked from commit c875187)

Co-authored-by: SuZhou-Joe <[email protected]>
SuZhou-Joe added a commit to SuZhou-Joe/opensearch-dashboards-functional-test that referenced this pull request Dec 18, 2023
* feat: use ipv4 by default to fix CI flow

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove duplicate NODE_OPTIONS

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: hang test cases

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: typo

Signed-off-by: SuZhou-Joe <[email protected]>

* Revert "fix: hang test cases"

This reverts commit b7caeb7.

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: enable dev-shm to address hang test

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: add wait to fix hang

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: revert image version back to 2.308.0-1

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: downgrade chrome version to v115

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: revert chromuim downgrade logic

Signed-off-by: SuZhou-Joe <[email protected]>

---------

Signed-off-by: SuZhou-Joe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants