Skip to content

CLOUD-727: pin envtest version for unit tests#2299

Merged
hors merged 1 commit intomainfrom
fix_envtest_version
Apr 3, 2026
Merged

CLOUD-727: pin envtest version for unit tests#2299
hors merged 1 commit intomainfrom
fix_envtest_version

Conversation

@nmarukovich
Copy link
Copy Markdown
Contributor

CHANGE DESCRIPTION

Problem:

go fmt ./...
go vet ./...
go: downloading github.com/onsi/ginkgo/v2 v2.28.1
go: downloading github.com/onsi/gomega v1.39.1
go: downloading gotest.tools v2.2.0+incompatible
go: downloading github.com/Masterminds/semver/v3 v3.4.0
go: creating new go.mod: module tmp
Downloading sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
go: downloading sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20260331165415-bce0ec74ad73
go: downloading sigs.k8s.io/controller-runtime v0.23.3
go: sigs.k8s.io/controller-runtime/tools/setup-envtest@latest: sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.0.0-20260331165415-bce0ec74ad73 requires go >= 1.26.0 (running go 1.25.8; GOTOOLCHAIN=local)
make: *** [Makefile:105: envtest] Error 1
Error: Process completed with exit code 2.

Cause:
Short explanation of the root cause of the issue if applicable.

Solution:
Short explanation of the solution we are providing with this PR.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?
  • Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
  • Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

  • Is an E2E test/test case added for the new feature/change?
  • Are unit tests added where appropriate?
  • Are OpenShift compare files changed for E2E tests (compare/*-oc.yml)?

Config/Logging/Testability

  • Are all needed new/changed options added to default YAML files?
  • Are all needed new/changed options added to the Helm Chart?
  • Did we add proper logging messages for operator actions?
  • Did we ensure compatibility with the previous version or cluster upgrade process?
  • Does the change support oldest and newest supported MongoDB version?
  • Does the change support oldest and newest supported Kubernetes version?

@JNKPercona
Copy link
Copy Markdown
Collaborator

Test Name Result Time
arbiter failure 01:30:12
balancer passed 00:18:34
cross-site-sharded passed 00:20:12
custom-replset-name failure 00:01:39
custom-tls passed 00:21:18
custom-users-roles passed 00:10:49
custom-users-roles-sharded passed 00:14:10
data-at-rest-encryption passed 00:12:58
data-sharded passed 00:23:48
demand-backup passed 00:16:04
demand-backup-eks-credentials-irsa passed 00:00:08
demand-backup-fs passed 00:24:02
demand-backup-if-unhealthy failure 00:47:52
demand-backup-incremental-aws passed 00:12:03
demand-backup-incremental-azure passed 00:12:07
demand-backup-incremental-gcp-native passed 00:13:37
demand-backup-incremental-gcp-s3 passed 00:11:06
demand-backup-incremental-minio passed 00:25:27
demand-backup-incremental-sharded-aws passed 00:19:09
demand-backup-incremental-sharded-azure passed 00:18:39
demand-backup-incremental-sharded-gcp-native passed 00:18:12
demand-backup-incremental-sharded-gcp-s3 passed 00:21:16
demand-backup-incremental-sharded-minio passed 00:31:40
demand-backup-logical-minio-native-tls passed 00:08:37
demand-backup-physical-parallel passed 00:10:39
demand-backup-physical-aws passed 00:11:45
demand-backup-physical-azure passed 00:12:13
demand-backup-physical-gcp-s3 passed 00:13:11
demand-backup-physical-gcp-native passed 00:12:20
demand-backup-physical-minio passed 00:21:12
demand-backup-physical-minio-native passed 00:30:07
demand-backup-physical-minio-native-tls passed 00:19:57
demand-backup-physical-sharded-parallel passed 00:13:10
demand-backup-physical-sharded-aws passed 00:18:50
demand-backup-physical-sharded-azure passed 00:18:54
demand-backup-physical-sharded-gcp-native passed 00:17:43
demand-backup-physical-sharded-minio passed 00:18:05
demand-backup-physical-sharded-minio-native passed 00:17:39
demand-backup-sharded passed 00:26:38
demand-backup-snapshot passed 00:38:16
demand-backup-snapshot-vault passed 00:17:59
disabled-auth passed 00:16:43
expose-sharded failure 00:12:16
finalizer passed 00:10:00
ignore-labels-annotations passed 00:07:52
init-deploy passed 00:16:15
ldap passed 00:10:45
ldap-tls passed 00:13:13
limits passed 00:06:15
liveness passed 00:08:53
mongod-major-upgrade passed 00:12:55
mongod-major-upgrade-sharded passed 00:21:33
monitoring-2-0 passed 00:25:24
monitoring-pmm3 passed 00:27:20
multi-cluster-service passed 00:13:55
multi-storage passed 00:19:12
non-voting-and-hidden passed 00:17:40
one-pod passed 00:07:49
operator-self-healing-chaos passed 00:12:48
pitr passed 00:32:26
pitr-physical failure 00:19:08
pitr-sharded failure 00:08:25
pitr-to-new-cluster passed 00:26:09
pitr-physical-backup-source passed 00:55:27
preinit-updates passed 00:05:35
pvc-auto-resize passed 00:15:24
pvc-resize passed 00:17:21
recover-no-primary passed 00:29:23
replset-overrides passed 00:20:38
replset-remapping passed 00:17:26
replset-remapping-sharded passed 00:18:04
rs-shard-migration passed 00:14:51
scaling failure 00:43:11
scheduled-backup passed 00:18:28
security-context passed 00:07:33
self-healing-chaos passed 00:14:55
service-per-pod passed 00:18:54
serviceless-external-nodes passed 00:07:23
smart-update passed 00:08:50
split-horizon passed 00:14:05
stable-resource-version passed 00:04:41
storage passed 00:08:02
tls-issue-cert-manager passed 00:30:56
unsafe-psa passed 00:08:12
upgrade passed 00:09:58
upgrade-consistency passed 00:06:42
upgrade-consistency-sharded-tls passed 00:54:42
upgrade-sharded passed 00:20:28
upgrade-partial-backup passed 00:16:35
users passed 00:17:37
users-vault passed 00:13:22
version-service passed 00:25:19
Summary Value
Tests Run 92/92
Job Duration 04:13:30
Total Test Time 28:23:58

commit: 0b924c0
image: perconalab/percona-server-mongodb-operator:PR-2299-0b924c09

@hors hors merged commit 244929f into main Apr 3, 2026
18 of 19 checks passed
@hors hors deleted the fix_envtest_version branch April 3, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS 0-9 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants