Skip to content

CBG-4203 pass RevSeqNo for on demand imports #12602

CBG-4203 pass RevSeqNo for on demand imports

CBG-4203 pass RevSeqNo for on demand imports #12602

Triggered via pull request January 9, 2025 19:57
@torcolvintorcolvin
synchronize #7273
CBG-4203
Status Cancelled
Total duration 5m 18s
Artifacts

ci.yml

on: pull_request
Matrix: test-sgcollect
Matrix: test-stats-definition-exporter
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

61 errors and 7 warnings
python-format
Process completed with exit code 1.
lint: db/import_test.go#L167
ineffectual assignment to err (ineffassign)
lint
issues found
test (macos)
Process completed with exit code 1.
test (macos): rest/collections_import_test.go#L148
collections_import_test.go:148: Error Trace: /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/collections_import_test.go:148 Error: Not equal: expected: 201 actual : 404 Test: TestMultiCollectionImportFilter
test (macos): rest/import_test.go#L1886
import_test.go:1886: Error Trace: /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1886 /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/collections_import_test.go:149 Error: Should be true Test: TestMultiCollectionImportFilter
test (macos): rest/import_test.go#L1887
import_test.go:1887: Error Trace: /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1887 /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/collections_import_test.go:149 Error: Not equal: expected: string("TestImportFilterInvalid") actual : <nil>(<nil>) Test: TestMultiCollectionImportFilter
test (macos): rest/import_test.go#L1886
import_test.go:1886: Error Trace: /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1886 /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/collections_import_test.go:150 Error: Should be true Test: TestMultiCollectionImportFilter
test (macos): rest/import_test.go#L1887
import_test.go:1887: Error Trace: /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1887 /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/collections_import_test.go:150 Error: Not equal: expected: string("1-25c26cdf9d7771e07f00be1d13f7fb7c") actual : <nil>(<nil>) Test: TestMultiCollectionImportFilter 2025-01-09T19:59:15.848Z
test (macos): rest/collections_import_test.go#L148
collections_import_test.go:148: Error Trace: /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/collections_import_test.go:148 Error: Not equal: expected: 201 actual : 404 Test: TestMultiCollectionImportFilter
test (macos): rest/import_test.go#L1886
import_test.go:1886: Error Trace: /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1886 /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/collections_import_test.go:149 Error: Should be true Test: TestMultiCollectionImportFilter
test (macos): rest/import_test.go#L1887
import_test.go:1887: Error Trace: /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1887 /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/collections_import_test.go:149 Error: Not equal: expected: string("TestImportFilterInvalid") actual : <nil>(<nil>) Test: TestMultiCollectionImportFilter
test (macos): rest/import_test.go#L1886
import_test.go:1886: Error Trace: /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1886 /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/collections_import_test.go:150 Error: Should be true Test: TestMultiCollectionImportFilter
test (macos): rest/import_test.go#L1887
import_test.go:1887: Error Trace: /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1887 /Users/runner/work/sync_gateway/sync_gateway/rest/importtest/collections_import_test.go:150 Error: Not equal: expected: string("1-25c26cdf9d7771e07f00be1d13f7fb7c") actual : <nil>(<nil>) Test: TestMultiCollectionImportFilter 2025-01-09T19:59:15.848Z
test-default-collection
Process completed with exit code 1.
test-default-collection: db/TestOnDemandImportMou/database_test.go#L181
database_test.go:181: Error Trace: /home/runner/work/sync_gateway/sync_gateway/db/database_test.go:181 /home/runner/work/sync_gateway/sync_gateway/db/import_test.go:163 Error: Should be in error chain: expected: %!q(**base.HTTPError=0xc0004989d0) in chain: "key \"TestOnDemandImportMou_PutExistingRev\"'s xattr [\"$document.revid\"] missing" Test: TestOnDemandImportMou/on-demand_write/PutExistingRev
test-default-collection: db/TestOnDemandImportMou/import_test.go#L177
import_test.go:177: Error Trace: /home/runner/work/sync_gateway/sync_gateway/db/import_test.go:177 Error: Received unexpected error: key "TestOnDemandImportMou_PutExistingRevWithConflictResolution"'s xattr ["$document.revid"] missing Test: TestOnDemandImportMou/on-demand_write/PutExistingRevWithConflictResolution 2025-01-09T19:59:05.519Z
test-default-collection: crud_test.go#L1030
crud_test.go:1030: Error Trace: /home/runner/work/sync_gateway/sync_gateway/db/crud_test.go:1030 Error: Received unexpected error: key "doc1"'s xattr ["$document.revid"] missing Test: TestMalformedRevisionStorageRecovery
test-default-collection: rest/importtest/import_test.go#L1293
import_test.go:1293: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1293 Error: Received unexpected error: expecting 1 changes, got 0 Test: TestXattrOnDemandImportPreservesExpiry/triggerOnDemandViaWrite
test-default-collection: rest/importtest/import_test.go#L1892
import_test.go:1892: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1892 /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1369 Error: Received unexpected error: key "TestOnDemandGetWriteMigrateWithExpiry-1"'s xattr ["_sync"] missing Test: TestOnDemandMigrateWithExpiry/triggerOnDemandViaWrite
test-default-collection: rest/import_test.go#L464
import_test.go:464: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:464 Error: Not equal: expected: 409 actual : 404 Test: TestXattrDoubleDelete 2025/01/09
test-default-collection: rest/import_test.go#L1430
import_test.go:1430: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1430 Error: Not equal: expected: 201 actual : 404 Test: TestXattrSGWriteOfNonImportedDoc
test-default-collection: rest/import_test.go#L1886
import_test.go:1886: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1886 /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1432 Error: Should be true Test: TestXattrSGWriteOfNonImportedDoc
test-default-collection: rest/import_test.go#L1887
import_test.go:1887: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1887 /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1432 Error: Not equal: expected: string("1-b9cdd5d413b572476799930f065657a6") actual : <nil>(<nil>) Test: TestXattrSGWriteOfNonImportedDoc 2025-01-09T19:59:54.005Z
test-default-collection: rest/import_test.go#L593
import_test.go:593: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:593 Error: Not equal: expected: 201 actual : 404 Test: TestXattrImportFilterOptIn
test (ubuntu)
Canceling since a higher priority waiting request for 'ci-7273' exists
test (ubuntu)
Process completed with exit code 1.
test (ubuntu): db/TestOnDemandImportMou/database_test.go#L181
database_test.go:181: Error Trace: /home/runner/work/sync_gateway/sync_gateway/db/database_test.go:181 /home/runner/work/sync_gateway/sync_gateway/db/import_test.go:163 Error: Should be in error chain: expected: %!q(**base.HTTPError=0xc008cb9d38) in chain: "key \"TestOnDemandImportMou_PutExistingRev\"'s xattr [\"$document.revid\"] missing" Test: TestOnDemandImportMou/on-demand_write/PutExistingRev
test (ubuntu): db/TestOnDemandImportMou/import_test.go#L177
import_test.go:177: Error Trace: /home/runner/work/sync_gateway/sync_gateway/db/import_test.go:177 Error: Received unexpected error: key "TestOnDemandImportMou_PutExistingRevWithConflictResolution"'s xattr ["$document.revid"] missing Test: TestOnDemandImportMou/on-demand_write/PutExistingRevWithConflictResolution 2025-01-09T19:59:11.163Z
test (ubuntu): crud_test.go#L1030
crud_test.go:1030: Error Trace: /home/runner/work/sync_gateway/sync_gateway/db/crud_test.go:1030 Error: Received unexpected error: key "doc1"'s xattr ["$document.revid"] missing Test: TestMalformedRevisionStorageRecovery
test (ubuntu): rest/importtest/import_test.go#L1293
import_test.go:1293: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1293 Error: Received unexpected error: expecting 1 changes, got 0 Test: TestXattrOnDemandImportPreservesExpiry/triggerOnDemandViaWrite
test (ubuntu): rest/importtest/import_test.go#L1892
import_test.go:1892: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1892 /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1369 Error: Received unexpected error: key "TestOnDemandGetWriteMigrateWithExpiry-1"'s xattr ["_sync"] missing Test: TestOnDemandMigrateWithExpiry/triggerOnDemandViaWrite
test (ubuntu): rest/import_test.go#L464
import_test.go:464: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:464 Error: Not equal: expected: 409 actual : 404 Test: TestXattrDoubleDelete 2025/01/09
test (ubuntu): rest/import_test.go#L593
import_test.go:593: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:593 Error: Not equal: expected: 201 actual : 404 Test: TestXattrImportFilterOptIn
test (ubuntu): rest/import_test.go#L1886
import_test.go:1886: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1886 /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:594 Error: Should be true Test: TestXattrImportFilterOptIn
test (ubuntu): rest/import_test.go#L1887
import_test.go:1887: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1887 /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:594 Error: Not equal: expected: string("TestImportFilterInvalid") actual : <nil>(<nil>) Test: TestXattrImportFilterOptIn
test (ubuntu): rest/import_test.go#L1886
import_test.go:1886: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1886 /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:595 Error: Should be true Test: TestXattrImportFilterOptIn
test (windows)
Canceling since a higher priority waiting request for 'ci-7273' exists
test (windows): db/TestOnDemandImportMou/database_test.go#L181
database_test.go:181: Error Trace: D:/a/sync_gateway/sync_gateway/db/database_test.go:181 D:/a/sync_gateway/sync_gateway/db/import_test.go:163 Error: Should be in error chain: expected: %!q(**base.HTTPError=0xc000398988) in chain: "key \"TestOnDemandImportMou_PutExistingRev\"'s xattr [\"$document.revid\"] missing" Test: TestOnDemandImportMou/on-demand_write/PutExistingRev
test (windows): db/TestOnDemandImportMou/import_test.go#L177
import_test.go:177: Error Trace: D:/a/sync_gateway/sync_gateway/db/import_test.go:177 Error: Received unexpected error: key "TestOnDemandImportMou_PutExistingRevWithConflictResolution"'s xattr ["$document.revid"] missing Test: TestOnDemandImportMou/on-demand_write/PutExistingRevWithConflictResolution 2025-01-09T19:59:27.172Z
test (windows): rest/import_test.go#L593
import_test.go:593: Error Trace: D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:593 Error: Not equal: expected: 201 actual : 404 Test: TestXattrImportFilterOptIn
test (windows): rest/import_test.go#L1886
import_test.go:1886: Error Trace: D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:1886 D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:594 Error: Should be true Test: TestXattrImportFilterOptIn
test (windows): rest/import_test.go#L1887
import_test.go:1887: Error Trace: D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:1887 D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:594 Error: Not equal: expected: string("TestImportFilterInvalid") actual : <nil>(<nil>) Test: TestXattrImportFilterOptIn
test (windows): rest/import_test.go#L1886
import_test.go:1886: Error Trace: D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:1886 D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:595 Error: Should be true Test: TestXattrImportFilterOptIn
test (windows): rest/import_test.go#L1887
import_test.go:1887: Error Trace: D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:1887 D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:595 Error: Not equal: expected: string("1-25c26cdf9d7771e07f00be1d13f7fb7c") actual : <nil>(<nil>) Test: TestXattrImportFilterOptIn 2025-01-09T20:00:32.305Z
test (windows): rest/importtest/import_test.go#L1892
import_test.go:1892: Error Trace: D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:1892 D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:1369 Error: Received unexpected error: key "TestOnDemandGetWriteMigrateWithExpiry-1"'s xattr ["_sync"] missing Test: TestOnDemandMigrateWithExpiry/triggerOnDemandViaWrite
test (windows): rest/import_test.go#L1430
import_test.go:1430: Error Trace: D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:1430 Error: Not equal: expected: 201 actual : 404 Test: TestXattrSGWriteOfNonImportedDoc
test (windows): rest/import_test.go#L1886
import_test.go:1886: Error Trace: D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:1886 D:/a/sync_gateway/sync_gateway/rest/importtest/import_test.go:1432 Error: Should be true Test: TestXattrSGWriteOfNonImportedDoc
test (windows)
The operation was canceled.
test-race
Canceling since a higher priority waiting request for 'ci-7273' exists
test-race
The operation was canceled.
test-race: rest/importtest/import_test.go#L1892
import_test.go:1892: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1892 /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1369 Error: Received unexpected error: key "TestOnDemandGetWriteMigrateWithExpiry-1"'s xattr ["_sync"] missing Test: TestOnDemandMigrateWithExpiry/triggerOnDemandViaWrite
test-race: rest/import_test.go#L593
import_test.go:593: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:593 Error: Not equal: expected: 201 actual : 404 Test: TestXattrImportFilterOptIn
test-race: rest/import_test.go#L1886
import_test.go:1886: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1886 /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:594 Error: Should be true Test: TestXattrImportFilterOptIn
test-race: rest/import_test.go#L1887
import_test.go:1887: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1887 /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:594 Error: Not equal: expected: string("TestImportFilterInvalid") actual : <nil>(<nil>) Test: TestXattrImportFilterOptIn
test-race: rest/import_test.go#L1886
import_test.go:1886: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1886 /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:595 Error: Should be true Test: TestXattrImportFilterOptIn
test-race: rest/import_test.go#L1887
import_test.go:1887: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1887 /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:595 Error: Not equal: expected: string("1-25c26cdf9d7771e07f00be1d13f7fb7c") actual : <nil>(<nil>) Test: TestXattrImportFilterOptIn 2025-01-09T20:00:17.292Z
test-race: rest/import_test.go#L464
import_test.go:464: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:464 Error: Not equal: expected: 409 actual : 404 Test: TestXattrDoubleDelete 2025/01/09
test-race: rest/importtest/import_test.go#L1293
import_test.go:1293: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1293 Error: Received unexpected error: expecting 1 changes, got 0 Test: TestXattrOnDemandImportPreservesExpiry/triggerOnDemandViaWrite
test-race: rest/import_test.go#L1430
import_test.go:1430: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1430 Error: Not equal: expected: 201 actual : 404 Test: TestXattrSGWriteOfNonImportedDoc
test-race: rest/import_test.go#L1886
import_test.go:1886: Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1886 /home/runner/work/sync_gateway/sync_gateway/rest/importtest/import_test.go:1432 Error: Should be true Test: TestXattrSGWriteOfNonImportedDoc
python-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
addlicense
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-sgcollect (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-stats-definition-exporter (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-default-collection
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636