Skip to content

SRE-3104 ci: Use DAOS specific HTTPS_PROXY variable #16496

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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

grom72
Copy link
Contributor

@grom72 grom72 commented Jun 10, 2025

SRE-3104 ci: Use DAOS specific HTTPS_PROXY variable

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.

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

grom72 added 3 commits June 10, 2025 16:54
Use custom library for validation purpose

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.

Priority: 2

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
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.

Priority: 2

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Priority: 2

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Copy link

github-actions bot commented Jun 10, 2025

Errors are Unable to load ticket data
https://daosio.atlassian.net/browse/SRE-3104

grom72 added 3 commits June 10, 2025 18:30
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
This reverts commit a3a1779.

Priority: 2

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Skip-python-bandit: true

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
@daosbuild3
Copy link
Collaborator

This reverts commit c737e52.

Cancel-prev-build: false

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
@daosbuild3
Copy link
Collaborator

@daosbuild3
Copy link
Collaborator

@daosbuild3
Copy link
Collaborator

@daosbuild3
Copy link
Collaborator

@daosbuild3
Copy link
Collaborator

@daosbuild3
Copy link
Collaborator

Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16496/8/display/redirect

@daosbuild3
Copy link
Collaborator

Test stage Functional on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16496/8/display/redirect

@daosbuild3
Copy link
Collaborator

Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16496/7/display/redirect

@daosbuild3
Copy link
Collaborator

Test stage Functional on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16496/7/display/redirect

@grom72 grom72 changed the title Use DAOS specific HTTPS_PROXY variable SRE-3104 ci: Use DAOS specific HTTPS_PROXY variable Jun 11, 2025
@daosbuild3
Copy link
Collaborator

Test stage Functional Hardware Medium Verbs Provider MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16496/11/display/redirect

@daosbuild3
Copy link
Collaborator

Test stage Functional Hardware Medium MD on SSD completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16496/11/testReport/

@daosbuild3
Copy link
Collaborator

Test stage Functional Hardware Medium completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16496/11/testReport/

@daosbuild3
Copy link
Collaborator

Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16496/11/execution/node/768/log

@daosbuild3
Copy link
Collaborator

@grom72 grom72 marked this pull request as ready for review June 11, 2025 14:18
@grom72 grom72 requested review from a team as code owners June 11, 2025 14:18
JohnMalmberg
JohnMalmberg previously approved these changes Jun 11, 2025
Copy link
Contributor

@JohnMalmberg JohnMalmberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good with some minor nits.

Comment on lines 2 to 3
// (C) Copyright 2019-2024 Intel Corporation.
// (C) Copyright 2025 Hewlett Packard Enterprise Development LP
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we update these, we should be removing the (C) as it has no legal meaning in Copyright messages.
Copyright messages must use the word Copyright or the special symbol of an R with a circle around it as a shorthand,.
Copyright messages should not have both the word Copyright and the special symbol.
The (C) can not be used as a substitute for the special symbol or the word Copyright.
Note copyright messages are not required to enforce a the right of copyright, they just make it easier to do so.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW these copyright messages get updated automatically. So if we really want to remove the (C) I think it would be better to update the githook to do that instead of doing it manually

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the GitHook should be fixed with a comment in it that (C) is not part of the copyright law.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines 2 to 3
// (C) Copyright 2019-2024 Intel Corporation.
// (C) Copyright 2025 Hewlett Packard Enterprise Development LP
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@grom72 grom72 added the forced-landing The PR has known failures or has intentionally reduced testing, but should still be landed. label Jun 11, 2025
@@ -63,6 +64,7 @@ func ScrubProxyVariables() {
proxyVars := []string{
"http_proxy", "https_proxy", "ftp_proxy", "socks_proxy", "no_proxy",
"HTTP_PROXY", "HTTPS_PROXY", "FTP_PROXY", "SOCKS_PROXY", "NO_PROXY",
"DAOS_HTTPS_PROXY",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar enough, but do we really need this change in the control plane? Since we ultimately

export HTTPS_PROXY=DAOS_HTTPS_PROXY

Copy link
Contributor

@tanabarr tanabarr Jun 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This affects the engine process environment, @mjmac understands this better than I do?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I don't think we want or need this here, as it's specific to the HPE CI environment. The utility of this helper is for allowing e.g. the dmg utility to invoke gRPC methods on an internal server without accidentally going through the proxy.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cancel-prev-build: false

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Cancel-prev-build
Priority: 2

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
@grom72 grom72 requested review from JohnMalmberg and ryon-jensen and removed request for a team June 11, 2025 18:07
JohnMalmberg
JohnMalmberg previously approved these changes Jun 11, 2025
@daosbuild3
Copy link
Collaborator

Copy link
Contributor

@kjacque kjacque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK to me, now that the Go stuff is removed. Should get another review from someone on devops or validation.

@daosbuild3
Copy link
Collaborator

Test stage Functional on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16496/18/display/redirect

tanabarr
tanabarr previously approved these changes Jun 12, 2025
@daosbuild3
Copy link
Collaborator

This reverts commit 0bebf70.

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
@grom72 grom72 dismissed stale reviews from tanabarr and JohnMalmberg via 2a4207b June 13, 2025 11:42
@grom72 grom72 requested review from tanabarr and JohnMalmberg June 13, 2025 11:43
@daosbuild3
Copy link
Collaborator

Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16496/22/execution/node/1337/log

@daosbuild3
Copy link
Collaborator

Test stage Functional Hardware Medium MD on SSD completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16496/22/testReport/

@daosbuild3
Copy link
Collaborator

Test stage Functional Hardware Medium Verbs Provider MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16496/22/execution/node/1476/log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forced-landing The PR has known failures or has intentionally reduced testing, but should still be landed.
Development

Successfully merging this pull request may close these issues.

7 participants