cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
29.99k stars 3.79k forks source link

roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed #70004

Closed cockroach-teamcity closed 2 years ago

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 99a4816fc272228a63df20dae3cc41d235e705f3:

          |  "workerId": 0,
          |  "clientTimestamp": "06:36:15.414061",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE IF NOT EXISTS public.table21 (col21_22 \"char\" NOT NULL, col21_23 OID NOT NULL, col21_24 JSONB NULL, col21_25 STRING[] NOT NULL, col21_26 NAME NOT NULL, col21_27 INT4 NULL, col21_28 TIMESTAMPTZ NOT NULL, col21_29 BIT(13) NOT NULL, col21_30 INT2[], INVERTED INDEX ((CASE WHEN col21_30 IS NULL THEN e'85\\bp\\x19r\\x10\\x14':::STRING ELSE e'*\\x0e)``\\x13\\x1d':::STRING END) ASC, col21_29 ASC, col21_24), UNIQUE (col21_22), FAMILY (col21_22, col21_28, col21_26, col21_30, col21_25, col21_24), FAMILY (col21_23, col21_27), FAMILY (col21_29))",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:15.440435",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SCHEMA \"public\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot drop schema \"public\" (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:15.450918",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER VIEW public.view31 RENAME TO public.view32"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"public.view31\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:15.460751",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table21 ALTER COLUMN crdb_internal_idx_expr SET DEFAULT '6K':::STRING:::NAME",
          |   "ALTER TABLE public.table21 RENAME COLUMN \"col21_30\" TO \"col21_33\"",
          |   "ALTER DATABASE schemachange SURVIVE ZONE FAILURE",
          |   "CREATE SCHEMA IF NOT EXISTS schema34 AUTHORIZATION root",
          |   "CREATE UNIQUE INDEX index21_35 ON public.table21 (col21_33 DESC, col21_27) STORING (col21_22, crdb_internal_idx_expr, col21_24, col21_26, col21_25)"
          |  ],
          |  "expectedExecErrors": "0A000,XXUUU",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: unimplemented: column col21_33 is of type int2[] and thus is not indexable (SQLSTATE 0A000)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

Jira issue: CRDB-9892

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 99a4816fc272228a63df20dae3cc41d235e705f3:

          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:18:20.576906",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SCHEMA \"public\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot drop schema \"public\" (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:18:20.600814",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:18:20.707419",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE IF NOT EXISTS public.table57 (col57_58 GEOMETRY NOT NULL, INVERTED INDEX (col57_58), INVERTED INDEX (col57_58 DESC), INVERTED INDEX (col57_58 ASC), UNIQUE (lower(CAST(col57_58 AS STRING)) DESC) STORING (col57_58))",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:18:20.733224",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table57 RENAME COLUMN \"crdb_internal_idx_expr\" TO \"col57_59\""
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: column \"crdb_internal_idx_expr\" is inaccessible and cannot be renamed (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 4811bb9c8c1d20b9f200d44bc7df388ad2d80898:

The test failed on branch=release-21.2, cloud=aws:
test artifacts and logs in: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/scbench/randomload/nodes=3/ops=2000/conc=1/run_1
    schemachange_random_load.go:159,schemachange_random_load.go:92,test_runner.go:777: output in run_063128.858358182_n1_workload_run_schemachange: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-3427612-1631340792-02-n3cpu4:1 -- ./workload run schemachange --verbose=1 --tolerate-errors=false  --histograms=perf/stats.json --max-ops 2000 --concurrency 1 --txn-log /mnt/data1/cockroach/transactions.json returned: exit status 20
        (1) attached stack trace
          -- stack trace:
          | main.(*clusterImpl).RunE
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cluster.go:1983
          | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runSchemaChangeRandomLoad
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/schemachange_random_load.go:156
          | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerRandomLoadBenchSpec.func1
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/schemachange_random_load.go:92
          | main.(*testRunner).runTest.func2
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/test_runner.go:777
          | runtime.goexit
          |     /usr/local/go/src/runtime/asm_amd64.s:1371
        Wraps: (2) output in run_063128.858358182_n1_workload_run_schemachange
        Wraps: (3) /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-3427612-1631340792-02-n3cpu4:1 -- ./workload run schemachange --verbose=1 --tolerate-errors=false  --histograms=perf/stats.json --max-ops 2000 --concurrency 1 --txn-log /mnt/data1/cockroach/transactions.json returned
          | stderr:
          | I210911 06:31:30.013443 1 workload/cli/run.go:408  [-] 1  creating load generator...
          | I210911 06:31:30.068191 1 workload/cli/run.go:439  [-] 2  creating load generator... done (took 54.747724ms)
          | I210911 06:31:30.099664 29 workload/pgx_helpers.go:61  [-] 3  pgx logger [error]: Exec logParams=map[args:[] err:ERROR: region "us-east-2" already added to database (SQLSTATE 42710) sql:ALTER DATABASE schemachange ADD REGION "us-east-2"]
          | Error: ***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: region "us-east-2" already added to database (SQLSTATE 42710)
          | Error: COMMAND_PROBLEM: exit status 1
          | (1) COMMAND_PROBLEM
          | Wraps: (2) Node 1. Command with error:
          |   | ``````
          |   | ./workload run schemachange --verbose=1 --tolerate-errors=false  --histograms=perf/stats.json --max-ops 2000 --concurrency 1 --txn-log /mnt/data1/cockroach/transactions.json
          |   | ``````
          | Wraps: (3) exit status 1
          | Error types: (1) errors.Cmd (2) *hintdetail.withDetail (3) *exec.ExitError
          |
          | stdout:
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:31:30.068532",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east-2\"",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east-2\""
          |  ],
          |  "expectedExecErrors": "42P12",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: region \"us-east-2\" already added to database (SQLSTATE 42710)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 4811bb9c8c1d20b9f200d44bc7df388ad2d80898:

          | {
          |  "workerId": 0,
          |  "clientTimestamp": "10:56:40.299781",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TYPE public.enum56 AS ENUM ('sassss', 'sa', 'ss', 'ad')",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "10:56:40.386651",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange SURVIVE ZONE FAILURE"
          |  ],
          |  "expectedExecErrors": "42602",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: database must have associated regions before a survival goal can be set (SQLSTATE 42602)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "10:56:40.404819",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SCHEMA \"public\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot drop schema \"public\" (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "10:56:40.424469",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east1\""
          |  ],
          |  "expectedExecErrors": "42P12",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: region \"us-east1\" already added to database (SQLSTATE 42710)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 8d491ced731e13da2377cda9961f577d7487d6a0:

          |  "workerId": 0,
          |  "clientTimestamp": "06:30:03.28011",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TYPE public.enum46 AS ENUM ('ffasf', 'af', 'fa', 'ffaaaf')",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:30:03.285935",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table47 SET LOCALITY REGIONAL BY ROW"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"public.table47\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:30:03.308863",
          |  "ops": [
          |   "BEGIN",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east-2\"",
          |   "CREATE TYPE public.enum49 AS ENUM ('d', 'asfdds')",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:30:03.438168",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE IF NOT EXISTS public.table50 (col50_51 FLOAT8 NOT NULL, col50_52 REGPROCEDURE NOT NULL, col50_53 BOOL NOT NULL, PRIMARY KEY (col50_53, col50_51 ASC, col50_52 DESC), col50_54 STRING NOT NULL AS (lower(CAST(col50_52 AS STRING))) VIRTUAL, col50_55 FLOAT8 NOT NULL AS (col50_51 + 0.5240762396506063:::FLOAT8) VIRTUAL, UNIQUE (col50_54, col50_51, col50_53 DESC), UNIQUE (lower(CAST(col50_52 AS STRING)), col50_53 DESC, col50_54 ASC, col50_55 DESC, col50_51 DESC), INDEX (col50_53), UNIQUE (col50_53, (col50_51 + 0.6490609740725737:::FLOAT8) ASC, (col50_51 + 0.30249763548506614:::FLOAT8) DESC), UNIQUE (col50_55, col50_51 ASC), INDEX (col50_54 ASC, col50_51, (col50_51 + 0.13832197288147507:::FLOAT8), col50_52, col50_55 ASC), FAMILY (col50_51, col50_53), FAMILY (col50_52))",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: \"SELECT EXISTS (\\n\\t\\tSELECT crdb_internal_idx_expr\\n\\t\\t  FROM public.table50\\n\\t   WHERE crdb_internal_idx_expr IS NULL\\n\\t)\" []: ERROR: column \"crdb_internal_idx_expr\" does not exist (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 8d491ced731e13da2377cda9961f577d7487d6a0:

          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:07:28.555119",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SCHEMA \"public\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot drop schema \"public\" (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:07:28.575194",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange SURVIVE ZONE FAILURE",
          |   "CREATE TABLE schema2.table8 (col8_9 \"char\" NOT NULL, col8_10 INET NOT NULL, col8_11 OID NOT NULL, PRIMARY KEY (col8_10 DESC, col8_11 DESC), col8_12 STRING NOT NULL AS (lower(CAST(col8_11 AS STRING))) STORED, INDEX (col8_12 ASC) STORING (col8_9), INDEX (col8_10 DESC, col8_11 DESC, col8_12 DESC, col8_9), INDEX (col8_9 DESC, col8_12 DESC, lower(CAST(col8_11 AS STRING)) ASC), UNIQUE (col8_10, lower(col8_9), col8_12 ASC), UNIQUE (col8_10, col8_11 DESC), UNIQUE (col8_9 DESC, col8_11))",
          |   "DROP SCHEMA \"schema13\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: unknown schema \"schema13\" (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:07:28.619191",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE IF NOT EXISTS schema2.table14 (col14_15 DATE NULL, col14_16 DECIMAL NULL, col14_17 BIT(45) NOT NULL, col14_18 STRING NOT NULL, col14_19 \"char\" NULL, col14_20 REGTYPE NOT NULL, col14_21 FLOAT8[] NULL, col14_22 UUID, col14_23 OID[] NOT NULL, col14_24 JSONB NOT NULL, col14_25 UUID, col14_26 STRING AS (lower(CAST(col14_22 AS STRING))) VIRTUAL, col14_27 DECIMAL NULL AS (col14_16 + NULL) STORED, col14_28 STRING NOT NULL AS (lower(CAST(col14_17 AS STRING))) STORED, col14_29 STRING NOT NULL AS (lower(CAST(col14_24 AS STRING))) VIRTUAL, col14_30 STRING NULL AS (CASE WHEN col14_21 IS NULL THEN e'M\\x1d':::STRING ELSE e'\\U00002603':::STRING END) STORED, col14_31 STRING NULL AS (lower(col14_19)) VIRTUAL, col14_32 STRING NULL AS (CASE WHEN col14_21 IS NULL THEN e'\\x07a3*``\u003e_':::STRING ELSE NULL END) VIRTUAL, col14_33 STRING NOT NULL AS (lower(CAST(col14_17 AS STRING))) STORED, INDEX (col14_31 ASC, col14_26 DESC, col14_18, col14_28) STORING (col14_15, col14_16, col14_22, col14_27, col14_33), INVERTED INDEX (col14_23 DESC), FAMILY (col14_21, col14_22, col14_23), FAMILY (col14_16, col14_33), FAMILY (col14_25), FAMILY (col14_15), FAMILY (col14_30, col14_28), FAMILY (col14_18, col14_20, col14_24), FAMILY (col14_19, col14_27, col14_17))",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:07:28.64266",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE schema2.table14 ALTER COLUMN \"col14_21\" DROP DEFAULT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: \"\\n\\t\\tSELECT json_array_length(\\n        crdb_internal.pb_to_json(\\n            'cockroach.sql.sqlbase.Descriptor',\\n            descriptor\\n        )-\u003e'table'-\u003e'mutations'\\n       )\\n       \u003e 0\\n\\t\\tFROM system.descriptor\\n\\t  WHERE id = $1::REGCLASS\\n\\t\\t\" [\"schema2.table14\"]: can't scan into dest[0]: cannot assign NULL to *bool"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 14411b999aae710ca0f4a6376d58e302b197281b:

          |  "clientTimestamp": "06:35:14.197497",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange SURVIVE ZONE FAILURE",
          |   "DROP INDEX schema33.table34@\"IrrelevantIndexName\""
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"schema33.table34\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:35:14.219985",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SCHEMA \"public\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot drop schema \"public\" (SQLSTATE 3F000)"
          | }
          | _elapsed___errors__ops/sec(inst)___ops/sec(cum)__p50(ms)__p95(ms)__p99(ms)_pMax(ms)
          |     1.0s        0           17.1           18.0      2.5     14.7     15.2     15.2 opOk
          |     1.0s        0            5.7            6.0     19.9    352.3    352.3    352.3 txnOk
          |     1.0s        0            9.5           10.0      0.5      4.5      4.5      4.5 txnRbk
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:35:14.227917",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE public.table35 AS SELECT public.table9.col9_27, public.table9.col9_16, public.table9.col9_11, public.table9.col9_29, public.table9.col9_17, public.table9.col9_25, public.table9.col9_24, public.table9.col9_22, public.table9.col9_24, public.table9.col9_10, public.table9.col9_15, public.table9.col9_25, public.table9.col9_27, public.table9.col9_28, public.table9.crdb_internal_idx_expr_1, public.table9.col9_12, public.table9.crdb_internal_idx_expr, public.table9.col9_18, public.table9.col9_29, public.table9.col9_17, public.table9.col9_19, public.table9.col9_23, public.table9.col9_13, public.table9.col9_21, public.table9.col9_14, public.table9.col9_20, public.table9.col9_21, public.table9.col9_25 FROM public.table9, public.table9, public.table9"
          |  ],
          |  "expectedExecErrors": "42701,42712",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: source name \"table9\" specified more than once (missing AS clause) (SQLSTATE 42712)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:35:14.329881",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table9 ALTER COLUMN \"col9_14\" SET NOT NULL",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED COMMIT ERROR; Received an unexpected commit error: ERROR: transaction committed but schema change aborted with error: (42703): validation of NOT NULL constraint failed: validate check constraint: column \"crdb_internal_idx_expr\" does not exist (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 14411b999aae710ca0f4a6376d58e302b197281b:

          |  "workerId": 0,
          |  "clientTimestamp": "07:19:14.276235",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER SEQUENCE public.seq11 RENAME TO public.seq13",
          |   "ALTER TABLE public.table12 RENAME COLUMN \"col2_3\" TO \"col12_14\"",
          |   "CREATE TABLE IF NOT EXISTS public.table15 (col15_16 VARCHAR NOT NULL, col15_17 BYTES NOT NULL, col15_18 INTERVAL, col15_19 GEOMETRY NOT NULL, col15_20 TIMESTAMPTZ NOT NULL, col15_21 DECIMAL NOT NULL, UNIQUE (col15_20 DESC, col15_18, col15_16 ASC, col15_17), INVERTED INDEX (col15_21, col15_19), INVERTED INDEX (col15_19 ASC), UNIQUE (col15_18 ASC, col15_20, (CASE WHEN col15_20 IS NULL THEN e'5\\r3\\x02':::STRING ELSE e'v\\x1d*\\x0f':::STRING END), col15_17 DESC, col15_21 ASC, col15_16), INVERTED INDEX (col15_18 DESC, col15_19 DESC), FAMILY (col15_20), FAMILY (col15_19), FAMILY (col15_21), FAMILY (col15_16), FAMILY (col15_17, col15_18))",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:19:14.474638",
          |  "ops": [
          |   "BEGIN",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "DROP SCHEMA \"public\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot drop schema \"public\" (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:19:14.495615",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table12 ALTER COLUMN \"col12_22\" DROP DEFAULT"
          |  ],
          |  "expectedExecErrors": "42703",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: column \"col12_22\" does not exist (SQLSTATE 42703)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:19:14.542901",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SCHEMA schema23 AUTHORIZATION root",
          |   "CREATE INDEX IF NOT EXISTS index15_24 ON public.table15 (col15_21 DESC, col15_19, crdb_internal_idx_expr DESC, col15_18 ASC) STORING (col15_17)"
          |  ],
          |  "expectedExecErrors": "0A000",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: column \"crdb_internal_idx_expr\" is inaccessible and cannot be referenced (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ d3fc366bcba04ab19f4cb59844212e908e2a9aa8:

          |   "DROP SCHEMA \"public\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot drop schema \"public\" (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:43:05.392035",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SEQUENCE IF NOT EXISTS public.seq10",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "ALTER DATABASE schemachange SURVIVE REGION FAILURE"
          |  ],
          |  "expectedExecErrors": "22023",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: at least 3 regions are required for surviving a region failure (SQLSTATE 22023)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:43:05.449006",
          |  "ops": [
          |   "BEGIN",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "CREATE TABLE IF NOT EXISTS public.table11 (col11_12 STRING NULL, col11_13 INET, col11_14 TIME, col11_15 INET NOT NULL, col11_16 GEOGRAPHY NULL, col11_17 CHAR NULL, col11_18 TIMETZ NULL, col11_19 TIMESTAMP NULL, col11_20 STRING NULL AS (lower(col11_17)) STORED, col11_21 STRING NULL AS (lower(col11_17)) VIRTUAL, col11_22 STRING NULL AS (lower(CAST(col11_16 AS STRING))) VIRTUAL, col11_23 STRING NULL AS (lower(col11_17)) VIRTUAL, col11_24 STRING NULL AS (lower(CAST(col11_18 AS STRING))) STORED, INDEX (lower(CAST(col11_16 AS STRING)), col11_12, col11_24 ASC, col11_13 DESC, col11_17 DESC, col11_19 DESC, col11_14), INDEX (col11_14, col11_17 ASC, lower(CAST(col11_13 AS STRING)) ASC, col11_22, col11_24, col11_19) STORING (col11_12, col11_13, col11_16, col11_18), UNIQUE (col11_21 ASC, lower(CAST(col11_18 AS STRING)) DESC, col11_14, col11_13, col11_15 ASC, col11_22 ASC, col11_20 DESC) STORING (col11_12, col11_16, col11_18), UNIQUE (col11_20 ASC, col11_21, col11_19 ASC, col11_15 ASC) STORING (col11_13, col11_16, col11_18, col11_24), INDEX (col11_13 DESC, col11_20, col11_22 ASC, col11_12, col11_23, col11_24 DESC, col11_15 DESC, col11_18 DESC), UNIQUE (col11_22, col11_13, col11_24) STORING (col11_14, col11_15, col11_16, col11_19, col11_20), INDEX (col11_20 DESC, col11_24), INVERTED INDEX (lower(col11_17) ASC, col11_22 ASC, col11_13 DESC, col11_20 ASC, col11_12 DESC, col11_14 ASC, col11_16), FAMILY (col11_17, col11_18), FAMILY (col11_12, col11_13, col11_24, col11_15, col11_20, col11_16, col11_14, col11_19))",
          |   "CREATE SCHEMA schema25 AUTHORIZATION root",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:43:05.512781",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE public.table26 AS SELECT public.table11.col11_12, public.table11.col11_14, public.table11.col11_19, public.table11.col11_23, public.table11.col11_18, public.table11.crdb_internal_idx_expr_1, public.table11.col11_20, public.table11.crdb_internal_idx_expr, public.table11.col11_17, public.table11.col11_24 FROM public.table11",
          |   "ALTER TABLE public.table11 ALTER COLUMN \"col11_15\" SET NOT NULL",
          |   "ALTER TABLE public.table26 RENAME TO public.table27",
          |   "CREATE TYPE public.enum28 AS ENUM ('dda', 'ssssaf', 'sds', 'daaa')",
          |   "ALTER TABLE public.table11 ALTER COLUMN \"crdb_internal_idx_expr_2\" DROP STORED"
          |  ],
          |  "expectedExecErrors": "42611",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: column \"crdb_internal_idx_expr_2\" is not a stored computed column (SQLSTATE 42611)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ d3fc366bcba04ab19f4cb59844212e908e2a9aa8:

The test failed on branch=release-21.2, cloud=gce:
test artifacts and logs in: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/scbench/randomload/nodes=3/ops=2000/conc=1/run_1
    schemachange_random_load.go:159,schemachange_random_load.go:92,test_runner.go:777: output in run_072712.202570870_n1_workload_run_schemachange: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-3446067-1631686883-21-n3cpu4:1 -- ./workload run schemachange --verbose=1 --tolerate-errors=false  --histograms=perf/stats.json --max-ops 2000 --concurrency 1 --txn-log /mnt/data1/cockroach/transactions.json returned: exit status 20
        (1) attached stack trace
          -- stack trace:
          | main.(*clusterImpl).RunE
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cluster.go:1983
          | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runSchemaChangeRandomLoad
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/schemachange_random_load.go:156
          | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerRandomLoadBenchSpec.func1
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/schemachange_random_load.go:92
          | main.(*testRunner).runTest.func2
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/test_runner.go:777
          | runtime.goexit
          |     /usr/local/go/src/runtime/asm_amd64.s:1371
        Wraps: (2) output in run_072712.202570870_n1_workload_run_schemachange
        Wraps: (3) /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-3446067-1631686883-21-n3cpu4:1 -- ./workload run schemachange --verbose=1 --tolerate-errors=false  --histograms=perf/stats.json --max-ops 2000 --concurrency 1 --txn-log /mnt/data1/cockroach/transactions.json returned
          | stderr:
          | I210915 07:27:13.134280 1 workload/cli/run.go:408  [-] 1  creating load generator...
          | I210915 07:27:13.210563 1 workload/cli/run.go:439  [-] 2  creating load generator... done (took 76.28137ms)
          | I210915 07:27:13.280266 39 workload/pgx_helpers.go:61  [-] 3  pgx logger [error]: Exec logParams=map[args:[] err:ERROR: region "us-east1" already added to database (SQLSTATE 42710) sql:ALTER DATABASE schemachange ADD REGION "us-east1"]
          | Error: ***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: region "us-east1" already added to database (SQLSTATE 42710)
          | Error: COMMAND_PROBLEM: exit status 1
          | (1) COMMAND_PROBLEM
          | Wraps: (2) Node 1. Command with error:
          |   | ``````
          |   | ./workload run schemachange --verbose=1 --tolerate-errors=false  --histograms=perf/stats.json --max-ops 2000 --concurrency 1 --txn-log /mnt/data1/cockroach/transactions.json
          |   | ``````
          | Wraps: (3) exit status 1
          | Error types: (1) errors.Cmd (2) *hintdetail.withDetail (3) *exec.ExitError
          |
          | stdout:
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:27:13.211164",
          |  "ops": [
          |   "BEGIN",
          |   "DROP VIEW IF EXISTS public.view1 RESTRICT",
          |   "CREATE TYPE public.enum2 AS ENUM ('ffddsa', 'afsfdd', 'daad')",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east1\""
          |  ],
          |  "expectedExecErrors": "42P12",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: region \"us-east1\" already added to database (SQLSTATE 42710)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ ed81878bb4697c3a0a09e69b8a5053566297b142:

          |  "clientTimestamp": "06:38:11.921646",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east-2\""
          |  ],
          |  "expectedExecErrors": "42P12",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot add region \"us-east-2\" to database schemachange (SQLSTATE 42P12)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:38:11.928456",
          |  "ops": [
          |   "BEGIN",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "DROP SEQUENCE public.seq43",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east-2\"",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:38:12.001203",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table44 RENAME TO public.table63",
          |   "ALTER SEQUENCE public.seq39 RENAME TO public.seq64",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:38:12.072285",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SCHEMA IF NOT EXISTS schema65 AUTHORIZATION root",
          |   "CREATE INDEX index63_66 ON public.table63 (crdb_internal_idx_expr_2 DESC, col44_49, crdb_internal_idx_expr, col44_45 ASC, col44_58, col44_62, col44_54 ASC, col44_60, col44_53 ASC, col44_46) STORING (col44_56, col44_55, col44_52, col44_61, col44_50)"
          |  ],
          |  "expectedExecErrors": "42701,XXUUU",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: column \"crdb_internal_idx_expr_2\" is inaccessible and cannot be referenced (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ ed81878bb4697c3a0a09e69b8a5053566297b142:

          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:26:52.096636",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE schema9.table48 RENAME TO schema9.table56",
          |   "CREATE SEQUENCE IF NOT EXISTS public.seq57 OWNED BY schema9.table56.col48_54",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:26:52.261359",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange SURVIVE ZONE FAILURE",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:26:52.308668",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east1\""
          |  ],
          |  "expectedExecErrors": "42710",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: region \"us-east1\" already added to database (SQLSTATE 42710)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:26:52.331831",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE schema9.table56 ALTER COLUMN crdb_internal_idx_expr SET DEFAULT '':::STRING",
          |   "CREATE SCHEMA schema58 AUTHORIZATION root"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: \"\\n\\t\\tSELECT json_array_length(\\n        crdb_internal.pb_to_json(\\n            'cockroach.sql.sqlbase.Descriptor',\\n            descriptor\\n        )-\u003e'table'-\u003e'mutations'\\n       )\\n       \u003e 0\\n\\t\\tFROM system.descriptor\\n\\t  WHERE id = $1::REGCLASS\\n\\t\\t\" [\"schema9.table56\"]: can't scan into dest[0]: cannot assign NULL to *bool"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 0babf97f52ed9e44036851b2a9868e17eeee95ed:

          |  "workerId": 0,
          |  "clientTimestamp": "06:36:09.683906",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange SURVIVE REGION FAILURE"
          |  ],
          |  "expectedExecErrors": "22023,42602",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: database must have associated regions before a survival goal can be set (SQLSTATE 42602)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:09.725503",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east-2\""
          |  ],
          |  "expectedExecErrors": "42P12",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot add region \"us-east-2\" to database schemachange (SQLSTATE 42P12)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:09.73261",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SCHEMA schema1 AUTHORIZATION root",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:09.761764",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE IF NOT EXISTS public.table2 (col2_3 INT8 NOT NULL, col2_4 TIME NOT NULL, col2_5 FLOAT8 NULL, col2_6 BIT(14) NOT NULL, col2_7 CHAR NOT NULL, col2_8 INTERVAL NOT NULL, col2_9 INT2 NOT NULL, col2_10 NAME NOT NULL, col2_11 BYTES NULL, col2_12 CHAR NOT NULL, col2_13 BIT(27) NOT NULL, PRIMARY KEY (col2_9 DESC, col2_7, col2_4 ASC, col2_3 ASC, col2_8 ASC, col2_10, col2_12 ASC, col2_6 DESC), col2_14 STRING NOT NULL AS (lower(col2_7)) STORED, col2_15 STRING NOT NULL AS (lower(CAST(col2_8 AS STRING))) VIRTUAL, col2_16 STRING NOT NULL AS (lower(col2_10)) VIRTUAL, col2_17 INT8 NOT NULL AS (col2_3 + (-6628413761412966995):::INT8) VIRTUAL, col2_18 INT8 NOT NULL AS (col2_3 + col2_9) VIRTUAL, INDEX (col2_17 ASC, col2_10 ASC, col2_18, col2_15), UNIQUE (col2_3, col2_8 ASC, lower(CAST(col2_8 AS STRING)) DESC, col2_5, (col2_3 + (-405759256785971094):::INT8), col2_13, col2_10 DESC, col2_6, col2_18 ASC), UNIQUE (col2_9 ASC, lower(CAST(col2_8 AS STRING)) ASC, col2_13 DESC, col2_3 ASC, col2_16, col2_5 DESC, lower(CAST(col2_6 AS STRING))), INDEX (col2_4 ASC, col2_10 ASC, col2_13 ASC, col2_12, col2_11, col2_17 DESC, col2_5 ASC, col2_6 DESC, col2_8, (col2_5 + 0.3744118763125881:::FLOAT8) ASC), UNIQUE (col2_14, col2_12, col2_10 ASC, col2_13, col2_6 DESC, col2_3 DESC, col2_16 ASC, col2_8 DESC, col2_11 ASC, col2_15 DESC, col2_17, col2_9 ASC, col2_7 ASC, lower(CAST(col2_6 AS STRING)) DESC, col2_18 ASC, col2_4 DESC), UNIQUE (col2_4, col2_16 ASC, col2_18 DESC, col2_12, col2_13 ASC, col2_3, col2_7 ASC, col2_11 ASC, lower(col2_10) ASC) STORING (col2_14), UNIQUE (lower(col2_7) ASC), FAMILY (col2_13, col2_5), FAMILY (col2_7, col2_6, col2_8, col2_9, col2_3), FAMILY (col2_10, col2_12), FAMILY (col2_14, col2_11), FAMILY (col2_4))",
          |   "CREATE TYPE public.enum19 AS ENUM ('fa', 'fadsf', 'safd', 'dadd')",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east-2\"",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED COMMIT ERROR; Received an unexpected commit error: ERROR: relation \"table2\" (54): invalid locality config: database schemachange is multi-region enabled, but table table2 has no locality set (SQLSTATE 42P16)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 0babf97f52ed9e44036851b2a9868e17eeee95ed:

          |  "clientTimestamp": "07:21:06.856235",
          |  "ops": [
          |   "BEGIN",
          |   "DROP TABLE schema20.table37 CASCADE",
          |   "ALTER DATABASE schemachange SURVIVE ZONE FAILURE",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east1\""
          |  ],
          |  "expectedExecErrors": "42710",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: region \"us-east1\" already added to database (SQLSTATE 42710)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:21:06.96029",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE schema20.table37 ALTER COLUMN \"crdb_internal_idx_expr\" DROP NOT NULL",
          |   "ALTER TABLE schema20.table37 ALTER COLUMN \"col37_42\" DROP STORED",
          |   "CREATE SEQUENCE IF NOT EXISTS schema45.seq46"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot create \"schema45.seq46\" because the target database or schema does not exist (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:21:07.108728",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SEQUENCE IF EXISTS schema20.seq33",
          |   "CREATE VIEW schema20.view49 AS SELECT schema20.table37.col37_38, schema20.table37.crdb_internal_idx_expr_1, schema20.table37.col37_42, schema20.table37.col37_41, schema20.table37.col37_39, \"IrrelevantColumnName\", schema20.table37.col37_42, schema20.table37.col37_39, schema20.table37.col37_38, schema20.table37.col37_40, schema20.table37.crdb_internal_idx_expr_1, schema20.table37.col37_41 FROM schema20.table37, schema47.table48, schema20.table37"
          |  ],
          |  "expectedExecErrors": "42701,42712,42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"schema47.table48\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:21:07.254731",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER SEQUENCE schema20.seq33 RENAME TO schema20.seq50",
          |   "CREATE INDEX index37_51 ON schema20.table37 (col37_41 DESC, crdb_internal_idx_expr ASC, col37_40 DESC, crdb_internal_idx_expr_1, col37_38 ASC, col37_42)"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: column \"crdb_internal_idx_expr\" is inaccessible and cannot be referenced (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ a29fd0ad538d51050d82e92583a8206983622f6b:

          |   "BEGIN",
          |   "CREATE TYPE public.enum27 AS ENUM ('adadad', 'sd', 'aaad')"
          |  ],
          |  "expectedExecErrors": "42710",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: type \"schemachange.public.enum27\" already exists (SQLSTATE 42710)"
          | }
          | _elapsed___errors__ops/sec(inst)___ops/sec(cum)__p50(ms)__p95(ms)__p99(ms)_pMax(ms)
          |     1.0s        0           24.6           26.0      3.1      8.4     10.5     10.5 opOk
          |     1.0s        0            7.6            8.0     39.8     75.5     75.5     75.5 txnOk
          |     1.0s        0           16.1           17.0      0.7      2.0      5.0      5.0 txnRbk
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:38:41.190733",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east-2\"",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "ALTER DATABASE schemachange SURVIVE REGION FAILURE"
          |  ],
          |  "expectedExecErrors": "22023",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: at least 3 regions are required for surviving a region failure (SQLSTATE 22023)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:38:41.255",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SEQUENCE IF NOT EXISTS public.seq51",
          |   "CREATE TABLE schema50.table52 (col52_53 JSONB NOT NULL, col52_54 REGPROC NULL, col52_55 \"char\", col52_56 INTERVAL NULL, col52_57 REGROLE, col52_58 OID NULL, col52_59 FLOAT8 NOT NULL, col52_60 VARCHAR NULL, col52_61 FLOAT8 NOT NULL AS (col52_59 + (-0.0404463099505141):::FLOAT8) VIRTUAL, col52_62 STRING NOT NULL AS (lower(CAST(col52_53 AS STRING))) STORED, col52_63 FLOAT8 NOT NULL AS (col52_59 + 1.660150075973844:::FLOAT8) STORED, col52_64 STRING NULL AS (lower(CAST(col52_56 AS STRING))) STORED, col52_65 STRING AS (lower(col52_55)) STORED, col52_66 STRING AS (lower(col52_55)) VIRTUAL, col52_67 STRING AS (lower(col52_55)) VIRTUAL, INDEX (col52_59 DESC, col52_65 DESC, col52_63 ASC, col52_58 DESC), INDEX (col52_55 DESC, col52_67 ASC, col52_62, lower(CAST(col52_57 AS STRING)) ASC, col52_57, col52_63, col52_59 DESC, col52_56 DESC, col52_54 ASC, col52_61, col52_60 DESC), UNIQUE (col52_62 DESC, col52_55 ASC, col52_59, col52_64 DESC, col52_60 DESC) STORING (col52_63), UNIQUE (lower(CAST(col52_57 AS STRING)), col52_63 ASC, col52_61 DESC, col52_64 DESC, col52_66, col52_57 ASC, col52_65 DESC, col52_55 ASC, col52_67, col52_62 ASC, col52_58 ASC) STORING (col52_53, col52_59, col52_60), UNIQUE (col52_56 DESC, col52_58, col52_59 DESC, col52_60, col52_64, col52_63 ASC, lower(CAST(col52_58 AS STRING)) ASC, col52_54, col52_61 ASC))",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:38:41.285307",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE INDEX IF NOT EXISTS index52_68 ON schema50.table52 (col52_60 DESC, col52_64, col52_62 ASC, col52_55 DESC, col52_54, col52_56 DESC, col52_67, col52_66, col52_65 DESC, col52_57, col52_63 ASC, crdb_internal_idx_expr_2, col52_61) STORING (crdb_internal_idx_expr)"
          |  ],
          |  "expectedExecErrors": "XXUUU",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: column \"crdb_internal_idx_expr_2\" is inaccessible and cannot be referenced (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ a29fd0ad538d51050d82e92583a8206983622f6b:

          |   "DROP TABLE IF EXISTS schema31.table38 CASCADE",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:22:35.532783",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table59 ALTER COLUMN \"IrrelevantColumnName\" DROP DEFAULT"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"public.table59\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:22:35.570294",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SCHEMA schema60 AUTHORIZATION root",
          |   "DROP SCHEMA \"schema31\" CASCADE",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "CREATE SEQUENCE IF NOT EXISTS public.seq61",
          |   "CREATE TABLE schema60.table62 (col62_63 INT2 NOT NULL, col62_64 INTERVAL, col62_65 BIT(33) NOT NULL, col62_66 INT4 NOT NULL, col62_67 INT2 NOT NULL, col62_68 FLOAT4 NOT NULL, col62_69 BOX2D NOT NULL, col62_70 INET, col62_71 REGPROCEDURE NULL, col62_72 REGROLE, PRIMARY KEY (col62_63 DESC, col62_69, col62_68 DESC))",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:22:35.934437",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TYPE schema50.enum73 AS ENUM ('df', 'fafff', 'ss', 'dsd', 'faadf', 'da')",
          |   "ALTER SEQUENCE public.seq61 RENAME TO public.seq61"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: \"\\n\\t\\tSELECT json_array_length(\\n        crdb_internal.pb_to_json(\\n            'cockroach.sql.sqlbase.Descriptor',\\n            descriptor\\n        )-\u003e'table'-\u003e'mutations'\\n       )\\n       \u003e 0\\n\\t\\tFROM system.descriptor\\n\\t  WHERE id = $1::REGCLASS\\n\\t\\t\" [\"schema60.table62\"]: can't scan into dest[0]: cannot assign NULL to *bool"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 5202c97fcfe7e51e244335c3cd68bd33647860ff:

          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:07.05874",
          |  "ops": [
          |   "BEGIN",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "ALTER DATABASE schemachange SURVIVE REGION FAILURE"
          |  ],
          |  "expectedExecErrors": "22023",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: at least 3 regions are required for surviving a region failure (SQLSTATE 22023)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:07.078297",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE schema55.table84 ALTER COLUMN \"col63_76\" DROP DEFAULT",
          |   "DROP SCHEMA \"schema55\" CASCADE",
          |   "ALTER TABLE public.table63 ADD COLUMN col63_98 public.enum99"
          |  ],
          |  "expectedExecErrors": "42704",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: type \"public.enum99\" does not exist (SQLSTATE 42704)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:07.211559",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE VIEW public.view100 AS SELECT schema55.table84.col63_82, schema55.table84.col63_66, schema55.table84.crdb_internal_idx_expr, schema55.table84.col63_69, schema55.table84.col63_72, schema55.table84.col63_67, schema55.table84.col63_70, schema55.table84.col63_65, schema55.table84.col63_80, schema55.table84.col63_81, public.table63.col63_69, public.table63.col63_78, public.table63.col63_81, public.table63.col63_65, public.table63.crdb_internal_idx_expr, public.table63.col63_77, public.table63.col63_80, public.table63.col63_67, public.table63.col63_72, public.table63.col63_68, public.table63.col63_74, public.table63.col63_77, public.table63.col63_67, public.table63.col63_69, public.table63.col63_80, public.table63.col63_71, public.table63.col63_73, public.table63.col63_65, public.table63.col63_81, public.table63.col63_72, public.table63.col63_78, public.table63.col63_70, public.table63.col63_66, public.table63.col63_82, public.table63.crdb_internal_idx_expr, public.table63.col63_76 FROM schema55.table84, public.table63, public.table63"
          |  ],
          |  "expectedExecErrors": "42701,42712",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: source name \"table63\" specified more than once (missing AS clause) (SQLSTATE 42712)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:07.335341",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TYPE public.enum101 AS ENUM ('fa', 'asssd', 'ss', 'ssfdfs')"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: \"\\n\\t\\tSELECT json_array_length(\\n        crdb_internal.pb_to_json(\\n            'cockroach.sql.sqlbase.Descriptor',\\n            descriptor\\n        )-\u003e'table'-\u003e'mutations'\\n       )\\n       \u003e 0\\n\\t\\tFROM system.descriptor\\n\\t  WHERE id = $1::REGCLASS\\n\\t\\t\" [\"schema55.table84\"]: can't scan into dest[0]: cannot assign NULL to *bool"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 5202c97fcfe7e51e244335c3cd68bd33647860ff:

          |  "workerId": 0,
          |  "clientTimestamp": "07:20:27.595935",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange SURVIVE ZONE FAILURE",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east1\""
          |  ],
          |  "expectedExecErrors": "42710",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: region \"us-east1\" already added to database (SQLSTATE 42710)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:20:27.636794",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:20:27.67527",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SCHEMA \"schema1\" CASCADE",
          |   "CREATE SCHEMA IF NOT EXISTS schema44 AUTHORIZATION root",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:20:27.89039",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE IF NOT EXISTS public.table45 (col45_46 BOOL NOT NULL, col45_47 TIMETZ NULL, col45_48 TIMESTAMPTZ, col45_49 TIME NOT NULL, col45_50 REGPROCEDURE NOT NULL, col45_51 BYTES, PRIMARY KEY (col45_49 ASC), col45_52 STRING NOT NULL AS (lower(CAST(col45_46 AS STRING))) STORED, col45_53 STRING NOT NULL AS (lower(CAST(col45_46 AS STRING))) VIRTUAL, INDEX (col45_50, col45_49 DESC, col45_46 DESC, col45_51, col45_52 DESC, col45_53, col45_48), UNIQUE (col45_49 DESC, col45_53 ASC, col45_51 ASC), FAMILY (col45_52), FAMILY (col45_48, col45_47, col45_49), FAMILY (col45_51), FAMILY (col45_50), FAMILY (col45_46))",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ db7de996a04d0b7e7959decd06c2cd40d80e501f:

          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:42:54.988601",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE public.table19 AS SELECT public.table1.col1_10, public.table1.col1_8, public.table1.col1_6, public.table1.col1_13, public.table1.col1_10, public.table1.col1_5, public.table1.col1_7, public.table1.col1_12, public.table1.col1_4, public.table1.col1_14, public.table1.col1_13, public.table1.crdb_internal_idx_expr, public.table1.col1_6, public.table1.col1_7, public.table1.col1_3, public.table1.col1_8, public.table1.col1_6, public.table1.col1_9 FROM public.table1, public.table1, public.table1"
          |  ],
          |  "expectedExecErrors": "42701,42712",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: source name \"table1\" specified more than once (missing AS clause) (SQLSTATE 42712)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:42:55.088927",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east-2\""
          |  ],
          |  "expectedExecErrors": "42710",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: region \"us-east-2\" already added to database (SQLSTATE 42710)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:42:55.10574",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table1 ALTER COLUMN \"col1_12\" SET NOT NULL",
          |   "ALTER TABLE public.table1 RENAME TO public.table20"
          |  ],
          |  "expectedExecErrors": "2BP01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot rename relation \"public.table1\" because view \"view18\" depends on it (SQLSTATE 2BP01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:42:55.193748",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE INDEX index1_21 ON public.table1 (crdb_internal_idx_expr DESC, col1_2, col1_10, col1_7 ASC, col1_12 DESC, col1_15 ASC, col1_9 ASC, col1_11 DESC, col1_6, col1_14, col1_4 DESC, col1_8) STORING (col1_5)"
          |  ],
          |  "expectedExecErrors": "0A000",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: column \"crdb_internal_idx_expr\" is inaccessible and cannot be referenced (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ db7de996a04d0b7e7959decd06c2cd40d80e501f:

          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:21:04.561445",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TYPE public.enum9 AS ENUM ('adfdd', 'adfdf', 'daad')",
          |   "DROP SCHEMA \"public\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot drop schema \"public\" (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:21:04.586915",
          |  "ops": [
          |   "BEGIN",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:21:04.607291",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east1\""
          |  ],
          |  "expectedExecErrors": "42P12",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot add region \"us-east1\" to database schemachange (SQLSTATE 42P12)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:21:04.647685",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SEQUENCE IF NOT EXISTS public.seq10",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "ALTER DATABASE schemachange SURVIVE ZONE FAILURE"
          |  ],
          |  "expectedExecErrors": "42602",
          |  "expectedCommitErrors": "",
          |  "message": "***FAIL; Failed to receive an execution error when errors were expected"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 184cac1592349a665c39a54e688de072388e7886:

          |  "clientTimestamp": "06:52:17.967061",
          |  "ops": [
          |   "BEGIN",
          |   "DROP VIEW IF EXISTS schema2.view5 CASCADE",
          |   "ALTER SEQUENCE schema2.seq3 RENAME TO schema2.seq6",
          |   "ALTER TABLE schema2.table7 ALTER COLUMN IrrelevantColumnName SET DEFAULT \"IrrelevantValue\""
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"schema2.table7\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:52:18.024756",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE schema2.table8 (col8_9 OID NOT NULL, col8_10 JSONB NULL, col8_11 \"char\" NOT NULL, col8_12 \"char\"[], col8_13 VARCHAR, col8_14 CHAR, col8_15 STRING NULL, col8_16 TIMESTAMPTZ NOT NULL, col8_17 REGCLASS, col8_18 VARCHAR NOT NULL, col8_19 OID NULL, col8_20 TIMESTAMP NOT NULL, col8_21 CHAR NOT NULL, col8_22 INT2, col8_23 STRING NOT NULL AS (lower(col8_11)) VIRTUAL, col8_24 STRING NOT NULL AS (lower(col8_18)) STORED, col8_25 STRING AS (lower(CAST(col8_17 AS STRING))) STORED, col8_26 STRING AS (lower(CAST(col8_17 AS STRING))) VIRTUAL)",
          |   "ALTER TABLE schema2.table8 ALTER COLUMN \"col8_9\" SET NOT NULL",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:52:18.124995",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE schema2.table8 ALTER COLUMN \"col8_13\" DROP NOT NULL",
          |   "ALTER TABLE schema2.table8 ALTER COLUMN \"col8_19\" DROP DEFAULT",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:52:18.273674",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE schema2.table8 RENAME COLUMN \"col8_15\" TO \"col8_27\""
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: \"\\n\\t\\tSELECT json_array_length(\\n        crdb_internal.pb_to_json(\\n            'cockroach.sql.sqlbase.Descriptor',\\n            descriptor\\n        )-\u003e'table'-\u003e'mutations'\\n       )\\n       \u003e 0\\n\\t\\tFROM system.descriptor\\n\\t  WHERE id = $1::REGCLASS\\n\\t\\t\" [\"schema2.table8\"]: can't scan into dest[0]: cannot assign NULL to *bool"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 184cac1592349a665c39a54e688de072388e7886:

          |  "workerId": 0,
          |  "clientTimestamp": "11:30:40.61563",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table3 ALTER COLUMN \"col3_4\" DROP NOT NULL",
          |   "ALTER TABLE public.table3 DROP CONSTRAINT \"table3_expr_col3_5_col3_4_expr1_key\""
          |  ],
          |  "expectedExecErrors": "0A000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: unimplemented: cannot drop UNIQUE constraint \"table3_expr_col3_5_col3_4_expr1_key\" using ALTER TABLE DROP CONSTRAINT, use DROP INDEX CASCADE instead (SQLSTATE 0A000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:30:40.754271",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table3 SET LOCALITY REGIONAL BY ROW"
          |  ],
          |  "expectedExecErrors": "42P16",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot alter a table's LOCALITY if its database is not multi-region enabled (SQLSTATE 42P16)"
          | }
          | _elapsed___errors__ops/sec(inst)___ops/sec(cum)__p50(ms)__p95(ms)__p99(ms)_pMax(ms)
          |     1.0s        0            8.4            9.0      4.5      6.3      6.3      6.3 opOk
          |     1.0s        0            2.8            3.0    201.3    385.9    385.9    385.9 txnOk
          |     1.0s        0            2.8            3.0      1.1      1.4      1.4      1.4 txnRbk
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:30:40.780832",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE VIEW public.view11 AS SELECT public.table3.col3_5, public.table3.col3_6, public.table3.col3_4, public.table3.col3_7, public.table3.crdb_internal_idx_expr_1, public.table3.col3_4, public.table3.col3_6, public.table3.col3_8, public.table3.crdb_internal_idx_expr, public.table3.col3_10, public.table3.col3_7, public.table3.crdb_internal_idx_expr_1, public.table3.col3_8, public.table3.col3_6, public.table3.col3_5, public.table3.col3_7, public.table3.crdb_internal_idx_expr, public.table3.col3_4 FROM public.table3, public.table3, public.table3"
          |  ],
          |  "expectedExecErrors": "42701,42712",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: source name \"table3\" specified more than once (missing AS clause) (SQLSTATE 42712)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:30:40.933867",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table3 RENAME COLUMN \"crdb_internal_idx_expr_1\" TO \"col3_12\""
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: column \"crdb_internal_idx_expr_1\" is inaccessible and cannot be renamed (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ c46f5a5a098577b936e56f03d20c97300b4cce61:

          |  "clientTimestamp": "06:37:44.821191",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange SURVIVE REGION FAILURE"
          |  ],
          |  "expectedExecErrors": "22023,42602",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: database must have associated regions before a survival goal can be set (SQLSTATE 42602)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:37:44.857501",
          |  "ops": [
          |   "BEGIN",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east-2\"",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR DURING ROLLBACK;: conn closed"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError

    cluster.go:1249,context.go:89,cluster.go:1237,test_runner.go:866: dead node detection: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod monitor teamcity-3490952-1632464337-02-n3cpu4 --oneshot --ignore-empty-nodes: exit status 1 1: dead (exit status 134)
        2: 9078
        3: 9132
        Error: UNCLASSIFIED_PROBLEM: 1: dead (exit status 134)
        (1) UNCLASSIFIED_PROBLEM
        Wraps: (2) attached stack trace
          -- stack trace:
          | main.glob..func14
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachprod/main.go:1173
          | main.wrap.func1
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachprod/main.go:281
          | github.com/spf13/cobra.(*Command).execute
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/vendor/github.com/spf13/cobra/command.go:856
          | github.com/spf13/cobra.(*Command).ExecuteC
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/vendor/github.com/spf13/cobra/command.go:960
          | github.com/spf13/cobra.(*Command).Execute
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/vendor/github.com/spf13/cobra/command.go:897
          | main.main
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachprod/main.go:2107
          | runtime.main
          |     /usr/local/go/src/runtime/proc.go:225
          | runtime.goexit
          |     /usr/local/go/src/runtime/asm_amd64.s:1371
        Wraps: (3) 1: dead (exit status 134)
        Error types: (1) errors.Unclassified (2) *withstack.withStack (3) *errutil.leafError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ c46f5a5a098577b936e56f03d20c97300b4cce61:

          |   "BEGIN",
          |   "ALTER TABLE public.table26 ALTER COLUMN \"col26_36\" DROP NOT NULL"
          |  ],
          |  "expectedExecErrors": "42703",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: column \"col26_36\" does not exist (SQLSTATE 42703)"
          | }
          |     2.0s        0           11.0           14.5      2.6      5.8     25.2     25.2 opOk
          |     2.0s        0            4.0            3.5    176.2    302.0    302.0    302.0 txnOk
          |     2.0s        0            6.0            8.0      1.0      1.6      1.6      1.6 txnRbk
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:17:17.507776",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SCHEMA IF NOT EXISTS schema37 AUTHORIZATION root",
          |   "ALTER TABLE public.table26 ALTER COLUMN \"col18_25\" DROP DEFAULT",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:17:17.630126",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE INDEX IF NOT EXISTS index26_38 ON public.table26 (col18_24 DESC) STORING (col18_25, col26_28)"
          |  ],
          |  "expectedExecErrors": "42701",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: index \"index26_38\" already contains column \"col26_28\" (SQLSTATE 42701)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:17:17.723757",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SEQUENCE public.seq27",
          |   "CREATE TYPE public.enum39 AS ENUM ('sad', 's', 'daad', 'f')",
          |   "ALTER TABLE public.table26 DROP CONSTRAINT \"primary\"",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "0A000",
          |  "message": "COMMIT; Successfully got expected commit error"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 24021ba163e4ac438b169d575cf1527a4aae394d:

          | Error: COMMAND_PROBLEM: exit status 1
          | (1) COMMAND_PROBLEM
          | Wraps: (2) Node 1. Command with error:
          |   | ``````
          |   | ./workload run schemachange --verbose=1 --tolerate-errors=false  --histograms=perf/stats.json --max-ops 2000 --concurrency 1 --txn-log /mnt/data1/cockroach/transactions.json
          |   | ``````
          | Wraps: (3) exit status 1
          | Error types: (1) errors.Cmd (2) *hintdetail.withDetail (3) *exec.ExitError
          |
          | stdout:
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:08:40.664546",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table1 SET LOCALITY REGIONAL BY ROW"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"public.table1\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:08:40.67799",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east-2\""
          |  ],
          |  "expectedExecErrors": "42P12",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot add region \"us-east-2\" to database schemachange (SQLSTATE 42P12)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:08:40.725865",
          |  "ops": [
          |   "BEGIN",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "CREATE SEQUENCE IF NOT EXISTS public.seq2",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east-2\"",
          |   "CREATE SCHEMA schema3 AUTHORIZATION root",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED COMMIT ERROR; Received an unexpected commit error: ERROR: relation \"seq2\" (53): invalid locality config: database schemachange is multi-region enabled, but table seq2 has no locality set (SQLSTATE 42P16)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 24021ba163e4ac438b169d575cf1527a4aae394d:

          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot add region \"us-east1\" to database schemachange (SQLSTATE 42P12)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:52:26.460728",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SCHEMA schema24 AUTHORIZATION root",
          |   "ALTER DATABASE schemachange SURVIVE REGION FAILURE"
          |  ],
          |  "expectedExecErrors": "22023,42602",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: database must have associated regions before a survival goal can be set (SQLSTATE 42602)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:52:26.487923",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE schema25.table26 RENAME TO schema25.table27"
          |  ],
          |  "expectedExecErrors": "3F000,42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"schema25.table26\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:52:26.499141",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TYPE public.enum28 AS ENUM ('dfd')",
          |   "ALTER TABLE public.table18 SET LOCALITY REGIONAL BY ROW"
          |  ],
          |  "expectedExecErrors": "42P16",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot alter a table's LOCALITY if its database is not multi-region enabled (SQLSTATE 42P16)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:52:26.569816",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table18 RENAME COLUMN \"crdb_internal_idx_expr\" TO \"col18_29\""
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: column \"crdb_internal_idx_expr\" is inaccessible and cannot be renamed (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 947d24dc88c05bf698d8011e1b5cf3b2017f26a3:

          |  "workerId": 0,
          |  "clientTimestamp": "06:45:29.123221",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SCHEMA \"public\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot drop schema \"public\" (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:45:29.158942",
          |  "ops": [
          |   "BEGIN",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "CREATE TABLE IF NOT EXISTS public.table34 (col34_35 TIME NOT NULL, col34_36 INT8 NOT NULL, col34_37 REGTYPE, col34_38 CHAR NULL, col34_39 REGPROC NULL, col34_40 GEOMETRY[] NULL, col34_41 REGPROC NOT NULL, col34_42 INET NOT NULL, col34_43 FLOAT8 NOT NULL, col34_44 BIT(33), col34_45 STRING, col34_46 INTERVAL NULL, PRIMARY KEY (col34_35 DESC, col34_41 ASC, col34_43 ASC, col34_36 DESC), col34_47 STRING NOT NULL AS (lower(CAST(col34_41 AS STRING))) STORED, col34_48 STRING NULL AS (lower(CAST(col34_39 AS STRING))) VIRTUAL, INDEX (col34_35 ASC, col34_43, col34_42 DESC, col34_45, col34_41, col34_37 ASC), UNIQUE (col34_37 DESC, col34_47 DESC, col34_45 ASC, col34_44, col34_46 ASC, col34_36) STORING (col34_38, col34_42), INDEX (col34_38), INDEX (col34_48 DESC, col34_43 DESC, col34_37 DESC, col34_41), INDEX (lower(CAST(col34_39 AS STRING)), col34_35, col34_46 ASC, col34_37 DESC, col34_48 DESC, col34_38 DESC, col34_45 ASC, col34_39, col34_41) STORING (col34_40, col34_42, col34_44), INDEX (col34_45 DESC, col34_43 ASC, lower(CAST(col34_39 AS STRING))), FAMILY (col34_43, col34_38), FAMILY (col34_37), FAMILY (col34_40, col34_46, col34_41), FAMILY (col34_42), FAMILY (col34_47, col34_44), FAMILY (col34_45, col34_39, col34_36, col34_35))",
          |   "ALTER DATABASE schemachange SURVIVE ZONE FAILURE",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:45:29.216372",
          |  "ops": [
          |   "BEGIN",
          |   "DROP TABLE public.table34 CASCADE",
          |   "CREATE TYPE public.enum5 AS ENUM ('dfd')"
          |  ],
          |  "expectedExecErrors": "42710",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: type \"schemachange.public.enum5\" already exists (SQLSTATE 42710)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:45:29.261474",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table34 DROP CONSTRAINT \"primary\"",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "0A000",
          |  "message": "COMMIT; Successfully got expected commit error"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 947d24dc88c05bf698d8011e1b5cf3b2017f26a3:

          |  "workerId": 0,
          |  "clientTimestamp": "07:24:51.276595",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SCHEMA \"public\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot drop schema \"public\" (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:24:51.295303",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:24:51.331927",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange SURVIVE ZONE FAILURE",
          |   "ALTER SEQUENCE public.seq20 RENAME TO schema27.seq28"
          |  ],
          |  "expectedExecErrors": "42602",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot change schema of table with RENAME (SQLSTATE 42602)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:24:51.370563",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE IF NOT EXISTS public.table29 (col29_30 REGPROC NOT NULL, PRIMARY KEY (col29_30 ASC), UNIQUE (col29_30 DESC), INDEX (col29_30 ASC), INDEX (col29_30 DESC), INDEX (col29_30), UNIQUE (col29_30 DESC), INDEX (col29_30))",
          |   "ALTER SEQUENCE public.seq20 RENAME TO public.seq31",
          |   "CREATE TABLE IF NOT EXISTS schema27.table32 (col32_33 TIMESTAMPTZ[] NULL, col32_34 TIMETZ NOT NULL, col32_35 DECIMAL NOT NULL, col32_36 JSONB NULL, col32_37 NAME, col32_38 FLOAT8 NOT NULL, col32_39 OID NOT NULL, col32_40 FLOAT4 NOT NULL, col32_41 FLOAT4, col32_42 CHAR NOT NULL, PRIMARY KEY (col32_34 DESC), col32_43 FLOAT4 AS ((col32_40 + col32_41) + col32_38) STORED, col32_44 FLOAT4 NOT NULL AS (col32_40 + col32_38) STORED, col32_45 STRING NULL AS (lower(CAST(col32_36 AS STRING))) VIRTUAL, col32_46 STRING NULL AS (CASE WHEN col32_33 IS NULL THEN e'M@@*We\\x10':::STRING ELSE 'R``C``$+':::STRING END) VIRTUAL)",
          |   "ALTER TABLE public.table29 RENAME COLUMN \"col29_30\" TO \"col29_47\""
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: \"\\n\\t\\tSELECT json_array_length(\\n        crdb_internal.pb_to_json(\\n            'cockroach.sql.sqlbase.Descriptor',\\n            descriptor\\n        )-\u003e'table'-\u003e'mutations'\\n       )\\n       \u003e 0\\n\\t\\tFROM system.descriptor\\n\\t  WHERE id = $1::REGCLASS\\n\\t\\t\" [\"schema27.table32\"]: can't scan into dest[0]: cannot assign NULL to *bool"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 8d1d2b688ceedb0e5577d1da789da74d060c92ad:

          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot create \"schema40.table41\" because the target database or schema does not exist (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:33:20.20343",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER SEQUENCE schema19.seq42 RENAME TO schema19.seq43"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"schema19.seq42\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:33:20.210836",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SCHEMA \"public\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot drop schema \"public\" (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:33:20.218384",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SEQUENCE public.seq20",
          |   "ALTER TABLE schema19.table22 ALTER COLUMN \"crdb_internal_idx_expr\" DROP STORED"
          |  ],
          |  "expectedExecErrors": "42611",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: column \"crdb_internal_idx_expr\" is not a stored computed column (SQLSTATE 42611)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:33:20.286797",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE INDEX IF NOT EXISTS index22_44 ON schema19.table22 (crdb_internal_idx_expr_3 DESC, col22_33, col22_25 DESC, crdb_internal_idx_expr) STORING (col22_34, col22_38, col22_36, crdb_internal_idx_expr_1)"
          |  ],
          |  "expectedExecErrors": "42701,XXUUU",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: column \"crdb_internal_idx_expr_3\" is inaccessible and cannot be referenced (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 8d1d2b688ceedb0e5577d1da789da74d060c92ad:

          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:13:09.348362",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SCHEMA public AUTHORIZATION root"
          |  ],
          |  "expectedExecErrors": "42P06",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: schema \"public\" already exists (SQLSTATE 42P06)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:13:09.351789",
          |  "ops": [
          |   "BEGIN",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:13:09.35883",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE IF NOT EXISTS public.table3 (col3_4 BOX2D NOT NULL, col3_5 REGROLE NOT NULL, col3_6 INTERVAL NULL, col3_7 TIMETZ NOT NULL, col3_8 DATE NOT NULL, col3_9 VARCHAR NULL, col3_10 REGTYPE NOT NULL, col3_11 REGNAMESPACE NOT NULL, col3_12 INT2 NOT NULL, PRIMARY KEY (col3_4, col3_7 ASC, col3_8, col3_10 ASC, col3_12 DESC), col3_13 STRING NULL AS (lower(col3_9)) STORED, col3_14 STRING NOT NULL AS (lower(CAST(col3_8 AS STRING))) STORED, col3_15 STRING NOT NULL AS (lower(CAST(col3_11 AS STRING))) STORED, col3_16 STRING NULL AS (lower(CAST(col3_6 AS STRING))) STORED, col3_17 STRING NOT NULL AS (lower(CAST(col3_7 AS STRING))) VIRTUAL, col3_18 STRING NOT NULL AS (lower(CAST(col3_10 AS STRING))) VIRTUAL, col3_19 STRING NOT NULL AS (lower(CAST(col3_4 AS STRING))) STORED, INDEX (col3_6 ASC, col3_17, col3_8 DESC, col3_7 ASC, col3_16, col3_13, col3_9 DESC, col3_15, col3_19 ASC, col3_18) STORING (col3_11, col3_14), UNIQUE (col3_18 DESC, col3_16, col3_19 DESC, (col3_12 + (-29713):::INT8) DESC) STORING (col3_6, col3_9, col3_11), INDEX (col3_15, col3_16 ASC, col3_8 DESC, col3_6 ASC, col3_9, col3_7 ASC, col3_17 ASC), INDEX (lower(col3_9), lower(CAST(col3_8 AS STRING)) DESC, col3_7 DESC, col3_11 DESC, col3_17 DESC, col3_10 ASC, col3_14, col3_9 ASC, col3_16 DESC, col3_19 ASC, col3_6 ASC, col3_18 DESC, col3_12 DESC, col3_15 DESC, col3_8, col3_4 DESC), INDEX (col3_16, col3_19 ASC, lower(CAST(col3_11 AS STRING)) ASC, col3_13 ASC))",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "CREATE SEQUENCE IF NOT EXISTS public.seq20",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:13:09.444113",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SEQUENCE public.seq20"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: \"SELECT EXISTS (\\n\\t\\tSELECT crdb_internal_idx_expr_3\\n\\t\\t  FROM public.table3\\n\\t   WHERE crdb_internal_idx_expr_3 IS NULL\\n\\t)\" []: ERROR: column \"crdb_internal_idx_expr_3\" does not exist (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 88d8c1ce72a3988332e502e103421996d3908ab3:

          |   "BEGIN",
          |   "ALTER TABLE schema5.table6 ALTER COLUMN col6_12 SET DEFAULT NULL",
          |   "ALTER TABLE schema5.table6 RENAME TO schema5.table18"
          |  ],
          |  "expectedExecErrors": "2BP01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot rename relation \"schema5.table6\" because view \"view16\" depends on it (SQLSTATE 2BP01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:38:34.153928",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE UNIQUE INDEX index6_19 ON schema5.table6 (col6_15 DESC, col6_14, col6_7 DESC) STORING (col6_11, col6_10, col6_13, col6_9)",
          |   "ALTER TABLE schema5.table6 ALTER COLUMN \"col6_10\" DROP STORED"
          |  ],
          |  "expectedExecErrors": "42611",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: column \"col6_10\" is not a computed column (SQLSTATE 42611)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:38:34.263284",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE schema5.table6 ALTER COLUMN \"col6_9\" SET NOT NULL",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east-2\""
          |  ],
          |  "expectedExecErrors": "42P12",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot add region \"us-east-2\" to database schemachange (SQLSTATE 42P12)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:38:34.334613",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east-2\"",
          |   "DROP VIEW IF EXISTS schema5.view16 RESTRICT",
          |   "CREATE TABLE public.table20 AS SELECT schema5.table6.col6_11, schema5.table6.col6_9, schema5.table6.col6_7, schema5.table6.col6_13, schema5.table6.col6_12 FROM schema5.table6",
          |   "ALTER TABLE schema5.table6 ALTER COLUMN \"col6_9\" DROP NOT NULL",
          |   "CREATE TYPE public.enum21 AS ENUM ('fss')",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 88d8c1ce72a3988332e502e103421996d3908ab3:

          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot create \"schema47.enum48\" because the target database or schema does not exist (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:20:32.580952",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table40 ALTER COLUMN \"col40_45\" DROP STORED"
          |  ],
          |  "expectedExecErrors": "42611",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: column \"col40_45\" is not a computed column (SQLSTATE 42611)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:20:32.660843",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE schema49.table50 ALTER COLUMN IrrelevantColumnName SET DEFAULT \"IrrelevantValue\""
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"schema49.table50\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:20:32.668511",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east1\""
          |  ],
          |  "expectedExecErrors": "42710",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: region \"us-east1\" already added to database (SQLSTATE 42710)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:20:32.690191",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table40 RENAME COLUMN \"col40_45\" TO \"col40_51\"",
          |   "ALTER TABLE public.table40 ALTER COLUMN \"col40_45\" DROP DEFAULT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: column \"col40_45\" does not exist (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 57bb9046cd2a3090dc5f17b79912f34db8dde33e:

          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:33.574386",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table36 RENAME COLUMN \"col36_45\" TO \"col36_46\""
          |  ],
          |  "expectedExecErrors": "42703",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: column \"col36_45\" does not exist (SQLSTATE 42703)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:33.652945",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table36 ALTER COLUMN \"col36_47\" SET NOT NULL"
          |  ],
          |  "expectedExecErrors": "42703",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: column \"col36_47\" does not exist (SQLSTATE 42703)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:33.694449",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table36 RENAME TO public.table48",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:36:33.799135",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east-2\""
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: \"\\n\\t\\tSELECT json_array_length(\\n        crdb_internal.pb_to_json(\\n            'cockroach.sql.sqlbase.Descriptor',\\n            descriptor\\n        )-\u003e'table'-\u003e'mutations'\\n       )\\n       \u003e 0\\n\\t\\tFROM system.descriptor\\n\\t  WHERE id = $1::REGCLASS\\n\\t\\t\" [\"public.table48\"]: can't scan into dest[0]: cannot assign NULL to *bool"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 57bb9046cd2a3090dc5f17b79912f34db8dde33e:

          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east1\""
          |  ],
          |  "expectedExecErrors": "42710",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: region \"us-east1\" already added to database (SQLSTATE 42710)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:15:09.211518",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "CREATE TYPE public.enum47 AS ENUM ('adsfdf')"
          |  ],
          |  "expectedExecErrors": "42710",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: type \"schemachange.public.enum47\" already exists (SQLSTATE 42710)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:15:09.333378",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SCHEMA \"public\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot drop schema \"public\" (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:15:09.358759",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SEQUENCE IF NOT EXISTS public.seq73",
          |   "CREATE TABLE IF NOT EXISTS public.table74 (col74_75 TIME NOT NULL, col74_76 BYTES NOT NULL, col74_77 STRING NOT NULL, col74_78 INT2 NOT NULL, col74_79 DATE, col74_80 OID NOT NULL, col74_81 JSONB, col74_82 REGNAMESPACE NOT NULL, col74_83 INT8 NULL, col74_84 DATE, PRIMARY KEY (col74_77 ASC, col74_75 DESC, col74_78 ASC), col74_85 INT2 NOT NULL AS (col74_78 + (-359):::INT8) VIRTUAL, col74_86 STRING NOT NULL AS (lower(col74_77)) STORED, col74_87 STRING NOT NULL AS (lower(CAST(col74_75 AS STRING))) VIRTUAL, col74_88 INT2 NULL AS (col74_78 + col74_83) STORED, col74_89 STRING AS (lower(CAST(col74_79 AS STRING))) STORED, col74_90 STRING AS (lower(CAST(col74_79 AS STRING))) STORED, col74_91 INT2 NULL AS (col74_78 + col74_83) STORED, INDEX (col74_80 ASC, lower(CAST(col74_75 AS STRING)) ASC, col74_77 ASC, col74_79 ASC) STORING (col74_76, col74_83, col74_84, col74_90), INDEX (col74_85 ASC, col74_77 ASC, col74_79 ASC) STORING (col74_76, col74_80, col74_84, col74_88, col74_89))",
          |   "ALTER DATABASE schemachange SURVIVE ZONE FAILURE",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          |     2.0s        0           18.0           17.0      4.5     11.5     11.5     11.5 opOk
          |     2.0s        0            5.0            4.5     79.7     96.5     96.5     96.5 txnOk
          |     2.0s        0           10.0            9.0      0.7      7.1      7.1      7.1 txnRbk
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 47b426a9d692a9faebb3749f25fcbfef4f64af34:

          |  "workerId": 0,
          |  "clientTimestamp": "06:40:17.109627",
          |  "ops": [
          |   "BEGIN",
          |   "DROP TABLE schema1.table20",
          |   "CREATE INVERTED INDEX index3_39 ON public.table3 (col3_10 ASC) STORING (col3_7, crdb_internal_idx_expr, col3_8, col3_4, col3_6, col3_11)"
          |  ],
          |  "expectedExecErrors": "0A000,26000,42701,XXUUU",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: inverted indexes don't support stored columns (SQLSTATE 26000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:40:17.212976",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TYPE schema40.enum41 AS ENUM ('safasa', 'd', 'fdd')"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot create \"schema40.enum41\" because the target database or schema does not exist (SQLSTATE 3F000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:40:17.214461",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east-2\"",
          |   "CREATE SCHEMA schema42 AUTHORIZATION root",
          |   "DROP SEQUENCE IF EXISTS public.seq13",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:40:17.284854",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE schema1.table20 ALTER COLUMN \"col20_25\" DROP DEFAULT",
          |   "DROP SCHEMA \"schema42\" CASCADE"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: \"\\n\\t\\tSELECT json_array_length(\\n        crdb_internal.pb_to_json(\\n            'cockroach.sql.sqlbase.Descriptor',\\n            descriptor\\n        )-\u003e'table'-\u003e'mutations'\\n       )\\n       \u003e 0\\n\\t\\tFROM system.descriptor\\n\\t  WHERE id = $1::REGCLASS\\n\\t\\t\" [\"schema1.table20\"]: can't scan into dest[0]: cannot assign NULL to *bool"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 47b426a9d692a9faebb3749f25fcbfef4f64af34:

          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:11:34.011378",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table2 ADD COLUMN IrrelevantColumnName string"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"public.table2\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:11:34.025475",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SEQUENCE IF NOT EXISTS public.seq3",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:11:34.053026",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table4 ALTER COLUMN \"IrrelevantColumnName\" DROP DEFAULT"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"public.table4\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "11:11:34.078892",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SCHEMA schema5 AUTHORIZATION root",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east1\""
          |  ],
          |  "expectedExecErrors": "42P12",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: region \"us-east1\" already added to database (SQLSTATE 42710)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ d1231cff60125b397ccce6c79c9aeea771cdcca4:

          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE IF NOT EXISTS public.table7 (col7_8 JSONB NULL, col7_9 INET[] NOT NULL, col7_10 VARCHAR, col7_11 TIME NULL, col7_12 INT8[] NOT NULL, col7_13 BOX2D, col7_14 BOOL NOT NULL, col7_15 VARCHAR, col7_16 FLOAT4, col7_17 OID, col7_18 REGNAMESPACE, col7_19 STRING NULL, col7_20 INT8 NULL, col7_21 TIMESTAMP NULL, col7_22 STRING NOT NULL AS (CASE WHEN col7_9 IS NULL THEN e'xc\\x12z':::STRING ELSE e'\\'':::STRING END) STORED, col7_23 STRING AS (lower(CAST(col7_18 AS STRING))) STORED, col7_24 STRING NULL AS (lower(CAST(col7_8 AS STRING))) STORED, FAMILY (col7_9, col7_24), FAMILY (col7_11), FAMILY (col7_18), FAMILY (col7_13), FAMILY (col7_12, col7_14, col7_19), FAMILY (col7_23, col7_20, col7_15), FAMILY (col7_10, col7_21, col7_17), FAMILY (col7_16), FAMILY (col7_22), FAMILY (col7_8))",
          |   "CREATE SCHEMA schema25 AUTHORIZATION root",
          |   "ALTER TABLE public.table26 RENAME TO public.table27"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"public.table26\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:35:18.307259",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east-2\"",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR DURING ROLLBACK;: conn closed"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError

    cluster.go:1249,context.go:89,cluster.go:1237,test_runner.go:866: dead node detection: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod monitor teamcity-3531706-1633241876-01-n3cpu4 --oneshot --ignore-empty-nodes: exit status 1 1: dead (exit status 134)
        2: 7947
        3: 8300
        Error: UNCLASSIFIED_PROBLEM: 1: dead (exit status 134)
        (1) UNCLASSIFIED_PROBLEM
        Wraps: (2) attached stack trace
          -- stack trace:
          | main.glob..func14
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachprod/main.go:1173
          | main.wrap.func1
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachprod/main.go:281
          | github.com/spf13/cobra.(*Command).execute
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/vendor/github.com/spf13/cobra/command.go:856
          | github.com/spf13/cobra.(*Command).ExecuteC
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/vendor/github.com/spf13/cobra/command.go:960
          | github.com/spf13/cobra.(*Command).Execute
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/vendor/github.com/spf13/cobra/command.go:897
          | main.main
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachprod/main.go:2107
          | runtime.main
          |     /usr/local/go/src/runtime/proc.go:225
          | runtime.goexit
          |     /usr/local/go/src/runtime/asm_amd64.s:1371
        Wraps: (3) 1: dead (exit status 134)
        Error types: (1) errors.Unclassified (2) *withstack.withStack (3) *errutil.leafError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ d1231cff60125b397ccce6c79c9aeea771cdcca4:

          |  "expectedExecErrors": "42710",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: region \"us-east1\" already added to database (SQLSTATE 42710)"
          | }
          | _elapsed___errors__ops/sec(inst)___ops/sec(cum)__p50(ms)__p95(ms)__p99(ms)_pMax(ms)
          |     1.0s        0           20.9           22.0      3.4      9.4     13.6     13.6 opOk
          |     1.0s        0            6.6            7.0     54.5    117.4    117.4    117.4 txnOk
          |     1.0s        0           13.3           14.0      0.7      5.0      6.8      6.8 txnRbk
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:09:08.504501",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE public.table33 (col33_34 OID, col33_35 REGNAMESPACE NOT NULL, col33_36 TIMESTAMPTZ NULL, col33_37 INT8, col33_38 STRING, PRIMARY KEY (col33_35 ASC), col33_39 STRING NULL AS (CASE WHEN col33_36 IS NULL THEN e'^\"Y\\x1d\\x15{\\x15^':::STRING ELSE e'\\x0e':::STRING END) STORED, col33_40 STRING AS (lower(col33_38)) STORED, col33_41 STRING AS (lower(CAST(col33_34 AS STRING))) STORED, col33_42 STRING NULL AS (CASE WHEN col33_36 IS NULL THEN e'\\x07k\\x19)':::STRING ELSE e'\\x00':::STRING END) VIRTUAL, INDEX (col33_36 DESC, col33_38, col33_40 DESC, col33_35 ASC, col33_41 DESC, col33_39 DESC, col33_34 DESC), INDEX ((col33_37 + (-3106733636676834259):::INT8) ASC, col33_41 ASC, (CASE WHEN col33_36 IS NULL THEN '':::STRING ELSE e')1\\x07X':::STRING END) DESC, col33_40 DESC) STORING (col33_34, col33_36, col33_37, col33_38, col33_39), INDEX (col33_42 DESC, col33_38 ASC, col33_34 ASC, col33_35 ASC, col33_36, col33_37 ASC, col33_40 DESC, col33_41), UNIQUE (col33_42 ASC, col33_41 DESC, col33_40 ASC, col33_34 ASC, lower(CAST(col33_34 AS STRING)) DESC, col33_37 ASC, col33_39 ASC), UNIQUE (col33_38 DESC, col33_42, col33_35 ASC) STORING (col33_36, col33_37, col33_40, col33_41), FAMILY (col33_39, col33_37), FAMILY (col33_35, col33_36), FAMILY (col33_40, col33_38), FAMILY (col33_41), FAMILY (col33_34))",
          |   "DROP SEQUENCE public.seq31",
          |   "CREATE SCHEMA schema43 AUTHORIZATION root",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:09:08.631411",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table33 ALTER COLUMN \"col33_40\" DROP NOT NULL",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "CREATE TYPE public.enum44 AS ENUM ('sd', 'asasaa', 'dff')",
          |   "CREATE INVERTED INDEX IF NOT EXISTS index33_45 ON public.table33 (col33_40 DESC, col33_38 ASC, col33_42, col33_34 DESC, col33_35 ASC, col33_36, col33_37 ASC)"
          |  ],
          |  "expectedExecErrors": "0A000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: column col33_37 of type int is not allowed as the last column in an inverted index (SQLSTATE 0A000)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:09:08.780062",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table33 ADD COLUMN col33_46 BIT(23) NULL",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ bd00c351494b44b31178350e79c72244c93ea224:

          |  "workerId": 0,
          |  "clientTimestamp": "06:30:30.469211",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east-2\"",
          |   "ALTER TABLE schema1.table6 SET LOCALITY REGIONAL BY ROW"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"schema1.table6\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:30:30.529153",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange SURVIVE REGION FAILURE"
          |  ],
          |  "expectedExecErrors": "22023,42602",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: database must have associated regions before a survival goal can be set (SQLSTATE 42602)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:30:30.562856",
          |  "ops": [
          |   "BEGIN",
          |   "DROP INDEX schema7.table8@\"IrrelevantIndexName\""
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"schema7.table8\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:30:30.587077",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SEQUENCE IF NOT EXISTS schema1.seq9",
          |   "CREATE SCHEMA schema10 AUTHORIZATION root",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east-2\"",
          |   "ALTER SEQUENCE schema1.seq9 RENAME TO schema1.seq11",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east-2\""
          |  ],
          |  "expectedExecErrors": "42P12",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: region \"us-east-2\" already added to database (SQLSTATE 42710)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ bd00c351494b44b31178350e79c72244c93ea224:

          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:09:57.839784",
          |  "ops": [
          |   "BEGIN",
          |   "DROP TABLE public.table5 CASCADE",
          |   "ALTER DATABASE schemachange SURVIVE REGION FAILURE"
          |  ],
          |  "expectedExecErrors": "22023",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: at least 3 regions are required for surviving a region failure (SQLSTATE 22023)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:09:57.923152",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table5 ALTER COLUMN \"col5_15\" DROP DEFAULT"
          |  ],
          |  "expectedExecErrors": "42703",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: column \"col5_15\" does not exist (SQLSTATE 42703)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:09:57.959121",
          |  "ops": [
          |   "BEGIN",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:09:57.967062",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table5 RENAME COLUMN \"col5_12\" TO \"col5_16\"",
          |   "CREATE INDEX index5_17 ON public.table5 (col5_6, col5_12 DESC, col5_11, col5_9 DESC, col5_8 ASC) STORING (col5_10, col5_7)"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: column \"col5_12\" does not exist (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 95c3da44a6c38aa1ae22fe9de5549632b7527aa5:

          |   "DROP INDEX public.table67@\"index67_77\" CASCADE",
          |   "ALTER TABLE public.table67 ALTER COLUMN \"col67_73\" DROP DEFAULT",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          |     2.0s        0           16.0           24.0      2.4      4.7      4.7      4.7 opOk
          |     2.0s        0            3.0            6.0    184.5    285.2    285.2    285.2 txnOk
          |     2.0s        0            9.0           13.5      0.5      4.7      4.7      4.7 txnRbk
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:43:27.428992",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table67 ADD COLUMN col67_79 TIME NOT NULL",
          |   "CREATE VIEW public.view80 AS SELECT public.table67.col67_72, public.table67.col67_71, public.table67.col67_73, public.table67.col67_69, public.table67.col67_70, public.table67.col67_74 FROM public.table67",
          |   "CREATE SEQUENCE IF NOT EXISTS schema76.seq81",
          |   "CREATE TABLE public.table67 AS SELECT public.table67.col67_69, public.table67.col67_74 FROM public.table67"
          |  ],
          |  "expectedExecErrors": "42P07",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"schemachange.public.table67\" already exists (SQLSTATE 42P07)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:43:27.591683",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE schema76.table82 ALTER COLUMN \"IrrelevantColumnName\" DROP NOT NULL"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"schema76.table82\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:43:27.598182",
          |  "ops": [
          |   "BEGIN",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "ALTER SEQUENCE public.seq21 RENAME TO public.seq83"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: \"\\n\\t\\tSELECT json_array_length(\\n        crdb_internal.pb_to_json(\\n            'cockroach.sql.sqlbase.Descriptor',\\n            descriptor\\n        )-\u003e'table'-\u003e'mutations'\\n       )\\n       \u003e 0\\n\\t\\tFROM system.descriptor\\n\\t  WHERE id = $1::REGCLASS\\n\\t\\t\" [\"public.table67\"]: can't scan into dest[0]: cannot assign NULL to *bool"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 95c3da44a6c38aa1ae22fe9de5549632b7527aa5:

          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: source name \"table79\" specified more than once (missing AS clause) (SQLSTATE 42712)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:21:20.66493",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:21:20.715448",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE schema50.table101 AS SELECT schema1.table79.col79_92, schema1.table79.crdb_internal_idx_expr_3, schema1.table79.col79_93, schema1.table79.col79_81, schema1.table79.col79_87, schema1.table79.col79_80, schema1.table79.col79_89, schema1.table79.col79_90, schema1.table79.col79_95, schema1.table79.col79_91, schema1.table79.col79_86, schema1.table79.col79_84, schema1.table79.col79_96, schema1.table79.col79_84, schema1.table79.col79_94, schema1.table79.col79_80, schema1.table79.col79_88, schema1.table79.col79_96, schema1.table79.crdb_internal_idx_expr_1, schema1.table79.col79_90, schema1.table79.crdb_internal_idx_expr_2, schema1.table79.crdb_internal_idx_expr, schema1.table79.col79_82, schema1.table79.col79_95, schema1.table79.col79_86, schema1.table79.col79_83, schema1.table79.col79_92, schema1.table79.col79_87, schema1.table79.crdb_internal_idx_expr_3, schema1.table79.col79_85, schema1.table79.col79_89, schema1.table79.col79_93, schema1.table79.crdb_internal_idx_expr_2, schema1.table79.col79_80, schema1.table79.crdb_internal_idx_expr_1, schema1.table79.col79_88, schema1.table79.col79_84, schema1.table79.crdb_internal_idx_expr, schema1.table79.col79_86, schema1.table79.col79_90 FROM schema1.table79, schema1.table79, schema1.table79"
          |  ],
          |  "expectedExecErrors": "42701,42712",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: source name \"table79\" specified more than once (missing AS clause) (SQLSTATE 42712)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:21:20.862175",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange SURVIVE REGION FAILURE"
          |  ],
          |  "expectedExecErrors": "22023",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: at least 3 regions are required for surviving a region failure (SQLSTATE 22023)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:21:20.873072",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE schema1.table97 ALTER COLUMN \"col53_66\" DROP STORED"
          |  ],
          |  "expectedExecErrors": "42611",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: column \"col53_66\" is not a computed column (SQLSTATE 42611)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ f542fd2731127dab80599943b6041364fcc920e5:

          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:46:34.573754",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TYPE public.enum8 AS ENUM ('ssass')",
          |   "ALTER TABLE public.table3 DROP CONSTRAINT \"primary\"",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "0A000",
          |  "message": "COMMIT; Successfully got expected commit error"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:46:34.624828",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE public.table9 AS SELECT public.table3.crdb_internal_idx_expr_1, public.table3.col3_4, public.table3.col3_5, public.table3.col3_7, public.table3.crdb_internal_idx_expr, public.table3.col3_6 FROM public.table3",
          |   "ALTER TABLE public.table3 RENAME TO public.table10",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:46:34.71764",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east-2\""
          |  ],
          |  "expectedExecErrors": "42710",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: region \"us-east-2\" already added to database (SQLSTATE 42710)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:46:34.744375",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table11 ALTER COLUMN IrrelevantColumnName DROP STORED"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"public.table11\" does not exist (SQLSTATE 42P01)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ f542fd2731127dab80599943b6041364fcc920e5:

          |   "CREATE TABLE public.table19 (col19_20 REGPROC NOT NULL, col19_21 INT4 NULL, col19_22 REGCLASS NULL, col19_23 REGCLASS NULL, col19_24 GEOGRAPHY NULL, col19_25 FLOAT4 NULL, col19_26 BOOL NULL, col19_27 REGPROCEDURE, col19_28 BOOL NULL, col19_29 BYTES NULL, col19_30 GEOMETRY NOT NULL, col19_31 STRING NULL AS (lower(CAST(col19_26 AS STRING))) VIRTUAL, col19_32 STRING NULL AS (lower(CAST(col19_24 AS STRING))) STORED, INDEX (col19_31, col19_27, col19_25 ASC, col19_26, col19_23, col19_20 DESC) STORING (col19_21, col19_22, col19_24, col19_28, col19_29, col19_30), INDEX (col19_27, col19_31 DESC, col19_23, col19_25 ASC, lower(CAST(col19_22 AS STRING)) DESC, col19_28 ASC) STORING (col19_22, col19_24, col19_26, col19_29), INDEX (col19_23, col19_32 ASC, lower(CAST(col19_22 AS STRING)) DESC, col19_31 DESC, col19_22 ASC), INDEX (col19_25 ASC))",
          |   "ALTER TABLE public.table3 ALTER COLUMN \"col3_5\" DROP NOT NULL",
          |   "ALTER TABLE public.table3 ALTER COLUMN \"col3_33\" DROP STORED"
          |  ],
          |  "expectedExecErrors": "42611,42703",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: column \"col3_33\" does not exist (SQLSTATE 42703)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:18:58.144709",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SCHEMA schema34 AUTHORIZATION root",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | _elapsed___errors__ops/sec(inst)___ops/sec(cum)__p50(ms)__p95(ms)__p99(ms)_pMax(ms)
          |     1.0s        0           14.1           15.0      3.0      4.7     16.8     16.8 opOk
          |     1.0s        0            2.8            3.0     71.3    104.9    104.9    104.9 txnOk
          |     1.0s        0           13.1           14.0      0.8      1.3      5.0      5.0 txnRbk
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:18:58.182236",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table3 RENAME TO public.table35",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east1\""
          |  ],
          |  "expectedExecErrors": "42P12",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot add region \"us-east1\" to database schemachange (SQLSTATE 42P12)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:18:58.21627",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "DROP TABLE public.table3 RESTRICT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: ERROR: relation \"public.table3\" does not exist (SQLSTATE 42P01)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 82e8782453b1cf14460d93b6bf8328a7b2964575:

          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:52:35.263553",
          |  "ops": [
          |   "BEGIN",
          |   "DROP TABLE public.table5",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east-2\""
          |  ],
          |  "expectedExecErrors": "42710",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: region \"us-east-2\" already added to database (SQLSTATE 42710)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:52:35.299527",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table5 DROP CONSTRAINT \"primary\"",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "0A000",
          |  "message": "COMMIT; Successfully got expected commit error"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:52:35.333575",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table5 ALTER COLUMN col5_13 SET DEFAULT '7Xg':::STRING",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:52:35.439101",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table5 RENAME COLUMN \"col5_9\" TO \"col5_14\""
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: \"\\n\\t\\tSELECT (\\n\\t       SELECT count(*)\\n\\t         FROM (\\n\\t               SELECT DISTINCT col5_9, col5_6, col5_12, col5_7, col5_8\\n\\t                 FROM public.table5\\n\\t                WHERE col5_9 IS NOT NULL OR col5_6 IS NOT NULL OR col5_12 IS NOT NULL OR col5_7 IS NOT NULL OR col5_8 IS NOT NULL \\n\\t              )\\n\\t      )\\n\\t      = (\\n\\t        SELECT count(*)\\n\\t          FROM public.table5\\n\\t         WHERE col5_9 IS NOT NULL OR col5_6 IS NOT NULL OR col5_12 IS NOT NULL OR col5_7 IS NOT NULL OR col5_8 IS NOT NULL \\n\\t       );\\n\\t\" []: ERROR: column \"col5_9\" does not exist (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 82e8782453b1cf14460d93b6bf8328a7b2964575:

