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

Fix 513 #514

Merged
merged 2 commits into from
May 27, 2024
Merged

Fix 513 #514

merged 2 commits into from
May 27, 2024

Conversation

kwk
Copy link
Collaborator

@kwk kwk commented May 27, 2024

Manually specify DNF copr repository

This should fix an issue when the tests are being executed on RHEL where
it seems that DNF by default looks for epel and not rhel chroots:

        Command 'dnf copr -y enable -y @fedora-llvm-team/llvm-snapshots-big-merge-20240523' returned 1.

        stderr (17 lines)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        stderr (17 lines)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Enabling a Copr repository. Please note that this repository is not part
        of the main distribution, and quality may vary.

        The Fedora Project does not exercise any power over the contents of
        this repository beyond the rules outlined in the Copr FAQ at
        <https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>,
        and packages are not held to any quality or security level.

        Please do not file bug reports about these packages in Fedora
        Bugzilla. In case of problems, contact the owner of this repository.
        Error: It wasn't possible to enable this project.
        Repository 'epel-9-x86_64' does not exist in project '@fedora-llvm-team/llvm-snapshots-big-merge-20240523'.
        Available repositories: 'fedora-39-s390x', 'fedora-38-i386', 'fedora-rawhide-aarch64', 'fedora-39-i386', 'fedora-38-x86_64', 'fedora-40-i386', 'fedora-38-s390x', 'fedora-rawhide-i386', 'fedora-40-x86_64', 'fedora-40-s390x', 'rhel-9-aarch64', 'fedora-39-ppc64le', 'fedora-rawhide-x86_64', 'fedora-40-ppc64le', 'rhel-9-x86_64', 'fedora-rawhide-s390x', 'fedora-39-x86_64', 'fedora-38-ppc64le', 'fedora-38-aarch64', 'rhel-9-s390x', 'fedora-39-aarch64', 'fedora-rawhide-ppc64le', 'fedora-40-aarch64'

        If you want to enable a non-default repository, use the following command:
          'dnf copr enable @fedora-llvm-team/llvm-snapshots-big-merge-20240523 <repository>'
        But note that the installed repo file will likely need a manual modification.
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fix #513

kwk added 2 commits May 23, 2024 14:22
We check that "request is running" will have an artifact URL.
This should fix an issue when the tests are being executed on RHEL where
it seems that DNF by default looks for epel and not rhel chroots:

```
       Command 'dnf copr -y enable -y @fedora-llvm-team/llvm-snapshots-big-merge-20240523' returned 1.

        stderr (17 lines)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Enabling a Copr repository. Please note that this repository is not part
        of the main distribution, and quality may vary.

        The Fedora Project does not exercise any power over the contents of
        this repository beyond the rules outlined in the Copr FAQ at
        <https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>,
        and packages are not held to any quality or security level.

        Please do not file bug reports about these packages in Fedora
        Bugzilla. In case of problems, contact the owner of this repository.
        Error: It wasn't possible to enable this project.
        Repository 'epel-9-x86_64' does not exist in project '@fedora-llvm-team/llvm-snapshots-big-merge-20240523'.
        Available repositories: 'fedora-39-s390x', 'fedora-38-i386', 'fedora-rawhide-aarch64', 'fedora-39-i386', 'fedora-38-x86_64', 'fedora-40-i386', 'fedora-38-s390x', 'fedora-rawhide-i386', 'fedora-40-x86_64', 'fedora-40-s390x', 'rhel-9-aarch64', 'fedora-39-ppc64le', 'fedora-rawhide-x86_64', 'fedora-40-ppc64le', 'rhel-9-x86_64', 'fedora-rawhide-s390x', 'fedora-39-x86_64', 'fedora-38-ppc64le', 'fedora-38-aarch64', 'rhel-9-s390x', 'fedora-39-aarch64', 'fedora-rawhide-ppc64le', 'fedora-40-aarch64'

        If you want to enable a non-default repository, use the following command:
          'dnf copr enable @fedora-llvm-team/llvm-snapshots-big-merge-20240523 <repository>'
        But note that the installed repo file will likely need a manual modification.
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

Fix fedora-llvm-team#513
@kwk kwk requested a review from jchecahi May 27, 2024 13:11
@kwk kwk added the ci label May 27, 2024
@kwk kwk merged commit 278f8f4 into fedora-llvm-team:main May 27, 2024
4 of 5 checks passed
@kwk kwk deleted the fix-513 branch May 27, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants