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

Workflows failed due to EOL of CentOS 7 #2135

Open
empiredan opened this issue Oct 18, 2024 · 8 comments
Open

Workflows failed due to EOL of CentOS 7 #2135

empiredan opened this issue Oct 18, 2024 · 8 comments
Labels
type/bug This issue reports a bug.

Comments

@empiredan
Copy link
Contributor

BuildCompilationEnvDocker failed due to EOL of CentOS 7:

image

@shalk
Copy link
Collaborator

shalk commented Oct 18, 2024

docker-library/official-images#17094
remove the Dockerfile is a good chose

@empiredan
Copy link
Contributor Author

docker-library/official-images#17094 remove the Dockerfile is a good chose

Thanks @shalk ! Actually I tried very hard to make BuildCompilationEnvDocker work well, however it always failed since everything about centos 7 was not found:
image

@shalk
Copy link
Collaborator

shalk commented Oct 21, 2024

Let me have a try to fix it.

@acelyc111
Copy link
Member

acelyc111 commented Nov 13, 2024

I've tried on my own develop enviroment, the centos:7.5.1804 image can be pulled and the packages can be installed sucessfully.

# laiyingchun @ laiyingchun in ~/dev/pegasus/docker/pegasus-build-env/centos7 on git:master o [0:59:49]
$ sudo docker build .
[+] Building 339.0s (6/9)                                                                                                                                                                                                                                        docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                       0.0s
 => => transferring dockerfile: 3.24kB                                                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/centos:7.5.1804                                                                                                                                                                                                        18.6s
 => [internal] load .dockerignore                                                                                                                                                                                                                                          0.0s
 => => transferring context: 2B                                                                                                                                                                                                                                            0.0s
 => [1/6] FROM docker.io/library/centos:7.5.1804@sha256:7a45e4a1efbaafc1d9aa89925b6fdb33288a96d35ea0581412316e2f0ad3720a                                                                                                                                                   3.7s
 => => resolve docker.io/library/centos:7.5.1804@sha256:7a45e4a1efbaafc1d9aa89925b6fdb33288a96d35ea0581412316e2f0ad3720a                                                                                                                                                   0.0s
 => => sha256:65decb5f8c6d37cdd06332ef1116a92fdb52aa1b55fe6256bb3b843ee97d2279 529B / 529B                                                                                                                                                                                 0.0s
 => => sha256:cf49811e3cdb94cbdfd645f3888d7add06a315449cf2c7ca7b81c312f1e46c63 2.21kB / 2.21kB                                                                                                                                                                             0.0s
 => => sha256:5ad559c5ae16b8980924ceae7f7662d07740debd4467db19e69339926ec8f255 74.69MB / 74.69MB                                                                                                                                                                           2.5s
 => => sha256:7a45e4a1efbaafc1d9aa89925b6fdb33288a96d35ea0581412316e2f0ad3720a 319B / 319B                                                                                                                                                                                 0.0s
 => => extracting sha256:5ad559c5ae16b8980924ceae7f7662d07740debd4467db19e69339926ec8f255                                                                                                                                                                                  1.1s
 => [2/6] RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo &&     sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo &&     sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo &&     yum -y install centos-rel  97.0s
 => [3/6] RUN pip3 install --upgrade pip --no-cache-dir && pip3 install --no-cache-dir cmake -i https://pypi.tuna.tsinghua.edu.cn/simple                                                                                                                                   8.8s
 => [4/6] RUN wget --progress=dot:giga https://archive.apache.org/dist/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.tar.gz -P /opt/maven     && cd /opt/maven     && tar -zxf apache-maven-3.8.3-bin.tar.gz     && rm apache-maven-3.8.3-bin.tar.gz               210.7s

Did I miss something?

@shalk
Copy link
Collaborator

shalk commented Nov 14, 2024

i know. The error message is contain aarch64. But centos 7.5.1804 not support aarch64 in sclo

https://vault.centos.org/7.5.1804/sclo/ .

I will remove linux/arm64 from github workflow

empiredan pushed a commit that referenced this issue Nov 22, 2024
…entos7 on Github (#2145)

#2135.

CentOS 7.5.1804 does not support `aarch64` in [sclo](https://vault.centos.org/7.5.1804/sclo/).
Thus just remove `linux/arm64` from Github workflow.
empiredan added a commit that referenced this issue Nov 25, 2024
…ithub (#2150)

#2135.

Since the workflow building images of compilation environment for centos7 has
been fixed by #2145, building
thirdparty images should also be recovered.
@acelyc111 acelyc111 reopened this Nov 26, 2024
@acelyc111
Copy link
Member

acelyc111 commented Nov 26, 2024

I found a new issue about CentOS7:

Run actions/checkout@v3
  with:
    repository: apache/incubator-pegasus
    token: ***
    ssh-strict: true
    persist-credentials: true
    clean: true
    sparse-checkout-cone-mode: true
    fetch-depth: 1
    fetch-tags: false
    lfs: false
    submodules: false
    set-safe-directory: true
  env:
    ONEBOX_OPTS: disk_min_available_space_ratio=5
    TEST_OPTS: disk_min_available_space_ratio=5;throttle_test_medium_value_kb=10;throttle_test_large_value_kb=[2](https://github.com/apache/incubator-pegasus/actions/runs/12022410210/job/33514582769?pr=2151#step:3:2)5
    USE_JEMALLOC: OFF
    BUILD_OPTIONS: -t debug --test --separate_servers
    PACK_OPTIONS: --separate_servers
    ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
    ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
/usr/bin/docker exec  1[3](https://github.com/apache/incubator-pegasus/actions/runs/12022410210/job/33514582769?pr=2151#step:3:3)d0fa4f31cf181af078cd316753fde27974710f8cf1afcca97bade19da[4](https://github.com/apache/incubator-pegasus/actions/runs/12022410210/job/33514582769?pr=2151#step:3:4)26de sh -c "cat /etc/*release | grep ^ID"
/__e/node20/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libc.so.6: version `GLIBC_2.2[5](https://github.com/apache/incubator-pegasus/actions/runs/12022410210/job/33514582769?pr=2151#step:3:5)' not found (required by /__e/node20/bin/node)

https://github.com/apache/incubator-pegasus/actions/runs/12022410210/job/33514582769?pr=2151#step:3:1

It seems actions/checkout@v3 requires higher glibc.

@shalk
Copy link
Collaborator

shalk commented Nov 26, 2024

it look like #2072.

@acelyc111
Copy link
Member

Maybe it's time for us to consider almalinux or rockylinux.
#2137 (comment)

@empiredan @shalk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug This issue reports a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants