Skip to content

[PBM-1171] support mixed env in pre-check validation #641

[PBM-1171] support mixed env in pre-check validation

[PBM-1171] support mixed env in pre-check validation #641

Triggered via pull request September 13, 2023 15:57
@defbindefbin
synchronize #872
PBM-1171
Status Success
Total duration 1m 28s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

reviewdog.yml

on: pull_request
runner / go-test
1m 0s
runner / go-test
runner / shellcheck
7s
runner / shellcheck
runner / misspell
11s
runner / misspell
runner / alex
35s
runner / alex
runner / golangci-lint
1m 15s
runner / golangci-lint
runner / gofmt
24s
runner / gofmt
runner / shfmt
23s
runner / shfmt
Fit to window
Zoom out
Zoom in

Annotations

71 errors
runner / golangci-lint: pbm/snapshot/restore.go#L76
SA1019: writeconcern.New is deprecated: Use the WriteConcern convenience functions or define a struct literal instead. For example: (staticcheck)
runner / golangci-lint: pbm/oplog/backup.go#L114
SA1019: primitive.CompareTimestamp is deprecated: Use Timestamp.Compare instead. (staticcheck)
runner / golangci-lint: pbm/oplog/restore.go#L208
SA1019: primitive.CompareTimestamp is deprecated: Use Timestamp.Compare instead. (staticcheck)
runner / golangci-lint: pbm/oplog/restore.go#L213
SA1019: primitive.CompareTimestamp is deprecated: Use Timestamp.Compare instead. (staticcheck)
runner / golangci-lint: pbm/oplog/restore.go#L272
SA1019: oe.Object.Map is deprecated: Converting directly from a D to an M will not be supported in Go Driver 2.0. Instead, users should marshal the D to BSON using bson.Marshal and unmarshal it to M using bson.Unmarshal. (staticcheck)
runner / golangci-lint: pbm/backup/physical.go#L510
SA1019: bsontype.Binary is deprecated: Use bson.Type* constants instead. (staticcheck)
runner / golangci-lint: pbm/backup/physical.go#L515
SA1019: bsontype.Binary is deprecated: Use bson.Type* constants instead. (staticcheck)
runner / golangci-lint: e2e-tests/pkg/pbm/clock_skew.go#L18
SA1019: docker.NewClient is deprecated: use [NewClientWithOpts] passing the [WithHost], [WithVersion], [WithHTTPClient] and [WithHTTPHeaders] options. We recommend enabling API version negotiation by passing the [WithAPIVersionNegotiation] option instead of WithVersion. (staticcheck)
runner / golangci-lint: e2e-tests/pkg/pbm/docker.go#L24
SA1019: docker.NewClient is deprecated: use [NewClientWithOpts] passing the [WithHost], [WithVersion], [WithHTTPClient] and [WithHTTPHeaders] options. We recommend enabling API version negotiation by passing the [WithAPIVersionNegotiation] option instead of WithVersion. (staticcheck)
runner / golangci-lint: e2e-tests/pkg/pbm/mongod.go#L39
SA1019: mongo.NewClient is deprecated: Use [Connect] instead. (staticcheck)
test_vault.test_external: psmdb-testing/pbm-functional/pytest/test_vault.py#L77
AssertionError: Unexpected exit code 1 for CommandResult(command=b'pbm restore --external', exit_status=1, stdout=None, stderr=b'Error: another operation in progress, Snapshot backup/6502aad0bbe2993b24d6eb72 [rs1/rs103:27017]\n') assert 1 == 0 + where 1 = CommandResult(command=b'pbm restore --external', exit_status=1, stdout=None, stderr=b'Error: another operation in progress, Snapshot backup/6502aad0bbe2993b24d6eb72 [rs1/rs103:27017]\n').rc