Skip to content

test: capture the QEMU client serial console on failure#2943

Open
pasinskim wants to merge 1 commit into
masterfrom
ci-capture-qemu-console
Open

test: capture the QEMU client serial console on failure#2943
pasinskim wants to merge 1 commit into
masterfrom
ci-capture-qemu-console

Conversation

@pasinskim

Copy link
Copy Markdown
Member

The failure teardown only prints device output over SSH, which is empty when the device is unreachable -- which is exactly the "Device never rebooted" failure mode (a hung guest reset). Capture the client's serial console via "docker compose logs" (which works without SSH) into the per-test logs, so the guest's actual reboot behaviour (e.g. "reboot: machine restart" followed by silence) is visible directly in CI artifacts.

Changelog: None

The failure teardown only prints device output over SSH, which is empty when
the device is unreachable -- which is exactly the "Device never rebooted"
failure mode (a hung guest reset). Capture the client's serial console via
"docker compose logs" (which works without SSH) into the per-test logs, so the
guest's actual reboot behaviour (e.g. "reboot: machine restart" followed by
silence) is visible directly in CI artifacts.

Changelog: None
Signed-off-by: pasinskim <marcin.pasinski@northern.tech>
@mender-test-bot

Copy link
Copy Markdown
Contributor

@pasinskim, start a full integration test pipeline with:

  • mentioning me and start integration pipeline

my commands and options

You can prevent me from automatically starting CI pipelines:

  • if your pull request title starts with "[NoCI] ..."

You can trigger a client pipeline on multiple prs with:

  • mentioning me and start client pipeline --pr mender/127 --pr mender-connect/255

You can trigger a client pipeline for a specific Mender Client release with:

  • mentioning me and start client pipeline --release 6.0.x (can be given multiple times)
  • by default, a pipeline is triggered for each supported release the component is a part of

You can trigger GitHub->GitLab branch sync with:

  • mentioning me and sync

You can print PR statistics for a repository with:

  • mentioning me and print fast pr stats (Team stats only)
  • mentioning me and print full pr stats (Detailed report)
  • options: --repo <repo>, --team <name>, --all-repos, --exclude-drafts, --exclude-user <user>
  • mentioning me and print full pr stats --repo mender --all-repos --exclude-drafts

You can deploy a review app with:

  • mentioning me and start review app (OS environment)
  • mentioning me and start review app enterprise (Enterprise environment)

You can run e2e tests against a deployed review app with:

  • mentioning me and start review tests (defaults to os environment)
  • mentioning me and start review tests enterprise (for enterprise environment)

You can cherry pick to a given branch or branches with:

  • mentioning me and:
 cherry-pick to:
 * 1.0.x
 * 2.0.x

@pasinskim

Copy link
Copy Markdown
Member Author

@mender-test-bot start integration pipeline

@mender-test-bot

Copy link
Copy Markdown
Contributor

Hello 😺 I created a pipeline for you here: Pipeline-2646022290

Build Configuration Matrix

Key Value
INTEGRATION_REV pull/2943/head
RUN_TESTS_FULL_INTEGRATION true

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