kdave / btrfs-progs

Development of userspace BTRFS tools
GNU General Public License v2.0
550 stars 241 forks source link

ci: Tumbleweed and Alpine images are somehow broken #710

Closed kdave closed 10 months ago

kdave commented 10 months ago

https://github.com/kdave/btrfs-progs/actions/runs/6863419054/job/18663158454

Recently the tumbleweed image breaks in some places, in the workflow above the libkcapi, libgcrypt and libsodioum cannot be found but they are part of the distro.

Locally updating the docker images shows more errors:

docker buldx logs ``` > [ 3/19] RUN zypper install -y --no-recommends make gcc tar gzip clang dwarves: [25/801] 3.207 Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [.error] 9.605 Repository 'openSUSE-Tumbleweed-Non-Oss' is invalid. 9.605 [repo-non-oss|http://download.opensuse.org/tumbleweed/repo/non-oss/] Valid metadata not found at specified URL 9.605 History: 9.605 - [|] Error trying to read from 'http://download.opensuse.org/tumbleweed/repo/non-oss/' 9.605 - Download (curl) error for 'http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml': 9.605 Error code: HTTP response: 500 9.605 Error message: The requested URL returned error: 500 9.605 9.605 Please check if the URIs defined for this repository are pointing to a valid repository. 9.605 Warning: Skipping repository 'openSUSE-Tumbleweed-Non-Oss' because of the above error. 9.606 Retrieving repository 'Open H.264 Codec (openSUSE Tumbleweed)' metadata [.error] 19.98 Repository 'Open H.264 Codec (openSUSE Tumbleweed)' is invalid. 19.98 [repo-openh264|http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed] Valid metadata not found at specified URL 19.98 History: 19.98 - [|] Error trying to read from 'http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed' 19.98 - Download (curl) error for 'http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed/repodata/repomd.xml': 19.98 Error code: HTTP response: 500 19.98 Error message: The requested URL returned error: 500 19.98 19.98 Please check if the URIs defined for this repository are pointing to a valid repository. 19.98 Warning: Skipping repository 'Open H.264 Codec (openSUSE Tumbleweed)' because of the above error. 19.98 Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [.error] 28.63 Repository 'openSUSE-Tumbleweed-Oss' is invalid. 28.63 [repo-oss|http://download.opensuse.org/tumbleweed/repo/oss/] Valid metadata not found at specified URL 28.63 History: 28.63 - [|] Error trying to read from 'http://download.opensuse.org/tumbleweed/repo/oss/' 28.63 - Download (curl) error for 'http://download.opensuse.org/tumbleweed/repo/oss/content': 28.63 Error code: HTTP response: 500 28.63 Error message: The requested URL returned error: 500 28.63 28.63 Please check if the URIs defined for this repository are pointing to a valid repository. 28.63 Warning: Skipping repository 'openSUSE-Tumbleweed-Oss' because of the above error. 28.63 Retrieving repository 'openSUSE-Tumbleweed-Update' metadata [..... 52.10 Warning: File 'repomd.xml' from repository 'openSUSE-Tumbleweed-Update' is unsigned. 52.10 52.10 Note: Signing data enables the recipient to verify that no modifications occurred after the data 52.10 were signed. Accepting data with no, wrong or unknown signature can lead to a corrupted system 52.10 and in extreme cases even to a system compromise. 52.10 52.10 Note: File 'repomd.xml' is the repositories master index file. It ensures the integrity of the 52.10 whole repo. 52.10 52.10 Warning: We can't verify that no one meddled with this file, so it might not be trustworthy 52.10 anymore! You should not continue unless you know it's safe. 52.10 52.10 File 'repomd.xml' from repository 'openSUSE-Tumbleweed-Update' is unsigned, continue? [yes/no] (no): no 52.11 error] 52.11 Repository 'openSUSE-Tumbleweed-Update' is invalid. 52.11 [repo-update|http://download.opensuse.org/update/tumbleweed/] Valid metadata not found at specified URL 52.11 History: 52.11 - Signature verification failed for repomd.xml 52.11 - Can't provide /repodata/repomd.xml 52.11 52.11 Please check if the URIs defined for this repository are pointing to a valid repository. 52.11 Some of the repositories have not been refreshed because of an error. 52.11 Warning: Skipping repository 'openSUSE-Tumbleweed-Update' because of the above error. 52.11 Loading repository data... 52.11 Reading installed packages... 52.13 No provider of 'clang' found. 52.13 No provider of 'dwarves' found. 52.13 No provider of 'gcc' found. 52.13 No provider of 'make' found. 52.13 'gzip' is already installed. 52.13 Package 'gzip' is not available in your repositories. Cannot reinstall, upgrade, or downgrade. 52.13 'tar' is already installed. 52.13 Package 'tar' is not available in your repositories. Cannot reinstall, upgrade, or downgrade. 52.13 'clang' not found in package names. Trying capabilities. 52.13 'dwarves' not found in package names. Trying capabilities. 52.13 'gcc' not found in package names. Trying capabilities. 52.13 'make' not found in package names. Trying capabilities. ------ Dockerfile:5 -------------------- 3 | WORKDIR /tmp 4 | 5 | >>> RUN zypper install -y --no-recommends make gcc tar gzip clang dwarves 6 | RUN zypper install -y --no-recommends libattr-devel libblkid-devel libuuid-devel 7 | RUN zypper install -y --no-recommends libext2fs-devel -------------------- ERROR: failed to solve: process "/bin/sh -c zypper install -y --no-recommends make gcc tar gzip clang dwarves" did not complete successfully: exit code: 104 ```

The Dockerfile hasn't changed so it's something in the hub image.

fougner commented 10 months ago

Not sure if you're aware, but your alpine build seems quietly broken as well, albeit for a different reason:

[ 6/11] RUN apk add autoconf automake make gcc tar gzip clang dwarves 0.442 ERROR: unable to select packages: 0.442 dwarves (no such package): 0.442 required by: world[dwarves] ERROR: process "/bin/sh -c apk add autoconf .... ERROR: failed to solve: process "/bin/sh -c apk add autoconf automake make gcc tar gzip clang dwarves" did not complete successfully: exit code: 1 ARGS: RUN : ./test-build devel --disable-documentation --disable-backtrace --disable-libudev Unable to find image 'kdave/ci-musl-x86_64:latest' locally latest: Pulling from kdave/ci-musl-x86_64

kdave commented 10 months ago

Right, dwarves is not packated on Alpine (https://pkgs.alpinelinux.org/packages) but it's not necessary for the CI, there are only build tests. The commit that broke it in 6.5.1+ 8c2e4578cd99df524cd2eb4797dad10ce5ab6d68

kdave commented 10 months ago

It's possible that the Tumbleweed problem has been fixed in the upstream image, the CI run of master did not fail. https://github.com/kdave/btrfs-progs/actions/runs/6879092033

kdave commented 10 months ago

On Alpine the package is pahole, updated and pushed. Tumbleweed seems to be working.