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

update Azure/go-ansiterm to v0.0.0-20210617225240-d185dfc1b5a1 #103010

Merged
merged 1 commit into from Jun 19, 2021

Conversation

BenTheElder
Copy link
Member

fixes constant overflow compiling for windows/386

What type of PR is this?

/kind bug

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #102988 <-- we don't have passing release builds right now (!)

Special notes for your reviewer:

see: Azure/go-ansiterm@d185dfc

Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


/sig windows
/sig release
/priority critical-urgent

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. sig/windows Categorizes an issue or PR as relevant to SIG Windows. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. sig/release Categorizes an issue or PR as relevant to SIG Release. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. release-note-none Denotes a PR that doesn't merit a release note. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jun 18, 2021
@BenTheElder
Copy link
Member Author

/test pull-kubernetes-cross

@BenTheElder
Copy link
Member Author

/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jun 18, 2021
@k8s-ci-robot k8s-ci-robot added area/apiserver area/cloudprovider area/code-generation area/dependency Issues or PRs related to dependency changes area/kubectl sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/cli Categorizes an issue or PR as relevant to SIG CLI. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. sig/instrumentation Categorizes an issue or PR as relevant to SIG Instrumentation. sig/node Categorizes an issue or PR as relevant to SIG Node. sig/storage Categorizes an issue or PR as relevant to SIG Storage. labels Jun 18, 2021
@BenTheElder
Copy link
Member Author

BenTheElder commented Jun 18, 2021

it's too bad hack/update-vendor.sh or hack/pin-dependency.sh isn't smart enough to do https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/103010/pull-kubernetes-dependencies/1406012178892328960 for me automatically:

These modules are pinned to versions different than the minimal preferred version.
That means that without replace directives, a different version would be selected,
which breaks consumers of our published modules.
1. Use hack/pin-dependency.sh to switch to the preferred version for each module
2. Run hack/update-vendor.sh to rebuild the vendor directory
3. Run hack/lint-dependencies.sh to verify no additional changes are required

golang.org/x/sys
    pinned:    v0.0.0-20210603081109-ebe580a85c40
    preferred: v0.0.0-20210616094352-59db8d763f22
    hack/pin-dependency.sh golang.org/x/sys v0.0.0-20210616094352-59db8d763f22
All pinned versions of checked dependencies match their preferred version.

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 18, 2021
@aojea
Copy link
Member

aojea commented Jun 18, 2021

golang.org/x/sys
    pinned:    v0.0.0-20210603081109-ebe580a85c40
    preferred: v0.0.0-20210616094352-59db8d763f22
    hack/pin-dependency.sh golang.org/x/sys v0.0.0-20210616094352-59db8d763f22
All pinned versions of checked dependencies match their preferred version.

EDIT

too late

@BenTheElder
Copy link
Member Author

ran steps from above #103010 (comment). hack/lint-dependencies.sh reports nothing now.

/test pull-kubernetes-cross

@BenTheElder
Copy link
Member Author

@BenTheElder
Copy link
Member Author

I guess lint-deps and update-vendor don't check internal modules ..?

added a ./hack/update-internal-modules.sh to the commit

@BenTheElder
Copy link
Member Author

/test pull-kubernetes-cross

@dims
Copy link
Member

dims commented Jun 18, 2021

/assign @liggitt

/approve
(not that i'd make a difference as i don't have enough karma!)

@BenTheElder
Copy link
Member Author

BenTheElder commented Jun 18, 2021

Errors from staticcheck:
cluster/images/etcd/migrate/versions.go:129:1: this linter directive didn't match anything; should it be removed? ()
cluster/images/etcd/migrate/versions.go:192:1: this linter directive didn't match anything; should it be removed? ()

Please review the above warnings. You can test via:
  hack/verify-staticcheck.sh <failing package>
If the above warnings do not make sense, you can exempt the line or file. See:
  https://staticcheck.io/docs/#ignoring-problems

https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/103010/pull-kubernetes-verify/1406027044235513856
🤨
/retest

@BenTheElder
Copy link
Member Author

cross build is green 👍

verify is a known linter flake class with "is this method used or dead code" + methods used by unit tests

@liggitt
Copy link
Member

liggitt commented Jun 19, 2021

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: BenTheElder, dims, liggitt

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 Jun 19, 2021
@BenTheElder
Copy link
Member Author

still needs a /lgtm for merge. tests are good now.

@dims
Copy link
Member

dims commented Jun 19, 2021

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 19, 2021
@k8s-ci-robot k8s-ci-robot merged commit 2ff70c7 into kubernetes:master Jun 19, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.22 milestone Jun 19, 2021
@BenTheElder BenTheElder deleted the ansi-386-overflow branch June 19, 2021 04:43
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. area/apiserver area/cloudprovider area/code-generation area/dependency Issues or PRs related to dependency changes area/kubectl cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. release-note-none Denotes a PR that doesn't merit a release note. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/cli Categorizes an issue or PR as relevant to SIG CLI. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. sig/instrumentation Categorizes an issue or PR as relevant to SIG Instrumentation. sig/node Categorizes an issue or PR as relevant to SIG Node. sig/release Categorizes an issue or PR as relevant to SIG Release. sig/storage Categorizes an issue or PR as relevant to SIG Storage. sig/windows Categorizes an issue or PR as relevant to SIG Windows. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Failing Test][sig-release] ci-kubernetes-build
5 participants