-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Run strace on jenkins Linux agents to generate list of packages we use for build #3087
Comments
created test job https://ci.adoptopenjdk.net/view/work-in-progress/job/wen_strace_list_0/ to run on jdk19 linux x64 |
so the basic idea of this job is to only update some flags in temurin-build and the jenkins job parameter
I tried to create a freestyle job in jenkins wen_strace_list, and I want to just do the basic steps as manually done in "strace" original issue, but the difficulty is, seems by someway we are using docker container for the build and i need to find a way to run the same thing by write some script in freestyle. That's why i did not continue with that. |
strace is not installed in adoptopenjdk/centos6_build_image |
i am very surprised, the result from running from our pipeline https://ci.adoptopenjdk.net/view/work-in-progress/job/wen_strace_list_0/15/ with archived strace_archivefile shows a very different result
does not include any path of the files but only address?
which is totally different from the same image i used locally.
|
boot jdk is also needed to set for the "configure" in my local, since i have both jdk8 and jdk18 installed, it picks jdk18 |
create another job https://ci.adoptopenjdk.net/view/work-in-progress/job/wen_strace_list_alpine/1/console |
⭐ to also sum up: ⭐
B) C) D) E) D) and E):
|
some input of building inside of container locally, requires GCC ld version which is not the default one in the image:
|
one extra findings: /home/adoptopenjdk/ is used for alpine x64, /home/jenkins is used for other builds |
from https://ci.adoptopenjdk.net/view/work-in-progress/job/wen_strace_list_alpine/4/console |
run: https://ci.adoptopenjdk.net/view/work-in-progress/job/wen_strace_list_alpine/5/console
|
run on my local:
|
above logs shows, in centos6_build_image (for jdk18 it does work with file name) |
another run on my local docker run -it --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --security-opt apparmor=unconfined quay.io/wenzhou/centos6_build_image bash when disable ccache and set similar flags when configure
|
I’ll take a look at this |
@henning410 As discussed, aim for the next 2 weeks:
|
Linux arm64 centos7: strace is not available on adoptium jenkins CI tried with:
|
Raised strace infra issue: adoptium/infrastructure#3251 |
Completed |
To continue with #2813 (comment)
run the similar "strace" on jenkins Linux agents for different jdk versions , in order to generate a list of packages we use during build.
This is not needed to be run regularly at the moment, due to high disk usage for all strace output files and the extra time.
the output of this issue (the list) should be used as input for #3086 as baseline
The text was updated successfully, but these errors were encountered: