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

Generate test update payload and run the kola update test #130

Merged
merged 1 commit into from
Jul 14, 2021

Conversation

pothos
Copy link
Member

@pothos pothos commented Jul 12, 2021

The kola update tests need a dev-key-signed update payload. This was
lacking and caused the update tests to be skipped.
Generate the test update payload for both dev builds and release builds
and run the kola tests for both. The test update payload has a special
name to not confuse it with the real update payload for releases, and
we keep the previous behavior to sign releases. Therefore, the
generate_update function wasn't used but the extract_update function
extended with generating the additional test payload.

How to use

This replaces #98

Depends on flatcar/mantle#187 and flatcar/mantle#189

In a follow-up PR I plan to add testing to update from the last release in addition.

Note: Should be picked for all channels.

Testing done

http://jenkins.infra.kinvolk.io:8080/job/os/job/manifest/3028/cldsv/
First the kola test failed because it did not find the coreos-setgoodroot command, this is fixed in flatcar/mantle#187 and then arm64 failed because the timeout was too strict, this is fixed in flatcar/mantle#189
Tested locally and by rerunning the Jenkins qemu jobs

The kola update tests need a dev-key-signed update payload. This was
lacking and caused the update tests to be skipped.
Generate the test update payload for both dev builds and release builds
and run the kola tests for both. The test update payload has a special
name to not confuse it with the real update payload for releases, and
we keep the previous behavior to sign releases. Therefore, the
generate_update function wasn't used but the extract_update function
extended with generating the additional test payload.
@pothos pothos requested a review from a team July 12, 2021 18:07
@pothos pothos marked this pull request as ready for review July 12, 2021 18:07
@pothos pothos merged commit b55bfa3 into main Jul 14, 2021
@pothos pothos deleted the kai/gen-test-update branch July 14, 2021 18:50
pothos added a commit that referenced this pull request Jul 14, 2021
Generate test update payload and run the kola update test
pothos added a commit that referenced this pull request Jul 14, 2021
Generate test update payload and run the kola update test
pothos added a commit that referenced this pull request Jul 14, 2021
Generate test update payload and run the kola update test
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.

1 participant