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

Backport changes to fix model cache tests for adding a machine #16453

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

manadart
Copy link
Member

The model cache test for adding a machine underwent some changes to fix failures on 3.2+ branches, but now we're seeing similar failures on 3.1.

Here we accrue said changes into this back-port.

QA steps

TestAddMachine in worker/modelcache passes consistently.

The machine addition operations are not transactional, so we cannot be
deterministic about the changes we will observe in the cache.
Copy link
Member

@nvinuesa nvinuesa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and QA passes

@nvinuesa nvinuesa added the 3.1 label Oct 18, 2023
@manadart
Copy link
Member Author

/merge

@jujubot jujubot merged commit 4506515 into juju:3.1 Oct 18, 2023
20 of 21 checks passed
@manadart manadart deleted the 3.1-modelcache-add-machine-test branch October 18, 2023 08:33
@manadart manadart mentioned this pull request Oct 18, 2023
jujubot added a commit that referenced this pull request Oct 18, 2023
#16455

Merge from 3.1 to bring forward:
- #16453 from manadart/3.1-modelcache-add-machine-test
- #16452 from manadart/3.1-firewaller-CMR-consume-test
- #16445 from nvinuesa/juju-4782
- #16435 from hmlanigan/rename-uniter-corecharm-jujucharm

Trivial conflict in worker/modelcache/worker_test.go
@hpidcock hpidcock mentioned this pull request Oct 19, 2023
jujubot added a commit that referenced this pull request Oct 19, 2023
#16461

Forward ports:
- #16426
- #16435
- #16445
- #16452
- #16451
- #16453
- #16455
- #16456
- #16457
- #16460

Conflicts:
- go.mod
- worker/uniter/op_callbacks.go
- worker/uniter/uniter.go
- worker/uniter/util_test.go
@hpidcock hpidcock mentioned this pull request Oct 19, 2023
@ycliuhw ycliuhw mentioned this pull request Oct 19, 2023
jujubot added a commit that referenced this pull request Oct 20, 2023
#16462

Forward ports:
- #16426
- #16435
- #16445
- #16452
- #16451
- #16453
- #16455
- #16456
- #16457
- #16460
- #16461

Conflicts:
- apiserver/facades/agent/provisioner/imagemetadata_test.go
- environs/bootstrap/bootstrap.go
- environs/simplestreams/datasource.go
- environs/simplestreams/datasource_test.go
- go.sum
- worker/dbaccessor/package_test.go
- worker/firewaller/firewaller_test.go
- worker/modelcache/worker_test.go
- worker/uniter/charm/bundles_test.go
- worker/uniter/uniter_test.go
- worker/uniter/util_test.go
- cmd/juju/status/status_internal_test.go
jujubot added a commit that referenced this pull request Oct 23, 2023
#16470

Merge branch `3.3` into `main`:
- #16426
- #16435
- #16445
- #16452
- #16451
- #16453
- #16455
- #16456
- #16457
- #16460
- #16461
- #16454
- #16394
- #16469

```
# Conflicts:
# apiserver/common/secrets/access.go
# apiserver/common/secrets/access_test.go
# apiserver/common/secrets/drain.go
# apiserver/common/secrets/drain_test.go
# apiserver/common/secrets/mocks/commonsecrets_mock.go
# apiserver/common/secrets/watcher.go
# apiserver/common/secrets/watcher_test.go
# apiserver/facades/agent/provisioner/imagemetadata_test.go
# apiserver/facades/agent/secretsdrain/mocks/modelstate.go
# apiserver/facades/agent/secretsdrain/mocks/secretsprovider.go
# apiserver/facades/agent/secretsdrain/package_test.go
# apiserver/facades/agent/secretsdrain/register.go
# apiserver/facades/agent/secretsdrain/state.go
# cmd/jujud/agent/caasoperator/manifolds.go
# environs/bootstrap/bootstrap.go
# environs/simplestreams/datasource.go
# environs/simplestreams/datasource_test.go
# go.sum
# worker/dbaccessor/package_test.go
# worker/firewaller/firewaller_test.go
# worker/modelcache/worker_test.go
# worker/secretsdrainworker/manifold.go
# worker/secretsdrainworker/manifold_test.go
# worker/secretsdrainworker/package_test.go
# worker/uniter/charm/bundles_test.go
# worker/uniter/uniter_test.go
# worker/uniter/util_test.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