Skip to content

Conversation

@jefferbrecht
Copy link
Member

@jefferbrecht jefferbrecht commented Sep 6, 2023

Description

I can produce the same error as the nightlies by calling Stop-Service too quickly after starting the Ops Agent -- apparently Stop-Service fails if the service isn't 'Running' yet. So just wait for them to be fully running before stopping.

Related issue

b/295867239

How has this been tested?

Will let the presubmits + nightlies run

Checklist:

  • Unit tests
    • Unit tests do not apply.
    • Unit tests have been added/modified and passed for this PR.
  • Integration tests
    • Integration tests do not apply.
    • Integration tests have been added/modified and passed for this PR.
  • Documentation
    • This PR introduces no user visible changes.
    • This PR introduces user visible changes and the corresponding documentation change has been made.
  • Minor version bump
    • This PR introduces no new features.
    • This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
    • This PR bumps the version.

@jefferbrecht jefferbrecht force-pushed the jefferbrecht-windows-flake branch from b9c2af9 to a7a4aee Compare September 7, 2023 04:49
@jefferbrecht jefferbrecht changed the title Trying some printf debugging for the Windows flake Fix Windows 3p test flakes Sep 7, 2023
@jefferbrecht jefferbrecht force-pushed the jefferbrecht-windows-flake branch from a7a4aee to 8a04cd2 Compare September 7, 2023 04:52
@jefferbrecht jefferbrecht marked this pull request as ready for review September 7, 2023 04:53
@jefferbrecht jefferbrecht force-pushed the jefferbrecht-windows-flake branch from 8a04cd2 to 49455b8 Compare September 7, 2023 04:54
This should prevent the Stop-Service failure flake we've been seeing.
@jefferbrecht jefferbrecht force-pushed the jefferbrecht-windows-flake branch from 49455b8 to 094bed4 Compare September 7, 2023 17:44
@jefferbrecht
Copy link
Member Author

Failing tests are either expected, unrelated to this change, or passed on an earlier run; merging.

@jefferbrecht jefferbrecht merged commit c5bffb3 into master Sep 7, 2023
@jefferbrecht jefferbrecht deleted the jefferbrecht-windows-flake branch September 7, 2023 20:48
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.

3 participants