The test failed on branch=release-21.2, cloud=gce:
test artifacts and logs in: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/scbench/randomload/nodes=3/ops=2000/conc=1/run_1
    schemachange_random_load.go:159,schemachange_random_load.go:92,test_runner.go:777: output in run_073027.749751865_n1_workload_run_schemachange: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-3550382-1633588489-21-n3cpu4:1 -- ./workload run schemachange --verbose=1 --tolerate-errors=false  --histograms=perf/stats.json --max-ops 2000 --concurrency 1 --txn-log /mnt/data1/cockroach/transactions.json returned: exit status 20
        (1) attached stack trace
          -- stack trace:
          | main.(*clusterImpl).RunE
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cluster.go:1983
          | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runSchemaChangeRandomLoad
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/schemachange_random_load.go:156
          | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerRandomLoadBenchSpec.func1
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/schemachange_random_load.go:92
          | main.(*testRunner).runTest.func2
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/test_runner.go:777
          | runtime.goexit
          |     /usr/local/go/src/runtime/asm_amd64.s:1371
        Wraps: (2) output in run_073027.749751865_n1_workload_run_schemachange
        Wraps: (3) /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-3550382-1633588489-21-n3cpu4:1 -- ./workload run schemachange --verbose=1 --tolerate-errors=false  --histograms=perf/stats.json --max-ops 2000 --concurrency 1 --txn-log /mnt/data1/cockroach/transactions.json returned
          | stderr:
          | I211007 07:30:28.574616 1 workload/cli/run.go:408  [-] 1  creating load generator...
          | I211007 07:30:28.644463 1 workload/cli/run.go:439  [-] 2  creating load generator... done (took 69.883189ms)
          | I211007 07:30:28.747001 57 workload/pgx_helpers.go:61  [-] 3  pgx logger [error]: Query logParams=map[args:[] err:ERROR: column "crdb_internal_idx_expr_1" does not exist (SQLSTATE 42703) sql:SELECT EXISTS (
          | I211007 07:30:28.747001 57 workload/pgx_helpers.go:61  [-] 3 +      SELECT crdb_internal_idx_expr_1
          | I211007 07:30:28.747001 57 workload/pgx_helpers.go:61  [-] 3 +        FROM public.table1
          | I211007 07:30:28.747001 57 workload/pgx_helpers.go:61  [-] 3 +     WHERE crdb_internal_idx_expr_1 IS NULL
          | I211007 07:30:28.747001 57 workload/pgx_helpers.go:61  [-] 3 +  )]
          | Error: ***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: "SELECT EXISTS (\n\t\tSELECT crdb_internal_idx_expr_1\n\t\t  FROM public.table1\n\t   WHERE crdb_internal_idx_expr_1 IS NULL\n\t)" []: ERROR: column "crdb_internal_idx_expr_1" does not exist (SQLSTATE 42703)
          | Error: COMMAND_PROBLEM: exit status 1
          | (1) COMMAND_PROBLEM
          | Wraps: (2) Node 1. Command with error:
          |   | ``````
          |   | ./workload run schemachange --verbose=1 --tolerate-errors=false  --histograms=perf/stats.json --max-ops 2000 --concurrency 1 --txn-log /mnt/data1/cockroach/transactions.json
          |   | ``````
          | Wraps: (3) exit status 1
          | Error types: (1) errors.Cmd (2) *hintdetail.withDetail (3) *exec.ExitError
          |
          | stdout:
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:30:28.644833",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE public.table1 (col1_2 INT4 NULL, col1_3 NAME NOT NULL, col1_4 DECIMAL NOT NULL, col1_5 REGROLE NULL, col1_6 BOX2D NOT NULL, PRIMARY KEY (col1_4, col1_6 ASC, col1_3 ASC), col1_7 STRING NULL AS (lower(CAST(col1_5 AS STRING))) VIRTUAL, col1_8 STRING NOT NULL AS (lower(CAST(col1_6 AS STRING))) STORED, col1_9 DECIMAL NOT NULL AS (col1_4 + (-4.469844133743210519E+19):::DECIMAL) VIRTUAL, UNIQUE (col1_6 DESC, (col1_4 + (-5.593928092195240411E+22):::DECIMAL) DESC, col1_9 DESC, col1_2, (col1_2 + 2135123018:::INT8) ASC, col1_4 DESC, col1_7), INDEX (col1_2) STORING (col1_5, col1_8), UNIQUE (col1_8, col1_9 ASC, col1_4 ASC, col1_3 ASC, col1_6 DESC, col1_2 ASC), UNIQUE (col1_8 ASC, col1_4 ASC, col1_5 ASC, col1_3 DESC, col1_9 ASC, col1_6 DESC), INDEX (col1_4 ASC, lower(CAST(col1_5 AS STRING)) ASC, col1_6 DESC, col1_2 ASC, col1_9 ASC))"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Failed to generate a random operation: scanBool: \"SELECT EXISTS (\\n\\t\\tSELECT crdb_internal_idx_expr_1\\n\\t\\t  FROM public.table1\\n\\t   WHERE crdb_internal_idx_expr_1 IS NULL\\n\\t)\" []: ERROR: column \"crdb_internal_idx_expr_1\" does not exist (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 3cf3b0ea3b08cb24e4d6b84c6c237b856ce6b411:

          |     3.0s        0            4.0            4.7    201.3    318.8    318.8    318.8 txnOk
          |     3.0s        0            3.0            6.3      0.5      1.4      1.4      1.4 txnRbk
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:52:35.94431",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table11 RENAME COLUMN \"col11_18\" TO \"col11_52\"",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east-2\""
          |  ],
          |  "expectedExecErrors": "42710",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: region \"us-east-2\" already added to database (SQLSTATE 42710)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:52:36.091285",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange SURVIVE REGION FAILURE"
          |  ],
          |  "expectedExecErrors": "22023",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: at least 3 regions are required for surviving a region failure (SQLSTATE 22023)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:52:36.098354",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER TABLE public.table2 ALTER COLUMN col2_5 SET DEFAULT 225850598:::OID"
          |  ],
          |  "expectedExecErrors": "42804",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: expected DEFAULT expression to have type jsonb, but '225850598:::OID' has type oid (SQLSTATE 42804)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:52:36.174634",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TYPE public.enum53 AS ENUM ('saa', 'saff', 'fdsfds', 'fdfdd', 'dfaffd')",
          |   "ALTER TABLE public.table2 ALTER COLUMN \"col2_3\" DROP STORED"
          |  ],
          |  "expectedExecErrors": "42611",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: column \"col2_3\" is not a computed column (SQLSTATE 42611)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 3cf3b0ea3b08cb24e4d6b84c6c237b856ce6b411:

          |   "CREATE SCHEMA IF NOT EXISTS schema72 AUTHORIZATION root",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          |     2.0s        0           17.0           16.0      4.1      6.3      6.3      6.3 opOk
          |     2.0s        0            4.0            4.5    104.9    167.8    167.8    167.8 txnOk
          |     2.0s        0            8.0           12.5      2.4      8.9      8.9      8.9 txnRbk
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:29:36.860401",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SCHEMA \"schema47\" CASCADE",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:29:37.085913",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE IF NOT EXISTS public.table73 (col73_74 REGPROCEDURE, col73_75 GEOGRAPHY, col73_76 TIMESTAMP NULL, col73_77 VARCHAR NOT NULL, col73_78 CHAR NOT NULL, col73_79 GEOMETRY, col73_80 DATE NULL, col73_81 INTERVAL NOT NULL, col73_82 REGPROCEDURE, col73_83 REGPROCEDURE NULL, col73_84 BYTES NOT NULL, col73_85 STRING NULL AS (lower(CAST(col73_76 AS STRING))) VIRTUAL, FAMILY (col73_77), FAMILY (col73_79), FAMILY (col73_83), FAMILY (col73_74, col73_84, col73_78), FAMILY (col73_76), FAMILY (col73_81), FAMILY (col73_80), FAMILY (col73_75), FAMILY (col73_82))",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:29:37.111706",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE VIEW schema72.view87 AS SELECT \"IrrelevantColumnName\", public.table73.col73_78, public.table73.col73_74, public.table73.col73_76, public.table73.col73_82, public.table73.col73_83, public.table73.col73_79, public.table73.col73_80, public.table73.col73_85, public.table73.col73_76, public.table73.col73_81, public.table73.col73_74, public.table73.col73_80 FROM schema72.table86, public.table73, public.table73"
          |  ],
          |  "expectedExecErrors": "42701,42712,42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"schema72.table86\" does not exist (SQLSTATE 42P01)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 2ef24098cc88bab3958ad905f46b0ed7e74bd7db:

          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:01:40.274442",
          |  "ops": [
          |   "BEGIN",
          |   "SELECT 'validating all objects', crdb_internal.validate_multi_region_zone_configs()",
          |   "ALTER SEQUENCE public.seq42 RENAME TO public.seq43"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"public.seq42\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:01:40.285757",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE TABLE public.table44 (col44_45 GEOGRAPHY, col44_46 TIME, col44_47 \"char\" NOT NULL, col44_48 BIT(6) NOT NULL, col44_49 TIME NULL, col44_50 BIT(37) NOT NULL, col44_51 JSONB NULL, col44_52 INT8 NOT NULL, col44_53 INT4 NULL, col44_54 TIMETZ NULL, col44_55 GEOGRAPHY NULL, col44_56 DECIMAL, col44_57 INT8 NULL AS (col44_52 + col44_53) STORED, INVERTED INDEX (col44_48, lower(CAST(col44_55 AS STRING)) DESC, col44_54 ASC, col44_50 ASC, col44_57, col44_47, col44_46, col44_53, col44_55 ASC), INVERTED INDEX (col44_56 DESC, col44_50 ASC, col44_51 ASC))",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:01:40.305435",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SEQUENCE IF NOT EXISTS public.seq58",
          |   "CREATE TABLE public.table59 AS SELECT public.table44.col44_56, public.table44.col44_55 FROM public.table44",
          |   "ALTER TABLE public.table60 ALTER COLUMN \"IrrelevantColumnName\" DROP NOT NULL"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"public.table60\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:01:40.375897",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SCHEMA \"public\" CASCADE"
          |  ],
          |  "expectedExecErrors": "3F000",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: cannot drop schema \"public\" (SQLSTATE 3F000)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ 2ef24098cc88bab3958ad905f46b0ed7e74bd7db:

The test failed on branch=release-21.2, cloud=gce:
test artifacts and logs in: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/scbench/randomload/nodes=3/ops=2000/conc=1/run_1
    schemachange_random_load.go:159,schemachange_random_load.go:92,test_runner.go:777: output in run_073828.842540319_n1_workload_run_schemachange: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-3570296-1634020841-21-n3cpu4:1 -- ./workload run schemachange --verbose=1 --tolerate-errors=false  --histograms=perf/stats.json --max-ops 2000 --concurrency 1 --txn-log /mnt/data1/cockroach/transactions.json returned: exit status 20
        (1) attached stack trace
          -- stack trace:
          | main.(*clusterImpl).RunE
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cluster.go:1983
          | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runSchemaChangeRandomLoad
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/schemachange_random_load.go:156
          | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerRandomLoadBenchSpec.func1
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/schemachange_random_load.go:92
          | main.(*testRunner).runTest.func2
          |     /home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/test_runner.go:777
          | runtime.goexit
          |     /usr/local/go/src/runtime/asm_amd64.s:1371
        Wraps: (2) output in run_073828.842540319_n1_workload_run_schemachange
        Wraps: (3) /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-3570296-1634020841-21-n3cpu4:1 -- ./workload run schemachange --verbose=1 --tolerate-errors=false  --histograms=perf/stats.json --max-ops 2000 --concurrency 1 --txn-log /mnt/data1/cockroach/transactions.json returned
          | stderr:
          | I211012 07:38:29.793959 1 workload/cli/run.go:408  [-] 1  creating load generator...
          | I211012 07:38:29.869653 1 workload/cli/run.go:439  [-] 2  creating load generator... done (took 75.751546ms)
          | I211012 07:38:29.968705 52 workload/pgx_helpers.go:61  [-] 3  pgx logger [error]: Exec logParams=map[args:[] err:ERROR: region "us-east1" already added to database (SQLSTATE 42710) sql:ALTER DATABASE schemachange ADD REGION "us-east1"]
          | Error: ***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: region "us-east1" already added to database (SQLSTATE 42710)
          | Error: COMMAND_PROBLEM: exit status 1
          | (1) COMMAND_PROBLEM
          | Wraps: (2) Node 1. Command with error:
          |   | ``````
          |   | ./workload run schemachange --verbose=1 --tolerate-errors=false  --histograms=perf/stats.json --max-ops 2000 --concurrency 1 --txn-log /mnt/data1/cockroach/transactions.json
          |   | ``````
          | Wraps: (3) exit status 1
          | Error types: (1) errors.Cmd (2) *hintdetail.withDetail (3) *exec.ExitError
          |
          | stdout:
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "07:38:29.870182",
          |  "ops": [
          |   "BEGIN",
          |   "ALTER DATABASE schemachange PRIMARY REGION \"us-east1\"",
          |   "ALTER DATABASE schemachange ADD REGION \"us-east1\""
          |  ],
          |  "expectedExecErrors": "42P12",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: region \"us-east1\" already added to database (SQLSTATE 42710)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

roachtest.scbench/randomload/nodes=3/ops=2000/conc=1 failed with artifacts on release-21.2 @ e67cf963427faf93670a4c87e0d02bc0ef213b1d:

          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:55:54.983413",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE SCHEMA schema39 AUTHORIZATION root",
          |   "COMMIT"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": ""
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:55:55.012075",
          |  "ops": [
          |   "BEGIN",
          |   "DROP SEQUENCE public.seq27",
          |   "ALTER INDEX public.table40@\"IrrelevantConstraintName\" RENAME TO \"OtherConstraintName\""
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"public.table40\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:55:55.032321",
          |  "ops": [
          |   "BEGIN",
          |   "DROP TABLE public.table28 RESTRICT",
          |   "DROP SCHEMA \"schema39\" CASCADE",
          |   "ALTER TABLE public.table41 ADD COLUMN IrrelevantColumnName string"
          |  ],
          |  "expectedExecErrors": "42P01",
          |  "expectedCommitErrors": "",
          |  "message": "ROLLBACK; Successfully got expected execution error: ERROR: relation \"public.table41\" does not exist (SQLSTATE 42P01)"
          | }
          | {
          |  "workerId": 0,
          |  "clientTimestamp": "06:55:55.073726",
          |  "ops": [
          |   "BEGIN",
          |   "CREATE INDEX IF NOT EXISTS index28_42 ON public.table28 (crdb_internal_idx_expr ASC, col28_36 DESC, col28_38 ASC, col28_35, col28_31, col28_33 ASC, col28_37 ASC) STORING (col28_32)"
          |  ],
          |  "expectedExecErrors": "",
          |  "expectedCommitErrors": "",
          |  "message": "***UNEXPECTED ERROR; Received an unexpected execution error: ERROR: column \"crdb_internal_idx_expr\" is inaccessible and cannot be referenced (SQLSTATE 42703)"
          | }
        Wraps: (4) exit status 20
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) *exec.ExitError
Reproduce

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

Same failure on other branches

- #63514 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-63484] - #61976 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-20.2] - #61685 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-release-21.1] - #56081 roachtest: scbench/randomload/nodes=3/ops=2000/conc=1 failed [C-test-failure O-roachtest O-robot T-sql-schema branch-master]

/cc @cockroachdb/sql-schema

This test on roachdash | Improve this report!