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

Jenkinsfile.kola.gcp: drop --gce-image #240

Merged
merged 1 commit into from
May 22, 2020

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented May 21, 2020

Upgrade tests use the image of the previous release, not the candidate
release we're testing itself. The --find-parent-image switch will
automatically find the starting image to use.

Closes: coreos/fedora-coreos-tracker#487

Upgrade tests use the image of the previous release, not the candidate
release we're testing itself. The `--find-parent-image` switch will
automatically find the starting image to use.

Closes: coreos/fedora-coreos-tracker#487
@jlebon
Copy link
Member Author

jlebon commented May 21, 2020

Requires: coreos/coreos-assembler#1468

@dustymabe
Copy link
Member

hmm. Note here that the line we are removing is:

--gce-image="projects/${gcp_image_project}/global/images/${gcp_image}" \

which encodes the project the image belongs to as well. I think we need to hold this, let me revive coreos/coreos-assembler#1335 so we can get project into the meta.json and then update coreos/coreos-assembler#1468 to also consider project.

Do you agree?

@jlebon
Copy link
Member Author

jlebon commented May 21, 2020

I think we need to hold this, let me revive coreos/coreos-assembler#1335 so we can get project into the meta.json and then update coreos/coreos-assembler#1468 to also consider project.

Do you agree?

Ahh right, the image is not useful without a project. Sure yup, let's do coreos/coreos-assembler#1335. (I guess short-term we could also just hardcode the project name in kola, though coreos/coreos-assembler#1335 looks pretty straightforward.)

@dustymabe
Copy link
Member

dustymabe commented May 22, 2020

ok coreos/coreos-assembler#1335 merged and coreos/coreos-assembler#1468 is approved.

just wondering.. do we need to or should we drop --gce-image from the other cosa kola call?

Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

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

LGTM

@dustymabe
Copy link
Member

as part of this do you want to enable the GCP test in the pipeline too?

@dustymabe
Copy link
Member

as part of this do you want to enable the GCP test in the pipeline too?

nvm - let's do it in #241

@jlebon
Copy link
Member Author

jlebon commented May 22, 2020

ok coreos/coreos-assembler#1335 merged and coreos/coreos-assembler#1468 is approved.

Awesome, thanks for testing! Let's merge once the latter one is in.

just wondering.. do we need to or should we drop --gce-image from the other cosa kola call?

The other cosa kola call isn't an upgrade test, so we want to bring up the actual image we've just uploaded (though an interesting subject here would be to rerun some of the tests on top of a freshly updated system; e.g. something like kola run --upgrade-to $URL_TO_OSTREE).

@dustymabe
Copy link
Member

The other cosa kola call isn't an upgrade test, so we want to bring up the actual image we've just uploaded

I'm just wondering why kola can find that information (the image/image project) itself since we are passing it the --build ?

@dustymabe dustymabe merged commit a998c73 into coreos:master May 22, 2020
@jlebon
Copy link
Member Author

jlebon commented May 22, 2020

I'm just wondering why kola can find that information (the image/image project) itself since we are passing it the --build ?

I'm guessing you mean "aren't", right?

kola knows to use the latest build if $PWD is a cosa workdir.

@dustymabe
Copy link
Member

Let me start over.. Why can't we remove

--gce-image="projects/${gcp_image_project}/global/images/${gcp_image}" \

@jlebon
Copy link
Member Author

jlebon commented May 22, 2020

Let me start over.. Why can't we remove

Because right now kola doesn't know to just automatically use the GCP image from the build metadata if --platform=gce (see how it's done right now for qemu at https://github.com/coreos/coreos-assembler/blob/3b691fbedf3ff367098a78bf2a86a169ea44d872/mantle/cmd/kola/options.go#L273). We could easily fix that though, the same way we did it for --find-parent-image.

@dustymabe
Copy link
Member

👍 - thanks. that explains it

@jlebon jlebon deleted the pr/remove-gce-image branch April 24, 2023 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kola tests fail in GCP environment when running in pipeline
2 participants