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

allow to run flaky tests in PR #42103

Merged
merged 1 commit into from Mar 8, 2021
Merged

allow to run flaky tests in PR #42103

merged 1 commit into from Mar 8, 2021

Conversation

3nids
Copy link
Member

@3nids 3nids commented Mar 8, 2021

No description provided.

@3nids 3nids added the run flaky tests A label to run also the flaky tests on CI (DO NOT RENAME LABEL) label Mar 8, 2021
@github-actions github-actions bot added this to the 3.20.0 milestone Mar 8, 2021
@Gustry
Copy link
Contributor

Gustry commented Mar 8, 2021

Hum, good idea this implementation ...
GH Actions is opening the door to new things !

@3nids
Copy link
Member Author

3nids commented Mar 8, 2021

@nyalldawson FYI

Failing tests:
195 - qgis_ziplayertest (Failed)
231 - qgis_filedownloader (Failed)
271 - qgis_wcsprovidertest (Timeout)
675 - PyQgsMssqlProvider (Failed)

Listed as flaky but not failing:
PyQgsWFSProviderGUI

@3nids 3nids merged commit 8d90586 into qgis:master Mar 8, 2021
@3nids 3nids deleted the flaky branch March 8, 2021 19:16
@3nids
Copy link
Member Author

3nids commented Mar 8, 2021

Hum, good idea this implementation ...
GH Actions is opening the door to new things !

Actually, it was available in Travis, but we had to use Github API to fetch the PR info for this. It is so much easier and cleaner with workflows now...

@github-actions
Copy link

github-actions bot commented Mar 8, 2021

The backport to release-3_18 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-3_18 release-3_18
# Navigate to the new working tree
cd .worktrees/backport-release-3_18
# Create a new branch
git switch --create backport-42103-to-release-3_18
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick --mainline 1 8d905865b2e3249e615b345c3bcff86f6bda3cb4
# Push it to GitHub
git push --set-upstream origin backport-42103-to-release-3_18
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-3_18

Then, create a pull request where the base branch is release-3_18 and the compare/head branch is backport-42103-to-release-3_18.

@github-actions
Copy link

github-actions bot commented Mar 8, 2021

The backport to release-3_16 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-3_16 release-3_16
# Navigate to the new working tree
cd .worktrees/backport-release-3_16
# Create a new branch
git switch --create backport-42103-to-release-3_16
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick --mainline 1 8d905865b2e3249e615b345c3bcff86f6bda3cb4
# Push it to GitHub
git push --set-upstream origin backport-42103-to-release-3_16
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-3_16

Then, create a pull request where the base branch is release-3_16 and the compare/head branch is backport-42103-to-release-3_16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run flaky tests A label to run also the flaky tests on CI (DO NOT RENAME LABEL)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants