CBG-4336: add updated at field for persisted configs #12534
ci.yml
on: push
build
1m 27s
addlicense
20s
lint
1m 53s
test-race
5m 43s
test-default-collection
4m 5s
test-no-xattrs
4m 6s
python-format
4s
python-lint
7s
Matrix: test-sgcollect
Matrix: test-stats-definition-exporter
Matrix: test
Annotations
20 errors and 11 warnings
test (macos)
Process completed with exit code 1.
|
test (macos):
auth_test.go#L313
auth_test.go:313:
Error Trace: /Users/runner/work/sync_gateway/sync_gateway/auth/auth_test.go:313
Error: Not equal:
expected: &auth.userImpl{roleImpl:auth.roleImpl{Name_:"testUser", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 49, 37, 461640000, time.Local), cas:0x181860271d3a0000, docID:"_sync:user:testUser"}, userImplBody:auth.userImplBody{Email_:"", Disabled_:false, PasswordHash_:[]uint8{0x24, 0x32, 0x61, 0x24, 0x30, 0x34, 0x24, 0x65, 0x44, 0x5a, 0x49, 0x4f, 0x4b, 0x68, 0x54, 0x59, 0x35, 0x44, 0x32, 0x59, 0x47, 0x58, 0x77, 0x37, 0x50, 0x4b, 0x4a, 0x32, 0x2e, 0x41, 0x30, 0x46, 0x36, 0x34, 0x39, 0x72, 0x39, 0x5a, 0x57, 0x59, 0x51, 0x4f, 0x49, 0x6d, 0x69, 0x56, 0x48, 0x79, 0x49, 0x2f, 0x4c, 0x6e, 0x55, 0x55, 0x31, 0x34, 0x78, 0x56, 0x74, 0x43}, OldPasswordHash_:interface {}(nil), ExplicitRoles_:channels.TimedSet(nil), JWTRoles_:channels.TimedSet(nil), JWTChannels_:channels.TimedSet(nil), JWTIssuer_:"", JWTLastUpdated_:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), RolesSince_:channels.TimedSet{}, RoleInvalSeq:0x0, RoleHistory_:auth.TimedSetHistory(nil), SessionUUID_:"b7606886-561a-4ed4-8b6b-b4037a3e42ca", OldExplicitRoles_:[]string(nil)}, auth:(*auth.Authenticator)(0x14000153c00), roles:[]auth.Role(nil), deletedRoles:[]auth.Role(nil), warnChanThresholdOnce:sync.Once{done:atomic.Uint32{_:atomic.noCopy{}, v:0x0}, m:sync.Mutex{state:0, sema:0x0}}}
actual : &auth.userImpl{roleImpl:auth.roleImpl{Name_:"testUser", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 49, 37, 461640000, time.UTC), cas:0x181860271d3a0000, docID:"_sync:user:testUser"}, userImplBody:auth.userImplBody{Email_:"", Disabled_:false, PasswordHash_:[]uint8{0x24, 0x32, 0x61, 0x24, 0x30, 0x34, 0x24, 0x65, 0x44, 0x5a, 0x49, 0x4f, 0x4b, 0x68, 0x54, 0x59, 0x35, 0x44, 0x32, 0x59, 0x47, 0x58, 0x77, 0x37, 0x50, 0x4b, 0x4a, 0x32, 0x2e, 0x41, 0x30, 0x46, 0x36, 0x34, 0x39, 0x72, 0x39, 0x5a, 0x57, 0x59, 0x51, 0x4f, 0x49, 0x6d, 0x69, 0x56, 0x48, 0x79, 0x49, 0x2f, 0x4c, 0x6e, 0x55, 0x55, 0x31, 0x34, 0x78, 0x56, 0x74, 0x43}, OldPasswordHash_:interface {}(nil), ExplicitRoles_:channels.TimedSet(nil), JWTRoles_:channels.TimedSet(nil), JWTChannels_:channels.TimedSet(nil), JWTIssuer_:"", JWTLastUpdated_:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), RolesSince_:channels.TimedSet{}, RoleInvalSeq:0x0, RoleHistory_:auth.TimedSetHistory(nil), SessionUUID_:"b7606886-561a-4ed4-8b6b-b4037a3e42ca", OldExplicitRoles_:[]string(nil)}, auth:(*auth.Authenticator)(0x14000153c00), roles:[]auth.Role(nil), deletedRoles:[]auth.Role(nil), warnChanThresholdOnce:sync.Once{done:atomic.Uint32{_:atomic.noCopy{}, v:0x0}, m:sync.Mutex{state:0, sema:0x0}}}
Diff:
--- Expected
+++ Actual
@@ -25,30 +25,5 @@
UpdatedAt: (time.Time) {
- wall: (uint64) 13967733977457627456,
- ext: (int64) 698368792,
- loc: (*time.Location)({
- name: (string) (len=5) "Local",
- zone: ([]time.zone) (len=1) {
- (time.zone) {
- na
|
test (macos):
auth_test.go#L329
auth_test.go:329:
Error Trace: /Users/runner/work/sync_gateway/sync_gateway/auth/auth_test.go:329
Error: Not equal:
expected: &auth.roleImpl{Name_:"testRole", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 49, 37, 638732000, time.Local), cas:0x1818602727c80000, docID:"_sync:role:testRole"}
actual : &auth.roleImpl{Name_:"testRole", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 49, 37, 638732000, time.UTC), cas:0x1818602727c80000, docID:"_sync:role:testRole"}
Diff:
--- Expected
+++ Actual
@@ -24,30 +24,5 @@
UpdatedAt: (time.Time) {
- wall: (uint64) 13967733977634719456,
- ext: (int64) 875460876,
- loc: (*time.Location)({
- name: (string) (len=5) "Local",
- zone: ([]time.zone) (len=1) {
- (time.zone) {
- name: (string) (len=3) "UTC",
- offset: (int) 0,
- isDST: (bool) false
- }
- },
- tx: ([]time.zoneTrans) (len=1) {
- (time.zoneTrans) {
- when: (int64) -9223372036854775808,
- index: (uint8) 0,
- isstd: (bool) false,
- isutc: (bool) false
- }
- },
- extend: (string) (len=4) "UTC0",
- cacheStart: (int64) -9223372036854775808,
- cacheEnd: (int64) 9223372036854775807,
- cacheZone: (*time.zone)({
- name: (string) (len=3) "UTC",
- offset: (int) 0,
- isDST: (bool) false
- })
- })
+ wall: (uint64) 638732000,
+ ext: (int64) 63871840177,
+ loc: (*time.Location)(<nil>)
},
Test: TestSaveRoles
---
|
test-default-collection
Process completed with exit code 1.
|
test-default-collection:
auth_test.go#L313
auth_test.go:313:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/auth/auth_test.go:313
Error: Not equal:
expected: &auth.userImpl{roleImpl:auth.roleImpl{Name_:"testUser", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 22, 925756477, time.Local), cas:0x18186031b31a0000, docID:"_sync:user:testUser"}, userImplBody:auth.userImplBody{Email_:"", Disabled_:false, PasswordHash_:[]uint8{0x24, 0x32, 0x61, 0x24, 0x30, 0x34, 0x24, 0x61, 0x72, 0x6f, 0x44, 0x54, 0x37, 0x56, 0x39, 0x51, 0x56, 0x46, 0x63, 0x35, 0x39, 0x58, 0x59, 0x50, 0x50, 0x72, 0x75, 0x72, 0x75, 0x76, 0x54, 0x79, 0x54, 0x6a, 0x75, 0x76, 0x56, 0x2e, 0x43, 0x67, 0x41, 0x54, 0x2f, 0x4f, 0x63, 0x47, 0x39, 0x4f, 0x6e, 0x74, 0x30, 0x44, 0x66, 0x69, 0x42, 0x4c, 0x58, 0x66, 0x4a, 0x36}, OldPasswordHash_:interface {}(nil), ExplicitRoles_:channels.TimedSet(nil), JWTRoles_:channels.TimedSet(nil), JWTChannels_:channels.TimedSet(nil), JWTIssuer_:"", JWTLastUpdated_:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), RolesSince_:channels.TimedSet{}, RoleInvalSeq:0x0, RoleHistory_:auth.TimedSetHistory(nil), SessionUUID_:"94cf7bdd-af66-4b22-93ec-d045495f5cb0", OldExplicitRoles_:[]string(nil)}, auth:(*auth.Authenticator)(0xc0005bc070), roles:[]auth.Role(nil), deletedRoles:[]auth.Role(nil), warnChanThresholdOnce:sync.Once{done:atomic.Uint32{_:atomic.noCopy{}, v:0x0}, m:sync.Mutex{state:0, sema:0x0}}}
actual : &auth.userImpl{roleImpl:auth.roleImpl{Name_:"testUser", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 22, 925756477, time.UTC), cas:0x18186031b31a0000, docID:"_sync:user:testUser"}, userImplBody:auth.userImplBody{Email_:"", Disabled_:false, PasswordHash_:[]uint8{0x24, 0x32, 0x61, 0x24, 0x30, 0x34, 0x24, 0x61, 0x72, 0x6f, 0x44, 0x54, 0x37, 0x56, 0x39, 0x51, 0x56, 0x46, 0x63, 0x35, 0x39, 0x58, 0x59, 0x50, 0x50, 0x72, 0x75, 0x72, 0x75, 0x76, 0x54, 0x79, 0x54, 0x6a, 0x75, 0x76, 0x56, 0x2e, 0x43, 0x67, 0x41, 0x54, 0x2f, 0x4f, 0x63, 0x47, 0x39, 0x4f, 0x6e, 0x74, 0x30, 0x44, 0x66, 0x69, 0x42, 0x4c, 0x58, 0x66, 0x4a, 0x36}, OldPasswordHash_:interface {}(nil), ExplicitRoles_:channels.TimedSet(nil), JWTRoles_:channels.TimedSet(nil), JWTChannels_:channels.TimedSet(nil), JWTIssuer_:"", JWTLastUpdated_:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), RolesSince_:channels.TimedSet{}, RoleInvalSeq:0x0, RoleHistory_:auth.TimedSetHistory(nil), SessionUUID_:"94cf7bdd-af66-4b22-93ec-d045495f5cb0", OldExplicitRoles_:[]string(nil)}, auth:(*auth.Authenticator)(0xc0005bc070), roles:[]auth.Role(nil), deletedRoles:[]auth.Role(nil), warnChanThresholdOnce:sync.Once{done:atomic.Uint32{_:atomic.noCopy{}, v:0x0}, m:sync.Mutex{state:0, sema:0x0}}}
Diff:
--- Expected
+++ Actual
@@ -25,30 +25,5 @@
UpdatedAt: (time.Time) {
- wall: (uint64) 13967734026240126013,
- ext: (int64) 3026641913,
- loc: (*time.Location)({
- name: (string) (len=5) "Local",
- zone: ([]time.zone) (len=1) {
- (time.zone) {
- name
|
test-default-collection:
auth_test.go#L329
auth_test.go:329:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/auth/auth_test.go:329
Error: Not equal:
expected: &auth.roleImpl{Name_:"testRole", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 22, 951987223, time.Local), cas:0x18186031b4a90000, docID:"_sync:role:testRole"}
actual : &auth.roleImpl{Name_:"testRole", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 22, 951987223, time.UTC), cas:0x18186031b4a90000, docID:"_sync:role:testRole"}
Diff:
--- Expected
+++ Actual
@@ -24,30 +24,5 @@
UpdatedAt: (time.Time) {
- wall: (uint64) 13967734026266356759,
- ext: (int64) 3052872649,
- loc: (*time.Location)({
- name: (string) (len=5) "Local",
- zone: ([]time.zone) (len=1) {
- (time.zone) {
- name: (string) (len=3) "UTC",
- offset: (int) 0,
- isDST: (bool) false
- }
- },
- tx: ([]time.zoneTrans) (len=1) {
- (time.zoneTrans) {
- when: (int64) -9223372036854775808,
- index: (uint8) 0,
- isstd: (bool) false,
- isutc: (bool) false
- }
- },
- extend: (string) (len=4) "UTC0",
- cacheStart: (int64) -9223372036854775808,
- cacheEnd: (int64) 9223372036854775807,
- cacheZone: (*time.zone)({
- name: (string) (len=3) "UTC",
- offset: (int) 0,
- isDST: (bool) false
- })
- })
+ wall: (uint64) 951987223,
+ ext: (int64) 63871840222,
+ loc: (*time.Location)(<nil>)
},
Test: TestSaveRoles
---
|
test-default-collection:
config_test.go#L3159
config_test.go:3159:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/config_test.go:3159
Error: Received unexpected error:
key "_sync:user:db1:user1" missing
Test: TestUserUpdatedAtField
---
|
test-default-collection:
config_test.go#L3196
config_test.go:3196:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/config_test.go:3196
Error: Received unexpected error:
key "_sync:role:db1:role1" missing
Test: TestRoleUpdatedAtField
---
|
test-no-xattrs:
auth_test.go#L329
auth_test.go:329:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/auth/auth_test.go:329
Error: Not equal:
expected: &auth.roleImpl{Name_:"testRole", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 21, 213123135, time.Local), cas:0x181860314d050000, docID:"_sync:role:testRole"}
actual : &auth.roleImpl{Name_:"testRole", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 21, 213123135, time.UTC), cas:0x181860314d050000, docID:"_sync:role:testRole"}
Diff:
--- Expected
+++ Actual
@@ -24,30 +24,5 @@
UpdatedAt: (time.Time) {
- wall: (uint64) 13967734024453750847,
- ext: (int64) 1488764125,
- loc: (*time.Location)({
- name: (string) (len=5) "Local",
- zone: ([]time.zone) (len=1) {
- (time.zone) {
- name: (string) (len=3) "UTC",
- offset: (int) 0,
- isDST: (bool) false
- }
- },
- tx: ([]time.zoneTrans) (len=1) {
- (time.zoneTrans) {
- when: (int64) -9223372036854775808,
- index: (uint8) 0,
- isstd: (bool) false,
- isutc: (bool) false
- }
- },
- extend: (string) (len=4) "UTC0",
- cacheStart: (int64) -9223372036854775808,
- cacheEnd: (int64) 9223372036854775807,
- cacheZone: (*time.zone)({
- name: (string) (len=3) "UTC",
- offset: (int) 0,
- isDST: (bool) false
- })
- })
+ wall: (uint64) 213123135,
+ ext: (int64) 63871840221,
+ loc: (*time.Location)(<nil>)
},
Test: TestSaveRoles
---
|
test-no-xattrs:
auth_test.go#L313
auth_test.go:313:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/auth/auth_test.go:313
Error: Not equal:
expected: &auth.userImpl{roleImpl:auth.roleImpl{Name_:"testUser", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 22, 227341349, time.Local), cas:0x1818603189790000, docID:"_sync:user:testUser"}, userImplBody:auth.userImplBody{Email_:"", Disabled_:false, PasswordHash_:[]uint8{0x24, 0x32, 0x61, 0x24, 0x30, 0x34, 0x24, 0x36, 0x30, 0x42, 0x68, 0x77, 0x78, 0x47, 0x6d, 0x2e, 0x76, 0x4b, 0x78, 0x6d, 0x2f, 0x2e, 0x2e, 0x51, 0x63, 0x76, 0x71, 0x61, 0x75, 0x75, 0x39, 0x79, 0x6e, 0x66, 0x77, 0x58, 0x52, 0x45, 0x6c, 0x36, 0x74, 0x6e, 0x71, 0x36, 0x44, 0x4d, 0x43, 0x53, 0x54, 0x2e, 0x70, 0x65, 0x4f, 0x54, 0x30, 0x76, 0x59, 0x72, 0x57, 0x43}, OldPasswordHash_:interface {}(nil), ExplicitRoles_:channels.TimedSet(nil), JWTRoles_:channels.TimedSet(nil), JWTChannels_:channels.TimedSet(nil), JWTIssuer_:"", JWTLastUpdated_:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), RolesSince_:channels.TimedSet{}, RoleInvalSeq:0x0, RoleHistory_:auth.TimedSetHistory(nil), SessionUUID_:"e0842573-2a8f-41cf-bde2-e79670ed36db", OldExplicitRoles_:[]string(nil)}, auth:(*auth.Authenticator)(0xc000425490), roles:[]auth.Role(nil), deletedRoles:[]auth.Role(nil), warnChanThresholdOnce:sync.Once{done:atomic.Uint32{_:atomic.noCopy{}, v:0x0}, m:sync.Mutex{state:0, sema:0x0}}}
actual : &auth.userImpl{roleImpl:auth.roleImpl{Name_:"testUser", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 22, 227341349, time.UTC), cas:0x1818603189790000, docID:"_sync:user:testUser"}, userImplBody:auth.userImplBody{Email_:"", Disabled_:false, PasswordHash_:[]uint8{0x24, 0x32, 0x61, 0x24, 0x30, 0x34, 0x24, 0x36, 0x30, 0x42, 0x68, 0x77, 0x78, 0x47, 0x6d, 0x2e, 0x76, 0x4b, 0x78, 0x6d, 0x2f, 0x2e, 0x2e, 0x51, 0x63, 0x76, 0x71, 0x61, 0x75, 0x75, 0x39, 0x79, 0x6e, 0x66, 0x77, 0x58, 0x52, 0x45, 0x6c, 0x36, 0x74, 0x6e, 0x71, 0x36, 0x44, 0x4d, 0x43, 0x53, 0x54, 0x2e, 0x70, 0x65, 0x4f, 0x54, 0x30, 0x76, 0x59, 0x72, 0x57, 0x43}, OldPasswordHash_:interface {}(nil), ExplicitRoles_:channels.TimedSet(nil), JWTRoles_:channels.TimedSet(nil), JWTChannels_:channels.TimedSet(nil), JWTIssuer_:"", JWTLastUpdated_:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), RolesSince_:channels.TimedSet{}, RoleInvalSeq:0x0, RoleHistory_:auth.TimedSetHistory(nil), SessionUUID_:"e0842573-2a8f-41cf-bde2-e79670ed36db", OldExplicitRoles_:[]string(nil)}, auth:(*auth.Authenticator)(0xc000425490), roles:[]auth.Role(nil), deletedRoles:[]auth.Role(nil), warnChanThresholdOnce:sync.Once{done:atomic.Uint32{_:atomic.noCopy{}, v:0x0}, m:sync.Mutex{state:0, sema:0x0}}}
Diff:
--- Expected
+++ Actual
@@ -25,30 +25,5 @@
UpdatedAt: (time.Time) {
- wall: (uint64) 13967734025541710885,
- ext: (int64) 2502982369,
- loc: (*time.Location)({
- name: (string) (len=5) "Local",
- zone: ([]time.zone) (len=1) {
- (time.zone) {
- name
|
test-no-xattrs
Process completed with exit code 1.
|
test (ubuntu)
Process completed with exit code 1.
|
test (ubuntu):
auth_test.go#L313
auth_test.go:313:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/auth/auth_test.go:313
Error: Not equal:
expected: &auth.userImpl{roleImpl:auth.roleImpl{Name_:"testUser", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 32, 177604774, time.Local), cas:0x18186033da8d0000, docID:"_sync:user:testUser"}, userImplBody:auth.userImplBody{Email_:"", Disabled_:false, PasswordHash_:[]uint8{0x24, 0x32, 0x61, 0x24, 0x30, 0x34, 0x24, 0x4f, 0x4c, 0x45, 0x6e, 0x31, 0x77, 0x52, 0x33, 0x36, 0x61, 0x4d, 0x69, 0x69, 0x4d, 0x67, 0x61, 0x61, 0x56, 0x37, 0x6d, 0x66, 0x75, 0x66, 0x41, 0x57, 0x30, 0x54, 0x65, 0x78, 0x48, 0x36, 0x6a, 0x43, 0x53, 0x4f, 0x34, 0x63, 0x7a, 0x41, 0x4f, 0x45, 0x75, 0x42, 0x67, 0x38, 0x78, 0x31, 0x39, 0x4c, 0x6f, 0x4b, 0x63, 0x32}, OldPasswordHash_:interface {}(nil), ExplicitRoles_:channels.TimedSet(nil), JWTRoles_:channels.TimedSet(nil), JWTChannels_:channels.TimedSet(nil), JWTIssuer_:"", JWTLastUpdated_:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), RolesSince_:channels.TimedSet{}, RoleInvalSeq:0x0, RoleHistory_:auth.TimedSetHistory(nil), SessionUUID_:"20df846f-adb3-4db8-ac73-c81d9118cafd", OldExplicitRoles_:[]string(nil)}, auth:(*auth.Authenticator)(0xc0003a68c0), roles:[]auth.Role(nil), deletedRoles:[]auth.Role(nil), warnChanThresholdOnce:sync.Once{done:atomic.Uint32{_:atomic.noCopy{}, v:0x0}, m:sync.Mutex{state:0, sema:0x0}}}
actual : &auth.userImpl{roleImpl:auth.roleImpl{Name_:"testUser", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 32, 177604774, time.UTC), cas:0x18186033da8d0000, docID:"_sync:user:testUser"}, userImplBody:auth.userImplBody{Email_:"", Disabled_:false, PasswordHash_:[]uint8{0x24, 0x32, 0x61, 0x24, 0x30, 0x34, 0x24, 0x4f, 0x4c, 0x45, 0x6e, 0x31, 0x77, 0x52, 0x33, 0x36, 0x61, 0x4d, 0x69, 0x69, 0x4d, 0x67, 0x61, 0x61, 0x56, 0x37, 0x6d, 0x66, 0x75, 0x66, 0x41, 0x57, 0x30, 0x54, 0x65, 0x78, 0x48, 0x36, 0x6a, 0x43, 0x53, 0x4f, 0x34, 0x63, 0x7a, 0x41, 0x4f, 0x45, 0x75, 0x42, 0x67, 0x38, 0x78, 0x31, 0x39, 0x4c, 0x6f, 0x4b, 0x63, 0x32}, OldPasswordHash_:interface {}(nil), ExplicitRoles_:channels.TimedSet(nil), JWTRoles_:channels.TimedSet(nil), JWTChannels_:channels.TimedSet(nil), JWTIssuer_:"", JWTLastUpdated_:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), RolesSince_:channels.TimedSet{}, RoleInvalSeq:0x0, RoleHistory_:auth.TimedSetHistory(nil), SessionUUID_:"20df846f-adb3-4db8-ac73-c81d9118cafd", OldExplicitRoles_:[]string(nil)}, auth:(*auth.Authenticator)(0xc0003a68c0), roles:[]auth.Role(nil), deletedRoles:[]auth.Role(nil), warnChanThresholdOnce:sync.Once{done:atomic.Uint32{_:atomic.noCopy{}, v:0x0}, m:sync.Mutex{state:0, sema:0x0}}}
Diff:
--- Expected
+++ Actual
@@ -25,30 +25,5 @@
UpdatedAt: (time.Time) {
- wall: (uint64) 13967734036229392550,
- ext: (int64) 1264860945,
- loc: (*time.Location)({
- name: (string) (len=5) "Local",
- zone: ([]time.zone) (len=1) {
- (time.zone) {
- name
|
test (ubuntu):
auth_test.go#L329
auth_test.go:329:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/auth/auth_test.go:329
Error: Not equal:
expected: &auth.roleImpl{Name_:"testRole", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 33, 665917468, time.Local), cas:0x1818603433430000, docID:"_sync:role:testRole"}
actual : &auth.roleImpl{Name_:"testRole", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 33, 665917468, time.UTC), cas:0x1818603433430000, docID:"_sync:role:testRole"}
Diff:
--- Expected
+++ Actual
@@ -24,30 +24,5 @@
UpdatedAt: (time.Time) {
- wall: (uint64) 13967734037791447068,
- ext: (int64) 2753173639,
- loc: (*time.Location)({
- name: (string) (len=5) "Local",
- zone: ([]time.zone) (len=1) {
- (time.zone) {
- name: (string) (len=3) "UTC",
- offset: (int) 0,
- isDST: (bool) false
- }
- },
- tx: ([]time.zoneTrans) (len=1) {
- (time.zoneTrans) {
- when: (int64) -9223372036854775808,
- index: (uint8) 0,
- isstd: (bool) false,
- isutc: (bool) false
- }
- },
- extend: (string) (len=4) "UTC0",
- cacheStart: (int64) -9223372036854775808,
- cacheEnd: (int64) 9223372036854775807,
- cacheZone: (*time.zone)({
- name: (string) (len=3) "UTC",
- offset: (int) 0,
- isDST: (bool) false
- })
- })
+ wall: (uint64) 665917468,
+ ext: (int64) 63871840233,
+ loc: (*time.Location)(<nil>)
},
Test: TestSaveRoles
---
|
test (windows):
auth_test.go#L329
auth_test.go:329:
Error Trace: D:/a/sync_gateway/sync_gateway/auth/auth_test.go:329
Error: Not equal:
expected: &auth.roleImpl{Name_:"testRole", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 37, 470298500, time.Local), cas:0x1818603516050000, docID:"_sync:role:testRole"}
actual : &auth.roleImpl{Name_:"testRole", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 37, 470298500, time.UTC), cas:0x1818603516050000, docID:"_sync:role:testRole"}
Diff:
--- Expected
+++ Actual
@@ -24,30 +24,5 @@
UpdatedAt: (time.Time) {
- wall: (uint64) 13967734041890795396,
- ext: (int64) 1608204501,
- loc: (*time.Location)({
- name: (string) (len=5) "Local",
- zone: ([]time.zone) (len=1) {
- (time.zone) {
- name: (string) (len=3) "UTC",
- offset: (int) 0,
- isDST: (bool) false
- }
- },
- tx: ([]time.zoneTrans) (len=1) {
- (time.zoneTrans) {
- when: (int64) -9223372036854775808,
- index: (uint8) 0,
- isstd: (bool) false,
- isutc: (bool) false
- }
- },
- extend: (string) "",
- cacheStart: (int64) -9223372036854775808,
- cacheEnd: (int64) 9223372036854775807,
- cacheZone: (*time.zone)({
- name: (string) (len=3) "UTC",
- offset: (int) 0,
- isDST: (bool) false
- })
- })
+ wall: (uint64) 470298500,
+ ext: (int64) 63871840237,
+ loc: (*time.Location)(<nil>)
},
Test: TestSaveRoles
---
|
test (windows):
auth_test.go#L313
auth_test.go:313:
Error Trace: D:/a/sync_gateway/sync_gateway/auth/auth_test.go:313
Error: Not equal:
expected: &auth.userImpl{roleImpl:auth.roleImpl{Name_:"testUser", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 39, 189904200, time.Local), cas:0x181860357c840000, docID:"_sync:user:testUser"}, userImplBody:auth.userImplBody{Email_:"", Disabled_:false, PasswordHash_:[]uint8{0x24, 0x32, 0x61, 0x24, 0x30, 0x34, 0x24, 0x6e, 0x79, 0x39, 0x77, 0x4e, 0x63, 0x50, 0x2e, 0x6e, 0x4f, 0x76, 0x56, 0x4a, 0x48, 0x4d, 0x37, 0x6d, 0x6c, 0x7a, 0x42, 0x31, 0x65, 0x62, 0x49, 0x32, 0x41, 0x50, 0x37, 0x62, 0x46, 0x63, 0x51, 0x4f, 0x77, 0x59, 0x48, 0x52, 0x61, 0x72, 0x37, 0x50, 0x72, 0x31, 0x6b, 0x79, 0x45, 0x47, 0x31, 0x67, 0x68, 0x30, 0x43, 0x36}, OldPasswordHash_:interface {}(nil), ExplicitRoles_:channels.TimedSet(nil), JWTRoles_:channels.TimedSet(nil), JWTChannels_:channels.TimedSet(nil), JWTIssuer_:"", JWTLastUpdated_:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), RolesSince_:channels.TimedSet{}, RoleInvalSeq:0x0, RoleHistory_:auth.TimedSetHistory(nil), SessionUUID_:"d6111183-39b0-466c-9388-2e9adaaa706d", OldExplicitRoles_:[]string(nil)}, auth:(*auth.Authenticator)(0xc00042d730), roles:[]auth.Role(nil), deletedRoles:[]auth.Role(nil), warnChanThresholdOnce:sync.Once{done:atomic.Uint32{_:atomic.noCopy{}, v:0x0}, m:sync.Mutex{state:0, sema:0x0}}}
actual : &auth.userImpl{roleImpl:auth.roleImpl{Name_:"testUser", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 39, 189904200, time.UTC), cas:0x181860357c840000, docID:"_sync:user:testUser"}, userImplBody:auth.userImplBody{Email_:"", Disabled_:false, PasswordHash_:[]uint8{0x24, 0x32, 0x61, 0x24, 0x30, 0x34, 0x24, 0x6e, 0x79, 0x39, 0x77, 0x4e, 0x63, 0x50, 0x2e, 0x6e, 0x4f, 0x76, 0x56, 0x4a, 0x48, 0x4d, 0x37, 0x6d, 0x6c, 0x7a, 0x42, 0x31, 0x65, 0x62, 0x49, 0x32, 0x41, 0x50, 0x37, 0x62, 0x46, 0x63, 0x51, 0x4f, 0x77, 0x59, 0x48, 0x52, 0x61, 0x72, 0x37, 0x50, 0x72, 0x31, 0x6b, 0x79, 0x45, 0x47, 0x31, 0x67, 0x68, 0x30, 0x43, 0x36}, OldPasswordHash_:interface {}(nil), ExplicitRoles_:channels.TimedSet(nil), JWTRoles_:channels.TimedSet(nil), JWTChannels_:channels.TimedSet(nil), JWTIssuer_:"", JWTLastUpdated_:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), RolesSince_:channels.TimedSet{}, RoleInvalSeq:0x0, RoleHistory_:auth.TimedSetHistory(nil), SessionUUID_:"d6111183-39b0-466c-9388-2e9adaaa706d", OldExplicitRoles_:[]string(nil)}, auth:(*auth.Authenticator)(0xc00042d730), roles:[]auth.Role(nil), deletedRoles:[]auth.Role(nil), warnChanThresholdOnce:sync.Once{done:atomic.Uint32{_:atomic.noCopy{}, v:0x0}, m:sync.Mutex{state:0, sema:0x0}}}
Diff:
--- Expected
+++ Actual
@@ -25,30 +25,5 @@
UpdatedAt: (time.Time) {
- wall: (uint64) 13967734043757884744,
- ext: (int64) 3327808801,
- loc: (*time.Location)({
- name: (string) (len=5) "Local",
- zone: ([]time.zone) (len=1) {
- (time.zone) {
- name: (string) (l
|
test (windows)
Process completed with exit code 1.
|
test-race
Process completed with exit code 1.
|
test-race:
auth_test.go#L329
auth_test.go:329:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/auth/auth_test.go:329
Error: Not equal:
expected: &auth.roleImpl{Name_:"testRole", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 35, 896555343, time.Local), cas:0x18186034b8390000, docID:"_sync:role:testRole"}
actual : &auth.roleImpl{Name_:"testRole", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 35, 896555343, time.UTC), cas:0x18186034b8390000, docID:"_sync:role:testRole"}
Diff:
--- Expected
+++ Actual
@@ -24,30 +24,5 @@
UpdatedAt: (time.Time) {
- wall: (uint64) 13967734040169568591,
- ext: (int64) 9663031347,
- loc: (*time.Location)({
- name: (string) (len=5) "Local",
- zone: ([]time.zone) (len=1) {
- (time.zone) {
- name: (string) (len=3) "UTC",
- offset: (int) 0,
- isDST: (bool) false
- }
- },
- tx: ([]time.zoneTrans) (len=1) {
- (time.zoneTrans) {
- when: (int64) -9223372036854775808,
- index: (uint8) 0,
- isstd: (bool) false,
- isutc: (bool) false
- }
- },
- extend: (string) (len=4) "UTC0",
- cacheStart: (int64) -9223372036854775808,
- cacheEnd: (int64) 9223372036854775807,
- cacheZone: (*time.zone)({
- name: (string) (len=3) "UTC",
- offset: (int) 0,
- isDST: (bool) false
- })
- })
+ wall: (uint64) 896555343,
+ ext: (int64) 63871840235,
+ loc: (*time.Location)(<nil>)
},
Test: TestSaveRoles
---
|
test-race:
auth_test.go#L313
auth_test.go:313:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/auth/auth_test.go:313
Error: Not equal:
expected: &auth.userImpl{roleImpl:auth.roleImpl{Name_:"testUser", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 41, 295551337, time.Local), cas:0x18186035fa080000, docID:"_sync:user:testUser"}, userImplBody:auth.userImplBody{Email_:"", Disabled_:false, PasswordHash_:[]uint8{0x24, 0x32, 0x61, 0x24, 0x30, 0x34, 0x24, 0x64, 0x47, 0x7a, 0x41, 0x52, 0x51, 0x6e, 0x65, 0x57, 0x2e, 0x51, 0x66, 0x69, 0x4e, 0x48, 0x67, 0x42, 0x4c, 0x4e, 0x6c, 0x65, 0x2e, 0x69, 0x43, 0x4a, 0x39, 0x79, 0x47, 0x55, 0x32, 0x41, 0x66, 0x34, 0x63, 0x6a, 0x2f, 0x69, 0x41, 0x51, 0x6a, 0x67, 0x32, 0x5a, 0x54, 0x30, 0x44, 0x52, 0x58, 0x6e, 0x62, 0x56, 0x67, 0x57}, OldPasswordHash_:interface {}(nil), ExplicitRoles_:channels.TimedSet(nil), JWTRoles_:channels.TimedSet(nil), JWTChannels_:channels.TimedSet(nil), JWTIssuer_:"", JWTLastUpdated_:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), RolesSince_:channels.TimedSet{}, RoleInvalSeq:0x0, RoleHistory_:auth.TimedSetHistory(nil), SessionUUID_:"83b7e0e6-dfa5-411d-b1ee-34623e1faf9d", OldExplicitRoles_:[]string(nil)}, auth:(*auth.Authenticator)(0xc000422000), roles:[]auth.Role(nil), deletedRoles:[]auth.Role(nil), warnChanThresholdOnce:sync.Once{done:atomic.Uint32{_:atomic.noCopy{}, v:0x0}, m:sync.Mutex{state:0, sema:0x0}}}
actual : &auth.userImpl{roleImpl:auth.roleImpl{Name_:"testUser", ExplicitChannels_:channels.TimedSet{"test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Channels_:channels.TimedSet{"!":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}, "test":channels.VbSequence{VbNo:(*uint16)(nil), Sequence:0x1}}, Sequence_:0x0, ChannelHistory_:auth.TimedSetHistory(nil), ChannelInvalSeq:0x0, Deleted:false, CollectionsAccess:map[string]map[string]*auth.CollectionAccess(nil), UpdatedAt:time.Date(2025, time.January, 7, 9, 50, 41, 295551337, time.UTC), cas:0x18186035fa080000, docID:"_sync:user:testUser"}, userImplBody:auth.userImplBody{Email_:"", Disabled_:false, PasswordHash_:[]uint8{0x24, 0x32, 0x61, 0x24, 0x30, 0x34, 0x24, 0x64, 0x47, 0x7a, 0x41, 0x52, 0x51, 0x6e, 0x65, 0x57, 0x2e, 0x51, 0x66, 0x69, 0x4e, 0x48, 0x67, 0x42, 0x4c, 0x4e, 0x6c, 0x65, 0x2e, 0x69, 0x43, 0x4a, 0x39, 0x79, 0x47, 0x55, 0x32, 0x41, 0x66, 0x34, 0x63, 0x6a, 0x2f, 0x69, 0x41, 0x51, 0x6a, 0x67, 0x32, 0x5a, 0x54, 0x30, 0x44, 0x52, 0x58, 0x6e, 0x62, 0x56, 0x67, 0x57}, OldPasswordHash_:interface {}(nil), ExplicitRoles_:channels.TimedSet(nil), JWTRoles_:channels.TimedSet(nil), JWTChannels_:channels.TimedSet(nil), JWTIssuer_:"", JWTLastUpdated_:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), RolesSince_:channels.TimedSet{}, RoleInvalSeq:0x0, RoleHistory_:auth.TimedSetHistory(nil), SessionUUID_:"83b7e0e6-dfa5-411d-b1ee-34623e1faf9d", OldExplicitRoles_:[]string(nil)}, auth:(*auth.Authenticator)(0xc000422000), roles:[]auth.Role(nil), deletedRoles:[]auth.Role(nil), warnChanThresholdOnce:sync.Once{done:atomic.Uint32{_:atomic.noCopy{}, v:0x0}, m:sync.Mutex{state:0, sema:0x0}}}
Diff:
--- Expected
+++ Actual
@@ -25,30 +25,5 @@
UpdatedAt: (time.Time) {
- wall: (uint64) 13967734046011015529,
- ext: (int64) 15062027331,
- loc: (*time.Location)({
- name: (string) (len=5) "Local",
- zone: ([]time.zone) (len=1) {
- (time.zone) {
- nam
|
python-format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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
|
test-no-xattrs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (ubuntu)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-race
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|