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

[JUJU-467] Fix race in nested deployer report test #13632

Merged
merged 1 commit into from Jan 18, 2022

Conversation

manadart
Copy link
Member

@manadart manadart commented Jan 18, 2022

The engine report test for the nested deployer worker only waits until the last of the (semantically) started workers is up.

This does not guarantee that they are all up, and the test can fail, as observed in our arm64 unit test job.

Waiting for all of the workers fixes it.

QA steps

NestedContextSuite.TestReport passes under stress conditions.

Documentation changes

None.

Bug reference

N/A

reported as starting, not just the third, which does not guarantee that
the others are up.

This can fail on slow machines and has been observed on arm64 test jobs.
@manadart manadart added the 2.9 label Jan 18, 2022
@manadart manadart changed the title Fix race in nested deployer report test [JUJU-467] Fix race in nested deployer report test Jan 18, 2022
@manadart
Copy link
Member Author

$$merge$$

@jujubot jujubot merged commit 905dfd8 into juju:2.9 Jan 18, 2022
@manadart manadart deleted the 2.9-report-test-race-fix branch January 19, 2022 11:41
jujubot added a commit that referenced this pull request Jan 25, 2022
#13644

Merge from 2.9 to bring forward:
- #13643 from manadart/2.9-late-unit-public-addr
- #13641 from ycliuhw/fix/nw-deploy-bionic-aks
- #13638 from ycliuhw/fix/lp-1896209
- #13637 from wallyworld/external-controller-error
- #13619 from hmlanigan/bug-1956975-improved-logging
- #13632 from manadart/2.9-report-test-race-fix
- #13631 from manadart/2.9-remove-old-network-stuff
- #13597 from cderici/yaml-without-clouds-keyword
- #13626 from jack-w-shaw/JUJU-256_fix_smoke_race_condition
- #13611 from jack-w-shaw/JUJU-416_Consolidate_retries
- #13629 from SimonRichardson/report-model-cache
- #13598 from benhoyt/configurable-log-size
- #13625 from manadart/2.9-instance-poller-no-fake-addrs
- #13623 from jack-w-shaw/JUJU-416_Consolidate_retries_service
- #13622 from SimonRichardson/fix-state-tracker-panic
- #13620 from wallyworld/migration-with-cmr
- #13616 from wallyworld/peergroup-unittext-fixes
- #13612 from manadart/2.9-state-package-col-iter-close
- #13610 from jujubot/increment-to-2.9.24
- #13605 from SimonRichardson/fix-upgrade-closer-leak

Conflicts:
- apiserver/facades/agent/caasapplication/application_test.go
- cloudconfig/windows_userdata_test.go
- cmd/juju/commands/main.go
- cmd/juju/gui/gui.go
- cmd/juju/ssh/debugcode.go
- cmd/juju/ssh/debugcode_test.go
- cmd/juju/ssh/debughooks.go
- cmd/juju/ssh/debughooks_test.go
- cmd/juju/ssh/scp.go
- cmd/juju/ssh/scp_unix_test.go
- cmd/juju/ssh/ssh.go
- cmd/juju/ssh/ssh_machine.go
- cmd/juju/ssh/ssh_unix_test.go
- scripts/win-installer/setup.iss
- snap/snapcraft.yaml
- state/mocks/database_mock.go
- state/mocks/txn_mock.go
- state/prune.go
- version/version.go
- worker/containerbroker/mocks/agent_mock.go
- worker/containerbroker/mocks/machine_mock.go
- worker/instancemutater/mocks/agent_mock.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants