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

Enable Fedora rawhide. #680

Merged
merged 1 commit into from
Aug 10, 2021
Merged

Conversation

marxin
Copy link
Contributor

@marxin marxin commented Aug 4, 2021

No description provided.

@marxin
Copy link
Contributor Author

marxin commented Aug 5, 2021

@Conan-Kudo

Any guess why we do see:

Run dnf --nogpgcheck --assumeyes install /usr/bin/appstream-util /usr/bin/cpio /usr/bin/bzip2 /usr/bin/desktop-file-validate /usr/bin/python3 /usr/bin/readelf /usr/bin/ldd /usr/bin/c++filt /usr/bin/xz dash devscripts-checkbashisms glibc glibc.i686 hunspell-en hunspell-cs python3-setuptools python3-enchant python3-magic python3-rpm python3-pybeam python3-pytest python3-pytest-cov python3-pytest-flake8 python3-pytest-xdist python3-flake8 python3-flake8-import-order python3-pyxdg python3-toml python3-zstd python3-pip rpm-build git
Fedora rawhide openh264 (From Cisco) - x86_64   0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'fedora-cisco-openh264':
  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
Error: Failed to download metadata for repo 'fedora-cisco-openh264': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
Fedora - Rawhide - Developmental packages for t 0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'rawhide':
  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64&countme=1 [getaddrinfo() thread failed to start]
Error: Failed to download metadata for repo 'rawhide': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64 [getaddrinfo() thread failed to start]

?

.github/workflows/main.yml Outdated Show resolved Hide resolved
@Conan-Kudo
Copy link
Member

@Conan-Kudo

Any guess why we do see:

Run dnf --nogpgcheck --assumeyes install /usr/bin/appstream-util /usr/bin/cpio /usr/bin/bzip2 /usr/bin/desktop-file-validate /usr/bin/python3 /usr/bin/readelf /usr/bin/ldd /usr/bin/c++filt /usr/bin/xz dash devscripts-checkbashisms glibc glibc.i686 hunspell-en hunspell-cs python3-setuptools python3-enchant python3-magic python3-rpm python3-pybeam python3-pytest python3-pytest-cov python3-pytest-flake8 python3-pytest-xdist python3-flake8 python3-flake8-import-order python3-pyxdg python3-toml python3-zstd python3-pip rpm-build git
Fedora rawhide openh264 (From Cisco) - x86_64   0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'fedora-cisco-openh264':
  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
Error: Failed to download metadata for repo 'fedora-cisco-openh264': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
Fedora - Rawhide - Developmental packages for t 0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'rawhide':
  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64&countme=1 [getaddrinfo() thread failed to start]
Error: Failed to download metadata for repo 'rawhide': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64 [getaddrinfo() thread failed to start]

?

I wonder if that's related to the new glibc, maybe @fweimer would know?

@fweimer
Copy link

fweimer commented Aug 7, 2021

This is an issue with Github Actions, filed as actions/runner-images#3812 (and closed without a fix so far).

@fweimer
Copy link

fweimer commented Aug 7, 2021

Perhaps something like aufover/aufover-benchmark#9 would apply here as well.

@marxin marxin force-pushed the enable-rawhide branch 2 times, most recently from ec74fd3 to a8e769d Compare August 8, 2021 18:01
@marxin
Copy link
Contributor Author

marxin commented Aug 8, 2021

Perhaps something like aufover/aufover-benchmark#9 would apply here as well.

Thank you Florian, it helped.

@marxin
Copy link
Contributor Author

marxin commented Aug 8, 2021

Now it fails in pytest, due to:

______________________ ERROR collecting test/test_LSB.py _______________________
ImportError while importing test module '/__w/rpmlint/rpmlint/test/test_LSB.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/site-packages/_pytest/python.py:578: in _importtestmodule
    mod = import_path(self.fspath, mode=importmode)
/usr/lib/python3.10/site-packages/_pytest/pathlib.py:524: in import_path
    importlib.import_module(module_name)
/usr/lib64/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/usr/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
    exec(co, module.__dict__)
test/test_LSB.py:2: in <module>
    from rpmlint.checks.LSBCheck import LSBCheck
E   ModuleNotFoundError: No module named 'rpmlint'

Apparently new Python search path has changed?

@Conan-Kudo
Copy link
Member

@hroncok, do you know what's going on here, because I'm not sure what's happening...?

@hroncok
Copy link
Contributor

hroncok commented Aug 10, 2021

Trying marxin#2

@marxin
Copy link
Contributor Author

marxin commented Aug 10, 2021

Trying marxin#2

Please make a pull request against rpm-software-management/rpmlint.

@hroncok
Copy link
Contributor

hroncok commented Aug 10, 2021

I am trying to make it on top of this.

@hroncok
Copy link
Contributor

hroncok commented Aug 10, 2021

#682

@marxin marxin merged commit d9c1ab9 into rpm-software-management:main Aug 10, 2021
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.

4 participants