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

Jobs not included in the test yaml appears in Github list #384

Open
netoarmando opened this issue Jul 22, 2020 · 0 comments
Open

Jobs not included in the test yaml appears in Github list #384

netoarmando opened this issue Jul 22, 2020 · 0 comments

Comments

@netoarmando
Copy link
Member

Problem

Pull request shows unexpected jobs there pending forever. The image below shows a pull request willing to test 389ds jobs, but several jobs are targeting fedora-latest:

Screenshot from 2020-07-20 21-24-59

Background behind this behaviour

The yaml file where tests are defined is downloaded from:

 "https://raw.githubusercontent.com/{owner}/{repo}/{sha}/.freeipa-pr-ci.yaml"

If PR-CI fails to fetch a file from that URL then it falls back to the same file but from pull request's base branch, thus master branch for most of the cases.

That is intentional, so gating jobs are executed if PR's author don't change the content of .freeipa-pr-ci.yaml.

However, PR-CI might fail to fetch that file because of various reasons, such as a Github outage or network issue in our infrastructure.

if res.status_code != 200:
# If the file doesn't exist in the commit, we'll get in from the
# base branch
# Actually, this branch should never be executed...

What should I do?

You can safely ignore those tests, if runners are ignoring them it's because they are not part of the expected tests definition file. (Optional: You can force-push your changes again to remove them from Github UI.)

@netoarmando netoarmando pinned this issue Jul 22, 2020
@flo-renaud flo-renaud unpinned this issue Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant