-
Notifications
You must be signed in to change notification settings - Fork 1
SRE-3104 ci: Use DAOS specific HTTPS_PROXY variable #470
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
Conversation
The HTTPS_PROXY variable set in Jenkins may force any shell script to use a proxy server. This is not expected, as we want to avoid using a proxy unless it is explicitly needed by the DAOS tests or the build process. Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
|
Test stage provisionNodes on EL 9 with master Repo completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/1/display/redirect |
|
Test stage provisionNodes on EL 8 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/1/display/redirect |
|
Test stage provisionNodes on Leap 15 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/1/display/redirect |
|
Test stage provisionNodes on EL 8 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/2/display/redirect |
|
Test stage provisionNodes on EL 9 with master Repo completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/2/display/redirect |
|
Test stage provisionNodes on Leap 15 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/2/display/redirect |
Pass HTTPS_PROXY to docekr build command Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
|
Test stage provisionNodes on EL 9 with master Repo completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/3/display/redirect |
|
Test stage provisionNodes on EL 8 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/3/display/redirect |
|
Test stage provisionNodes on Leap 15 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/3/display/redirect |
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
|
Test stage provisionNodes on EL 9 with master Repo completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/4/display/redirect |
|
Test stage provisionNodes on EL 8 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/4/display/redirect |
|
Test stage provisionNodes on Leap 15 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/4/display/redirect |
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
|
Test stage provisionNodes on EL 8 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/5/display/redirect |
|
Test stage provisionNodes on EL 9 with master Repo completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/5/display/redirect |
|
Test stage provisionNodes on Leap 15 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/5/display/redirect |
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
|
Test stage provisionNodes on EL 9 with master Repo completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/6/display/redirect |
|
Test stage provisionNodes on EL 8 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/6/display/redirect |
|
Test stage provisionNodes on Leap 15 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/6/display/redirect |
JohnMalmberg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good enough, but at some time we will want to take a second pass and cleanup a few nits.
| /* | ||
| * Copyright (C) 2020-2024 Intel Corporation | ||
| * Copyright (C) 2025 Hewlett Packard Enterprise Development LP | ||
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The (C) actually should not be in Copyright messages. It has no legal meaning, and we should only have it in places where we have to match a known boilerplate that has it.
I have been removing '(C)' when I update copyright lines in code modules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vars/dockerBuildArgs.groovy
Outdated
| // vars/dockerBuildArgs.groovy | ||
| /* | ||
| * Copyright (C) 2020-2024 Intel Corporation | ||
| * Copyright (C) 2025 Hewlett Packard Enterprise Development LP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vars/functionalTest.groovy
Outdated
| * Copyright (C) 2020-2024 Intel Corporation | ||
| * Copyright (C) 2025 Hewlett Packard Enterprise Development LP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| if (env.DAOS_HTTPS_PROXY) { | ||
| script += ' --proxy "' + env.DAOS_HTTPS_PROXY + '"' | ||
| } | ||
| script += ' --user --upgrade launchable~=1.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pip program searches a number of locations for a config file name pip.conf or something similar.
When we setup a docker container or a system to use pip, we should be updating that file instead of adding --proxy to the pip command.
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
|
Test stage provisionNodes on EL 8 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/9/display/redirect |
|
Test stage provisionNodes on EL 9 with master Repo completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/9/display/redirect |
|
Test stage provisionNodes on Leap 15 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/9/display/redirect |
|
Test stage provisionNodes on EL 8 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/10/display/redirect |
|
Test stage provisionNodes on EL 9 with master Repo completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/10/display/redirect |
|
Test stage provisionNodes on Leap 15 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/10/display/redirect |
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
|
Test stage provisionNodes on EL 9 with master Repo completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/11/display/redirect |
|
Test stage provisionNodes on EL 8 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/11/display/redirect |
|
Test stage provisionNodes on Leap 15 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/11/display/redirect |
tanabarr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to create a groovy helper to perform the proxy checks rather than duplicating but otherwise LGTM.
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
|
Test stage provisionNodes on EL 9 with master Repo completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/12/display/redirect |
|
Test stage provisionNodes on EL 8 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/12/display/redirect |
|
Test stage provisionNodes on Leap 15 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/12/display/redirect |
|
Test stage provisionNodes on EL 9 with master Repo completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/13/display/redirect |
|
Test stage provisionNodes on EL 8 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/13/display/redirect |
|
Test stage provisionNodes on Leap 15 with slurm completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/pipeline-lib/job/PR-470/13/display/redirect |
The
HTTPS_PROXYvariable set in Jenkins may force any shell script to use a proxy server.This is not expected, as we want to avoid using a proxy unless it is explicitly needed by the DAOS tests or the build process.