Skip to content

WIP Running CI workflows on Ubuntu 20.04#7850

Closed
shlomi-noach wants to merge 15 commits intovitessio:mainfrom
planetscale:github-actions-ubuntu-20-04
Closed

WIP Running CI workflows on Ubuntu 20.04#7850
shlomi-noach wants to merge 15 commits intovitessio:mainfrom
planetscale:github-actions-ubuntu-20-04

Conversation

@shlomi-noach
Copy link
Copy Markdown
Contributor

Description

Resubmission of #7613 (which went a bit stale). This is an attempt to see whether ubuntu-latest (20.04 at this time) reduces CI flakiness.

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>
@shlomi-noach
Copy link
Copy Markdown
Contributor Author

Percona Server 5.6 is not available in Ubuntu 20.04, so Unit Test (percona56) cannot be expected to run.

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
Copy Markdown
Contributor Author

PASSWORD function no longer available in MySQL 8.0, so we replace it with its equivalent, CONCAT('*', UPPER(SHA1(UNHEX(SHA1('<clear-text>')))))

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>
Copy link
Copy Markdown

@skottler skottler left a comment

Choose a reason for hiding this comment

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

the procfs change looks good to me

@shlomi-noach
Copy link
Copy Markdown
Contributor Author

At least the good news, seeing all those failed tests, is that these failures seem just flaky. I'm not sure either has to do with ubuntu 20.04

@shlomi-noach
Copy link
Copy Markdown
Contributor Author

percona56 test pinned to ubuntu 18.04

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

cluster (17) and cluster (20) continue to fail.

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

keeps failing: cluster 17, cluster 20

@askdba
Copy link
Copy Markdown
Contributor

askdba commented Aug 17, 2021

@shlomi-noach is this still failing or ready to merge?

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
Copy Markdown
Contributor Author

@askdba seems to pass now, but then again, looks like main already has a .Ubuntu20 flag? Not sure how it works?

@askdba askdba requested a review from GuptaManan100 August 26, 2021 05:02
Copy link
Copy Markdown
Contributor

@GuptaManan100 GuptaManan100 left a comment

Choose a reason for hiding this comment

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

LGTM! 🥇

@GuptaManan100
Copy link
Copy Markdown
Contributor

@shlomi-noach That was something, that I had added. It was only for 1 test so that it runs mysql-80 in the end to end tests

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

OK, do we want to always use Ubuntu 20 now for all workflows? (I'm asking because main makes that configurable, we'd need to remove that configurable code)

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

This PR is being marked as stale because it has been open for 30 days with no activity. To rectify, you may do any of the following:

  • Push additional commits to the associated branch.
  • Remove the stale label.
  • Add a comment indicating why it is not stale.

If no action is taken within 7 days, this PR will be closed.

@github-actions github-actions bot added the Stale Marks PRs as stale after a period of inactivity, which are then closed after a grace period. label Jul 19, 2022
@github-actions
Copy link
Copy Markdown
Contributor

This PR was closed because it has been stale for 7 days with no activity.

@github-actions github-actions bot closed this Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Build/CI Stale Marks PRs as stale after a period of inactivity, which are then closed after a grace period. Type: CI/Build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants