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

v1.20.0-alpha.2 is in stable.txt #95536

Closed
k-kinzal opened this issue Oct 14, 2020 · 9 comments
Closed

v1.20.0-alpha.2 is in stable.txt #95536

k-kinzal opened this issue Oct 14, 2020 · 9 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. sig/release Categorizes an issue or PR as relevant to SIG Release. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@k-kinzal
Copy link

What happened:

https://storage.googleapis.com/kubernetes-release/release/stable.txt

v1.20.0-alpha.2

There seems to be an alpha version in stable.txt

What you expected to happen:

I think v1.19.2 should be in stable.txt.

How to reproduce it (as minimally and precisely as possible):

Go to https://storage.googleapis.com/kubernetes-release/release/stable.txt

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Network plugin and version (if this is a network-related bug):
  • Others:
@k-kinzal k-kinzal added the kind/bug Categorizes issue or PR as related to a bug. label Oct 14, 2020
@k8s-ci-robot k8s-ci-robot added needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Oct 14, 2020
@k-kinzal
Copy link
Author

/sig release

@k8s-ci-robot k8s-ci-robot added sig/release Categorizes an issue or PR as relevant to SIG Release. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Oct 14, 2020
@justaugustus
Copy link
Member

/priority critical-urgent
/assign @hasheddan @saschagrunert

cc: @kubernetes/release-engineering
/triage accepted

Investigation thread on Slack: https://kubernetes.slack.com/archives/C2C40FMNF/p1602639142299800

@k8s-ci-robot k8s-ci-robot added priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. 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 Oct 14, 2020
@saschagrunert
Copy link
Member

Thanks for the fix @hasheddan! 💚 I'm not sure if the v1.19.3 patch release from today should bring back the right version, because we compare the remote version (right now v1.20.0-alpha.2) to the new one (v1.19.3) on a semver basis:

https://github.com/kubernetes/release/blob/3e6255b8b86d1b43b8fcff67fd36d03f60495422/pkg/release/publish.go#L168-L190

Can we manually revert the markers back somehow?

@BoleynSu
Copy link

BoleynSu commented Oct 14, 2020

It would be better to require manual approval for releases to prevent issues like this. What if we introduce another label for non-releases? The current fix will still fail to react correctly.

If we really want to avoid manual approval, a allowlist would be better than a blocklist here, i.e., checking with if version in allowlist instead of if version not in blocklist. IIUC we can accept false negative while we really want to avoid false positive.

@saschagrunert
Copy link
Member

It would be better to require manual approval for releases to prevent issues like this. What if we introduce another label for non-releases? The current fix will still fail to react correctly.

Not sure if I get this, how would manual approval work technically?

@BoleynSu
Copy link

It would be better to require manual approval for releases to prevent issues like this. What if we introduce another label for non-releases? The current fix will still fail to react correctly.

Not sure if I get this, how would manual approval work technically?

I mean adding a blocker that requires manual approval in the pipeline.

@BoleynSu
Copy link

BoleynSu commented Oct 14, 2020

It would be better to require manual approval for releases to prevent issues like this. What if we introduce another label for non-releases? The current fix will still fail to react correctly.

Not sure if I get this, how would manual approval work technically?

BTW, I updated my comment above to include

If we really want to avoid manual approval, a allowlist would be better than a blocklist here, i.e., checking with if version in allowlist instead of if version not in blocklist. IIUC we can accept false negative while we really want to avoid false positive.

@justaugustus
Copy link
Member

Closed via kubernetes/release#1640 (comment).

$ for marker in stable stable-1 stable-1.20; do gsutil cat "gs://kubernetes-release/release/$marker.txt"; done
v1.19.2
v1.19.2
CommandException: No URLs matched: gs://kubernetes-release/release/stable-1.20.txt

/assign
/close

@k8s-ci-robot
Copy link
Contributor

@justaugustus: Closing this issue.

In response to this:

Closed via kubernetes/release#1640 (comment).

$ for marker in stable stable-1 stable-1.20; do gsutil cat "gs://kubernetes-release/release/$marker.txt"; done
v1.19.2
v1.19.2
CommandException: No URLs matched: gs://kubernetes-release/release/stable-1.20.txt

/assign
/close

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/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. sig/release Categorizes an issue or PR as relevant to SIG Release. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

6 participants