Skip to content

fixing flaky upgrade test#7901

Merged
shlomi-noach merged 8 commits intovitessio:masterfrom
planetscale:flaky-upgrade-test-v9-again
Apr 21, 2021
Merged

fixing flaky upgrade test#7901
shlomi-noach merged 8 commits intovitessio:masterfrom
planetscale:flaky-upgrade-test-v9-again

Conversation

@shlomi-noach
Copy link
Contributor

Description

endtoend/upgrade is yet again flaky. Looking into.

Checklist

  • Should this PR be backported?
  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

Impacted Areas in Vitess

Components that this PR will affect:

  • Query Serving
  • VReplication
  • Cluster Management
  • Build/CI
  • VTAdmin

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach
Copy link
Contributor Author

Added the CI/workflow patches to all non-auto-generated tests:

    - name: Tune the OS
      run: |
        echo '1024 65535' | sudo tee -a /proc/sys/net/ipv4/ip_local_port_range
    # TEMPORARY WHILE GITHUB FIXES THIS https://github.com/actions/virtual-environments/issues/3185
    - name: Add the current IP address, long hostname and short hostname record to /etc/hosts file
      run: |
        echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
    # DON'T FORGET TO REMOVE CODE ABOVE WHEN ISSUE IS ADRESSED!

@shlomi-noach
Copy link
Contributor Author

Upgrade test consistently passes in this PR, but still consistently fails on other PRs which have incorporated the changes in this PR (namely #7785)

@shlomi-noach
Copy link
Contributor Author

@shlomi-noach shlomi-noach requested a review from deepthi April 20, 2021 14:56
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach shlomi-noach marked this pull request as ready for review April 21, 2021 07:19
@shlomi-noach
Copy link
Contributor Author

shlomi-noach commented Apr 21, 2021

What this PR ended up doing is add the two patches: /etc/hosts and port-range, to all tests, especially those not auto-generated by make generate_ci_workflows. The upgrade test was one of those.

@shlomi-noach shlomi-noach merged commit 9542883 into vitessio:master Apr 21, 2021
@shlomi-noach shlomi-noach deleted the flaky-upgrade-test-v9-again branch April 21, 2021 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants