Skip to content

Update stockout check to account for logging delay#1908

Merged
cdunbar13 merged 3 commits into
GoogleCloudPlatform:developfrom
cdunbar13:stockout-check-mod
Nov 6, 2023
Merged

Update stockout check to account for logging delay#1908
cdunbar13 merged 3 commits into
GoogleCloudPlatform:developfrom
cdunbar13:stockout-check-mod

Conversation

@cdunbar13

Copy link
Copy Markdown
Collaborator

There's a slight delay with logging that means that we won't necessarily see stockout messages immediately after an integration test fails. To account for this, I've adjusted the stockout check to wait until we get some content back in stdout from the logging command. This also required a failed_when: false as we're just checking for logs, nothing is actually failing if we don't find any stockout issues.

I've also updated the label to be the generated command, so we can debug if any issues come up with the stockout check, in the future.

@cdunbar13 cdunbar13 added the release-chore To not include into release notes label Oct 31, 2023
@cdunbar13 cdunbar13 requested a review from nick-stroud October 31, 2023 18:30
@cdunbar13

Copy link
Copy Markdown
Collaborator Author

The failure on PR-test-hpc-slurm-chromeremotedesktop shows the fix (so not an actual issue with this PR).

@nick-stroud nick-stroud assigned cdunbar13 and unassigned nick-stroud Nov 1, 2023
@cdunbar13 cdunbar13 requested a review from nick-stroud November 3, 2023 13:47
@cdunbar13 cdunbar13 assigned nick-stroud and unassigned cdunbar13 Nov 3, 2023
nick-stroud
nick-stroud previously approved these changes Nov 3, 2023
@nick-stroud nick-stroud dismissed their stale review November 3, 2023 19:34

will re-approve with comment

@nick-stroud nick-stroud assigned cdunbar13 and unassigned nick-stroud Nov 3, 2023
@cdunbar13 cdunbar13 merged commit e9aefc9 into GoogleCloudPlatform:develop Nov 6, 2023
@cdunbar13 cdunbar13 deleted the stockout-check-mod branch November 6, 2023 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-chore To not include into release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants