-
Notifications
You must be signed in to change notification settings - Fork 4.1k
server: TestReportUsage failed under stress #31778
Copy link
Copy link
Closed
Labels
C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).O-robotOriginated from a bot.Originated from a bot.
Milestone
Description
SHA: https://github.com/cockroachdb/cockroach/commits/5a373445c0674f060a4bfe369ad290a0cacccb6c
Parameters:
TAGS=
GOFLAGS=-race
To repro, try:
# Don't forget to check out a clean suitable branch and experiment with the
# stress invocation until the desired results present themselves. For example,
# using stress instead of stressrace and passing the '-p' stressflag which
# controls concurrency.
./scripts/gceworker.sh start && ./scripts/gceworker.sh mosh
cd ~/go/src/github.com/cockroachdb/cockroach && \
make stressrace TESTS=TestReportUsage PKG=github.com/cockroachdb/cockroach/pkg/server TESTTIMEOUT=5m STRESSFLAGS='-maxtime 20m -timeout 10m' 2>&1 | tee /tmp/stress.log
Failed test: https://teamcity.cockroachdb.com/viewLog.html?buildId=982983&tab=buildLog
I181024 06:10:06.304822 55918 sql/event_log.go:126 [n1,client=127.0.0.1:46434,user=root] Event: "set_zone_config", target: 1, info: {Target:system Config:experimental_lease_preferences: [[+zone=somestring,+somestring], [+somestring]] Options: User:root}
I181024 06:10:06.366742 55918 sql/event_log.go:126 [n1,client=127.0.0.1:46434,user=root] Event: "create_table", target: 53, info: {TableName:somestring.public.somestring Statement:CREATE TABLE somestring.public.somestring (somestring INT, CONSTRAINT somestring CHECK (somestring > 1)) User:root}
I181024 06:10:06.368845 56024 storage/replica_command.go:300 [n1,split,s1,r20/1:/{Table/23-Max}] initiating a split of this range at key /Table/53 [r21]
I181024 06:10:06.430210 55501 storage/allocator_scorer.go:597 [n1,replicate,s1,r21/1:/{Table/53-Max}] nodeHasReplica(n1, [(n1,s1):1])=true
I181024 06:10:06.433632 55484 storage/allocator_scorer.go:597 [n1,replicate,s1,r21/1:/{Table/53-Max}] nodeHasReplica(n1, [(n1,s1):1])=true
I181024 06:10:06.557376 55918 sql/event_log.go:126 [n1,client=127.0.0.1:46434,user=root] Event: "set_cluster_setting", target: 0, info: {SettingName:cluster.organization Value:'Cockroach Labs - Production Testing' User:root}
I181024 06:10:06.676387 55918 sql/event_log.go:126 [n1,client=127.0.0.1:46434,user=root] Event: "set_cluster_setting", target: 0, info: {SettingName:cluster.organization Value:'Cockroach Labs - Production Testing' User:root}
I181024 06:10:06.810893 55918 sql/event_log.go:126 [n1,client=127.0.0.1:46434,user=root] Event: "set_cluster_setting", target: 0, info: {SettingName:cluster.organization Value:'Cockroach Labs - Production Testing' User:root}
I181024 06:10:06.969674 55918 sql/event_log.go:126 [n1,client=127.0.0.1:46434,user=root] Event: "set_cluster_setting", target: 0, info: {SettingName:cluster.organization Value:'Cockroach Labs - Production Testing' User:root}
I181024 06:10:07.104882 55918 sql/event_log.go:126 [n1,client=127.0.0.1:46434,user=root] Event: "set_cluster_setting", target: 0, info: {SettingName:cluster.organization Value:'Cockroach Labs - Production Testing' User:root}
I181024 06:10:07.233135 55918 sql/event_log.go:126 [n1,client=127.0.0.1:46434,user=root] Event: "set_cluster_setting", target: 0, info: {SettingName:cluster.organization Value:'Cockroach Labs - Production Testing' User:root}
I181024 06:10:07.382032 55918 sql/event_log.go:126 [n1,client=127.0.0.1:46434,user=root] Event: "set_cluster_setting", target: 0, info: {SettingName:cluster.organization Value:'Cockroach Labs - Production Testing' User:root}
I181024 06:10:07.529298 55918 sql/event_log.go:126 [n1,client=127.0.0.1:46434,user=root] Event: "set_cluster_setting", target: 0, info: {SettingName:cluster.organization Value:'Cockroach Labs - Production Testing' User:root}
I181024 06:10:07.650934 55918 sql/event_log.go:126 [n1,client=127.0.0.1:46434,user=root] Event: "set_cluster_setting", target: 0, info: {SettingName:cluster.organization Value:'Cockroach Labs - Production Testing' User:root}
I181024 06:10:07.777372 55918 sql/event_log.go:126 [n1,client=127.0.0.1:46434,user=root] Event: "set_cluster_setting", target: 0, info: {SettingName:cluster.organization Value:'Cockroach Labs - Production Testing' User:root}
I181024 06:10:08.287318 55207 util/stop/stopper.go:537 quiescing; tasks left:
2 [async] closedts-rangefeed-subscriber
1 [async] transport racer
I181024 06:10:08.287365 55464 kv/transport_race.go:113 transport race promotion: ran 26 iterations on up to 1490 requests
--- FAIL: TestReportUsage (4.46s)
updates_test.go:547: expected 16 feature usage counts, got 17: map[errorcodes.0A000:10 errorcodes.22000:10 errorcodes.22012:10 unimplemented.#9148:10 unimplemented.pg_catalog.pg_stat_wal_receiver:10 othererror.builtins.go:10 othererror.22000.crdb_internal.set_vmodule():10 test.a:1 test.b:2 internalerror.:10 errorcodes.42601:10 errorcodes.blah:10 othererror.unknown:1 errorcodes.XX000:10 test.c:3 unimplemented.syntax.alter table rename constraint:10 unimplemented.syntax.interval with precision:10]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).O-robotOriginated from a bot.Originated from a bot.