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

HADOOP-19246. Update the yasm rpm download address #6973

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

zhengchenyu
Copy link
Contributor

@zhengchenyu zhengchenyu commented Aug 2, 2024

Description of PR

JIRA: HADOOP-19246. Update the yasm rpm download address.

Some ci run failed, for example:

https://ci-hadoop.apache.org/blue/rest/organizations/jenkins/pipelines/hadoop-multibranch/branches/PR-6972/runs/1/nodes/56/steps/61/log/?start=0

Error message:

[2024-08-02T03:51:14.062Z] #17 [13/19] RUN pkg-resolver/install-yasm.sh centos:7
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of <!DOCTYPE failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of HTML failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of PUBLIC failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of -//IETF//DTD HTML 2.0//EN> failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of <html><head> failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of <title>404 failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of Not failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of Found</title> failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of </head><body> failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of <h1>Not failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of Found</h1> failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of <p>The failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of requested failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of URL failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of was failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of not failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of found failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of on failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of this failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of server.</p> failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 0.982 error: open of </body></html> failed: No such file or directory
[2024-08-02T03:51:15.167Z] #17 ERROR: process "/bin/bash --login -c pkg-resolver/install-yasm.sh centos:7" did not complete successfully: exit code: 21
[2024-08-02T03:51:15.167Z] ------
[2024-08-02T03:51:15.167Z]  > [13/19] RUN pkg-resolver/install-yasm.sh centos:7:
[2024-08-02T03:51:15.167Z] 0.982 error: open of <p>The failed: No such file or directory
[2024-08-02T03:51:15.167Z] 0.982 error: open of requested failed: No such file or directory
[2024-08-02T03:51:15.167Z] 0.982 error: open of URL failed: No such file or directory
[2024-08-02T03:51:15.167Z] 0.982 error: open of was failed: No such file or directory
[2024-08-02T03:51:15.167Z] 0.982 error: open of not failed: No such file or directory
[2024-08-02T03:51:15.167Z] 0.982 error: open of found failed: No such file or directory
[2024-08-02T03:51:15.167Z] 0.982 error: open of on failed: No such file or directory
[2024-08-02T03:51:15.167Z] 0.982 error: open of this failed: No such file or directory
[2024-08-02T03:51:15.167Z] 0.982 error: open of server.</p> failed: No such file or directory
[2024-08-02T03:51:15.167Z] 0.982 error: open of </body></html> failed: No such file or directory
[2024-08-02T03:51:15.167Z] ------
[2024-08-02T03:51:15.167Z] Dockerfile:102
[2024-08-02T03:51:15.167Z] --------------------
[2024-08-02T03:51:15.167Z]  100 |     RUN pkg-resolver/install-cmake.sh centos:7
[2024-08-02T03:51:15.167Z]  101 |     RUN pkg-resolver/install-zstandard.sh centos:7
[2024-08-02T03:51:15.167Z]  102 | >>> RUN pkg-resolver/install-yasm.sh centos:7
[2024-08-02T03:51:15.167Z]  103 |     RUN pkg-resolver/install-protobuf.sh centos:7
[2024-08-02T03:51:15.167Z]  104 |     RUN pkg-resolver/install-boost.sh centos:7
[2024-08-02T03:51:15.167Z] --------------------
[2024-08-02T03:51:15.167Z] ERROR: failed to solve: process "/bin/bash --login -c pkg-resolver/install-yasm.sh centos:7" did not complete successfully: exit code: 21
[2024-08-02T03:51:15.167Z] Building run-specific image yetus/hadoop:tp-19006
[2024-08-02T03:51:15.167Z] #0 building with "default" instance using docker driver
[2024-08-02T03:51:15.167Z] 
[2024-08-02T03:51:15.167Z] #1 [internal] load build definition from Dockerfile
[2024-08-02T03:51:15.167Z] #1 transferring dockerfile: 2.01kB done
[2024-08-02T03:51:15.167Z] #1 WARN: InvalidDefaultArgInFrom: Default value for ARG ${baseimagename} results in empty or invalid base image name (line 19)
[2024-08-02T03:51:15.167Z] #1 DONE 0.0s
[2024-08-02T03:51:15.167Z] 
[2024-08-02T03:51:15.167Z] #2 [internal] load metadata for docker.io/yetus/hadoop:4f0ee9d67d9
[2024-08-02T03:51:15.725Z] #2 ERROR: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

I found the yasm rpm url https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/y/yasm-1.2.0-4.el7.x86_64.rpm is outdated.

How was this patch tested?

curl

For code changes:

  • update rpm download address

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 18s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 shelldocs 0m 0s Shelldocs was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+0 🆗 mvndep 14m 6s Maven dependency ordering for branch
+1 💚 mvninstall 20m 22s trunk passed
+1 💚 mvnsite 0m 0s trunk passed
+1 💚 shadedclient 19m 31s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for patch
+1 💚 mvninstall 0m 0s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 mvnsite 0m 1s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 shadedclient 19m 36s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 asflicense 0m 25s The patch does not generate ASF License warnings.
75m 51s
Subsystem Report/Notes
Docker ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6973/1/artifact/out/Dockerfile
GITHUB PR #6973
Optional Tests dupname asflicense mvnsite unit codespell detsecrets shellcheck shelldocs
uname Linux 46c675e97240 5.15.0-116-generic #126-Ubuntu SMP Mon Jul 1 10:14:24 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 080575c
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6973/1/testReport/
Max. process+thread count 559 (vs. ulimit of 5500)
modules C: U:
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6973/1/console
versions git=2.25.1 maven=3.6.3 shellcheck=0.7.0
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@slfan1989
Copy link
Contributor

LGTM.

@tomscut tomscut merged commit b08d492 into apache:trunk Aug 5, 2024
1 of 3 checks passed
@tomscut
Copy link
Contributor

tomscut commented Aug 5, 2024

Thanks @zhengchenyu for your contribution! Thanks @slfan1989 for the review.

@steveloughran
Copy link
Contributor

do we need this for older branches?

@mukund-thakur

@mukund-thakur
Copy link
Contributor

I didn't see this error while making 3.4.1 release, so we are good I guess.

@zhengchenyu
Copy link
Contributor Author

I didn't see this error while making 3.4.1 release, so we are good I guess.

@mukund-thakur This error only happened when ci test with c/c++ changed. I'm not sure if it will affect the release.

KeeProMise pushed a commit to KeeProMise/hadoop that referenced this pull request Sep 9, 2024
Hexiaoqiao pushed a commit to Hexiaoqiao/hadoop that referenced this pull request Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants