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

Custom builds: fall back to curl with az login fails #5109

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

nawazkh
Copy link
Member

@nawazkh nawazkh commented Sep 4, 2024

What type of PR is this?
/kind failing-test

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

  • cherry-pick candidate

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests

Release note:

Custom build templates to use curl when az login fails

@k8s-ci-robot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Sep 4, 2024
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 4, 2024
Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.35%. Comparing base (d8788d2) to head (d95876f).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5109      +/-   ##
==========================================
- Coverage   51.36%   51.35%   -0.01%     
==========================================
  Files         273      273              
  Lines       24676    24676              
==========================================
- Hits        12674    12672       -2     
- Misses      11212    11214       +2     
  Partials      790      790              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nawazkh nawazkh force-pushed the update_custom_builds branch from 006a243 to bafa6ab Compare September 5, 2024 17:09
@nawazkh nawazkh assigned nawazkh and unassigned nawazkh Sep 9, 2024
@nawazkh nawazkh force-pushed the update_custom_builds branch from 4dc7cf5 to 3fd1e00 Compare September 12, 2024 23:00
@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 12, 2024
@nawazkh
Copy link
Member Author

nawazkh commented Sep 13, 2024

Will squash after tests go green.

@nawazkh nawazkh marked this pull request as ready for review September 13, 2024 19:50
@nawazkh
Copy link
Member Author

nawazkh commented Sep 13, 2024

/test

@k8s-ci-robot
Copy link
Contributor

@nawazkh: The /test command needs one or more targets.
The following commands are available to trigger required jobs:

  • /test pull-cluster-api-provider-azure-apiversion-upgrade
  • /test pull-cluster-api-provider-azure-build
  • /test pull-cluster-api-provider-azure-ci-entrypoint
  • /test pull-cluster-api-provider-azure-e2e
  • /test pull-cluster-api-provider-azure-e2e-aks
  • /test pull-cluster-api-provider-azure-test
  • /test pull-cluster-api-provider-azure-verify

The following commands are available to trigger optional jobs:

  • /test pull-cluster-api-provider-azure-apidiff
  • /test pull-cluster-api-provider-azure-capi-e2e
  • /test pull-cluster-api-provider-azure-conformance
  • /test pull-cluster-api-provider-azure-conformance-custom-builds
  • /test pull-cluster-api-provider-azure-conformance-dual-stack-with-ci-artifacts
  • /test pull-cluster-api-provider-azure-conformance-ipv6-with-ci-artifacts
  • /test pull-cluster-api-provider-azure-conformance-with-ci-artifacts
  • /test pull-cluster-api-provider-azure-e2e-optional
  • /test pull-cluster-api-provider-azure-e2e-workload-upgrade
  • /test pull-cluster-api-provider-azure-windows-custom-builds
  • /test pull-cluster-api-provider-azure-windows-with-ci-artifacts

Use /test all to run the following jobs that were automatically triggered:

  • pull-cluster-api-provider-azure-apidiff
  • pull-cluster-api-provider-azure-build
  • pull-cluster-api-provider-azure-ci-entrypoint
  • pull-cluster-api-provider-azure-conformance
  • pull-cluster-api-provider-azure-conformance-custom-builds
  • pull-cluster-api-provider-azure-conformance-dual-stack-with-ci-artifacts
  • pull-cluster-api-provider-azure-conformance-ipv6-with-ci-artifacts
  • pull-cluster-api-provider-azure-conformance-with-ci-artifacts
  • pull-cluster-api-provider-azure-e2e
  • pull-cluster-api-provider-azure-e2e-aks
  • pull-cluster-api-provider-azure-test
  • pull-cluster-api-provider-azure-verify
  • pull-cluster-api-provider-azure-windows-custom-builds
  • pull-cluster-api-provider-azure-windows-with-ci-artifacts

In response to this:

/test

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@nawazkh
Copy link
Member Author

nawazkh commented Sep 13, 2024

/test all

@nawazkh nawazkh changed the title [WIP] Custom builds: fall back to curl with az login fails Custom builds: fall back to curl with az login fails Sep 13, 2024
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 13, 2024
@nawazkh
Copy link
Member Author

nawazkh commented Sep 13, 2024

/test pull-cluster-api-provider-azure-windows-with-ci-artifacts

@nawazkh nawazkh force-pushed the update_custom_builds branch 2 times, most recently from d05b116 to cb2bbeb Compare September 19, 2024 17:00
@nawazkh nawazkh requested a review from jackfrancis September 19, 2024 17:24
@nawazkh
Copy link
Member Author

nawazkh commented Sep 19, 2024

/test pull-cluster-api-provider-azure-windows-with-ci-artifacts

@nawazkh nawazkh force-pushed the update_custom_builds branch from cb2bbeb to b4879bb Compare October 2, 2024 16:48
@nawazkh
Copy link
Member Author

nawazkh commented Oct 2, 2024

/test pull-cluster-api-provider-azure-windows-with-ci-artifacts

@nawazkh
Copy link
Member Author

nawazkh commented Oct 3, 2024

/test pull-cluster-api-provider-azure-conformance-with-ci-artifacts

Copy link
Contributor

@willie-yao willie-yao 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 overall! Just 2 minor comments.

@nawazkh nawazkh force-pushed the update_custom_builds branch from b4879bb to d95876f Compare October 4, 2024 20:07
@willie-yao
Copy link
Contributor

/retest

@k8s-ci-robot
Copy link
Contributor

@nawazkh: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-cluster-api-provider-azure-load-test-custom-builds d95876f link false /test pull-cluster-api-provider-azure-load-test-custom-builds

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@nawazkh
Copy link
Member Author

nawazkh commented Oct 4, 2024

Are we still expecting pull-cluster-api-provider-azure-load-test-custom-builds to fail for these PRs, @Jont828 ?

Copy link
Contributor

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 7, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 090d0d93be03cbc7d940122f445e817fdf1005a3

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jackfrancis

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 7, 2024
@k8s-ci-robot k8s-ci-robot merged commit 37e9e1f into kubernetes-sigs:main Oct 7, 2024
29 of 30 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.18 milestone Oct 7, 2024
@nawazkh nawazkh deleted the update_custom_builds branch October 8, 2024 19:24
@nawazkh
Copy link
Member Author

nawazkh commented Oct 11, 2024

/cherry-pick release-1.17

@nawazkh
Copy link
Member Author

nawazkh commented Oct 11, 2024

/cherry-pick release-1.16

@k8s-infra-cherrypick-robot

@nawazkh: #5109 failed to apply on top of branch "release-1.16":

Applying: fall back to curl when az login --identity fails
.git/rebase-apply/patch:474: trailing whitespace.
    /var/lib/kubelet/credential-provider-config.yaml  
.git/rebase-apply/patch:529: trailing whitespace.
      
.git/rebase-apply/patch:555: trailing whitespace.
    /var/lib/kubelet/credential-provider-config.yaml  
.git/rebase-apply/patch:571: trailing whitespace.
        
.git/rebase-apply/patch:883: trailing whitespace.
      
warning: squelched 3 whitespace errors
warning: 8 lines add whitespace errors.
Using index info to reconstruct a base tree...
A	templates/test/ci/cluster-template-prow-ci-version-dra.yaml
M	templates/test/ci/cluster-template-prow-ci-version-dual-stack.yaml
M	templates/test/ci/cluster-template-prow-ci-version-ipv6.yaml
M	templates/test/ci/cluster-template-prow-ci-version.yaml
M	templates/test/ci/cluster-template-prow-machine-pool-ci-version.yaml
A	templates/test/dev/cluster-template-custom-builds-dra.yaml
M	templates/test/dev/cluster-template-custom-builds-machine-pool.yaml
M	templates/test/dev/cluster-template-custom-builds.yaml
Falling back to patching base and 3-way merge...
Auto-merging templates/test/dev/cluster-template-custom-builds.yaml
Auto-merging templates/test/dev/cluster-template-custom-builds-machine-pool.yaml
CONFLICT (modify/delete): templates/test/dev/cluster-template-custom-builds-dra.yaml deleted in HEAD and modified in fall back to curl when az login --identity fails. Version fall back to curl when az login --identity fails of templates/test/dev/cluster-template-custom-builds-dra.yaml left in tree.
Auto-merging templates/test/ci/cluster-template-prow-machine-pool-ci-version.yaml
Auto-merging templates/test/ci/cluster-template-prow-ci-version.yaml
Auto-merging templates/test/ci/cluster-template-prow-ci-version-ipv6.yaml
Auto-merging templates/test/ci/cluster-template-prow-ci-version-dual-stack.yaml
CONFLICT (modify/delete): templates/test/ci/cluster-template-prow-ci-version-dra.yaml deleted in HEAD and modified in fall back to curl when az login --identity fails. Version fall back to curl when az login --identity fails of templates/test/ci/cluster-template-prow-ci-version-dra.yaml left in tree.
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Patch failed at 0001 fall back to curl when az login --identity fails

In response to this:

/cherry-pick release-1.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-infra-cherrypick-robot

@nawazkh: new pull request created: #5173

In response to this:

/cherry-pick release-1.17

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jackfrancis
Copy link
Contributor

@nawazkh I think you can skip cherry-picking to release-1.16

@jeremyrickard when this lands on release-1.17 branch you can use that branch to source a test run

@jackfrancis jackfrancis mentioned this pull request Oct 31, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants