Skip to content

integration_tests: log image serial if available#772

Merged
OddBloke merged 2 commits into
canonical:masterfrom
OddBloke:tests
Jan 19, 2021
Merged

integration_tests: log image serial if available#772
OddBloke merged 2 commits into
canonical:masterfrom
OddBloke:tests

Conversation

@OddBloke
Copy link
Copy Markdown
Collaborator

Proposed Commit Message

integration_tests: log image serial if available

Ubuntu cloud images ship /etc/cloud/build.info which includes a line
with the build serial used to identify the image:

    serial: 20210108

This is valuable information when verifying Ubuntu issues (to confirm
that testing is happening against the expected image), but is also
useful when debugging test failures: manifests of all packages in (the
base) images can be found at http://cloud-images.ubuntu.com/

Test Steps

Run a test (against Ubuntu) and observe:

2021-01-13 17:52:03 INFO      integration_testing:clouds.py:178 image serial: 20210112

Checklist:

  • My code follows the process laid out in the documentation
  • I have updated or added any unit tests accordingly
  • I have updated or added any documentation accordingly

Ubuntu cloud images ship /etc/cloud/build.info which includes a line
with the build serial used to identify the image:

    serial: 20210108

This is valuable information when verifying Ubuntu issues (to confirm
that testing is happening against the expected image), but is also
useful when debugging test failures: manifests of all packages in (the
base) images can be found at http://cloud-images.ubuntu.com/
Comment thread tests/integration_tests/clouds.py
@OddBloke OddBloke merged commit c25118a into canonical:master Jan 19, 2021
@OddBloke OddBloke deleted the tests branch January 19, 2021 17:40
andrewbogott pushed a commit to andrewbogott/cloud-init that referenced this pull request Jan 21, 2021
Ubuntu cloud images ship /etc/cloud/build.info which includes a line
with the build serial used to identify the image:

    serial: 20210108

This is valuable information when verifying Ubuntu issues (to confirm
that testing is happening against the expected image), but is also
useful when debugging test failures: manifests of all packages in (the
base) images can be found at http://cloud-images.ubuntu.com/
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.

2 participants