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

[release-0.3] Update the queue name in workload only when the job is standalone #718

Conversation

k8s-infra-cherrypick-robot

This is an automated cherry-pick of #713

/assign tenzen-y

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: k8s-infra-cherrypick-robot
Once this PR has been reviewed and has the lgtm label, please assign alculquicondor for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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 cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 24, 2023
Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

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

/lgtm
/assign @alculquicondor

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 24, 2023
@tenzen-y
Copy link
Member

Oh, prow seems to be very heavy...

go: downloading github.com/prometheus/procfs v0.7.3
go: downloading google.golang.org/protobuf v1.28.0
go: downloading github.com/mattn/go-runewidth v0.0.9
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
/home/prow/go/src/sigs.k8s.io/kueue/bin/golangci-lint run --timeout 7m0s
make: *** [Makefile:158: ci-lint] Killed

@tenzen-y
Copy link
Member

/test pull-kueue-verify-main

@k8s-ci-robot
Copy link
Contributor

@k8s-infra-cherrypick-robot: 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-kueue-verify-main 95dda14 link true /test pull-kueue-verify-main

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/test-infra repository. I understand the commands that are listed here.

@tenzen-y
Copy link
Member

I found the causes.

We are using the golangci-lint v1.48.0 which doesn't support Go v1.20 in the release-0.3 branch, even though we are using Go 1.20 CI.

https://github.com/kubernetes/test-infra/blob/cd2ed1fcffe20602f568502945428474b0a0351b/config/jobs/kubernetes-sigs/kueue/kueue-presubmits.yaml#L114-L128

So, we should update the golangci-lint version in release-0.3 branch or add a task like the below to prow config:

  - name: pull-kueue-verify-main-release-0-3
    always_run: true
    decorate: true
    path_alias: sigs.k8s.io/kueue
    annotations:
      testgrid-dashboards: sig-scheduling
      testgrid-tab-name: pull-kueue-verify-main
      description: "Run kueue verify checks"
    branches:
    - ^release-0.3$    
    spec:
      containers:
      - image: golang:1.19
        command:
        - make
        args:
        - verify

@alculquicondor Which options do you prefer?

@tenzen-y
Copy link
Member

IMO, I'd like to add a new task to the prow config.

@alculquicondor
Copy link
Contributor

In kubernetes, we actually bump the go version in the release branches, but more so when it's about to reach end-of-support kubernetes/kubernetes#113956

I think it should be fine to bump golangci-lint, if everything continues passing.

@tenzen-y
Copy link
Member

In kubernetes, we actually bump the go version in the release branches, but more so when it's about to reach end-of-support kubernetes/kubernetes#113956

I think it should be fine to bump golangci-lint, if everything continues passing.

Ah, I see. I will create a PR to cherry-pick 86928b3 on release-0.3 branch.

@tenzen-y
Copy link
Member

Actually, I will create a PR to cherry-pick #675 :)

@ArangoGutierrez
Copy link
Contributor

kubernetes/test-infra#29362 <- this PR could fix the presubmits for release-03 branch

@ArangoGutierrez
Copy link
Contributor

In kubernetes, we actually bump the go version in the release branches, but more so when it's about to reach end-of-support kubernetes/kubernetes#113956

I think it should be fine to bump golangci-lint, if everything continues passing.

To Aldo's comment, 1.19 is still support(and has still some lifecycle to run) and release-03 was just released, a dependency change like this is not a good practice unless is required to fix a critical bug (security or functional)

@ArangoGutierrez
Copy link
Contributor

/retest

@ArangoGutierrez
Copy link
Contributor

/test all

@ArangoGutierrez
Copy link
Contributor

/override pull-kueue-verify-main

@alculquicondor
Copy link
Contributor

/close

Let's try creating a new PR

@k8s-ci-robot
Copy link
Contributor

@alculquicondor: Closed this PR.

In response to this:

/close

Let's try creating a new 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/test-infra repository.

@alculquicondor
Copy link
Contributor

/milestone clear

@k8s-ci-robot k8s-ci-robot removed this from the v0.3 milestone Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants