release: v20.1.0-rc.2
Candidate SHA:c0f00d2a156295a1cb79ed960940c167cb03ccbc (Bleeding Edge)
Deployment status: Qualifying
Nightly Suite: Build
Deployment Dashboards
Prep date: 17 APR 2020
- [x] Pick a SHA
- [x] fill in
Candidate SHAabove - [x] email thread on releases@
- [x] fill in
- [x] Tag the provisional SHA (provisional_202004171855_v20.1.0-rc.2)
- [x] Publish provisional binaries
- [x] Ack security@ on the generated Stackdriver Alert to confirm these writes were part of a planned release (Just reply on the email received alert email acking that this was part of the release process)
Release Qualification
- [x] Check binaries (PR)
- [x] Deploy to test clusters
- [x] Verify node crash reports
- [x] Start release qualification suite (Build)
- [x] Start nightly suite (Build)
- [x] fill in
Deployment statusabove with clusters andNightly Suitewith the link to Nightly TeamCity Job
One day after prep date:
-
[x] Keep an eye on clusters until release date. Do not proceed below until the release date.
Release date: ????
-
[x] Tag release
-
[ ] Update docs
-
[ ] External communications for release
-
[ ] Clean up provisional tag from repository
Restarting release to include cockroachdb/pebble#629, and #47553
I'm going to leave the first release attempt here for posterity in case we need to refer to it later.
First attempt at RC2
Candidate SHA: 778550737c285409cc1d9c6d96584fc985071c79
Prep date: 15 APR 2020
Provisional Tag: provisional_202004152236_v20.1.0-rc.2
Nightly flakes:
KV
- [x] version/mixed/nodes=5
- [x] quit-all-nodes
- [x] acceptance/version-upgrade
- [x] transfer-leases/drain
Bulk Ops
SQL
- [x] tpchvec/disk
- [x] tpcc/mixed-headroom/n5cpu16
- [x] cancel/tpcc/distsql/w=10,nodes=3
- [x] TestRandomSyntaxSchemaChangeColumn
SQL Schema
- [x] alterpk-tpcc
- [x] schemachange/index/tpcc/w=1000
- [x] schemachange/invertedindex
- [x] schemachange/during/tpcc
AppDev
Signing off on tpchvec/disk - the fix is ready, but we want to get it in for 20.1.1.
Same story for alterpk-tpcc.
signing off on quit-all-nodes and transfer-leases/drain - same as above, fix is ready but for now waiting for 20.1.1
I signed off on the AppDev tests; they are testing infra issues that we are trying to get to the bottom of.
Checking off acceptance/version upgrade, test-code bug fixed in https://github.com/cockroachdb/cockroach/pull/47690. version/mixed/nodes=5 was tracked in https://github.com/cockroachdb/cockroach/issues/47648, and is an infra flake.
TestRandomSyntaxSchemaChangeColumn looks concerning to me, cc @lucy-zhang
W200417 20:57:30.370219 7640226 sql/schema_changer.go:637 [n1,job=547509531026653185] reversing schema change 547509531026653185 due to irrecoverable error: validation of NOT NULL constraint failed: validate check constraint: column "ident" does not exist
W200417 20:57:30.372556 7640226 sql/schema_changer.go:1118 [n1,job=547509531026653185] reverse schema change mutation: {Descriptor_:0xc0045aa420 State:DELETE_AND_WRITE_ONLY Direction:ADD MutationID:135 Rollback:false}
W200417 20:57:30.372629 7640226 sql/schema_changer.go:1125 [n1,job=547509531026653185] dropping constraint constraint_type:NOT_NULL name:"ident_auto_not_null" check:<expr:"ident IS NOT NULL" name:"ident_auto_not_null" validity:Validating column_ids:83 is_non_null_constraint:true hidden:false > foreign_key:<origin_table_id:0 referenced_table_id:0 name:"" validity:Validated on_delete:NO_ACTION on_update:NO_ACTION match:SIMPLE legacy_origin_index:0 legacy_referenced_index:0 > not_null_column:83
I200417 20:57:30.372655 7640226 sql/sqlbase/structured.go:1554 [n1,job=547509531026653185] publish: descID=53 (ident) version=598 mtime=1970-01-01 00:00:00 +0000 UTC
I200417 20:57:30.385294 7640226 sql/event_log.go:132 [n1,job=547509531026653185] Event: "reverse_schema_change", target: 53, info: {Error:
(opaque error wrapper)
type name: github.com/cockroachdb/cockroach/vendor/github.com/cockroachdb/errors/withstack/*withstack.withStack
reportable 0:
github.com/cockroachdb/cockroach/pkg/sql.(*SchemaChanger).validateConstraints.func2.1
/go/src/github.com/cockroachdb/cockroach/pkg/sql/backfill.go:554
github.com/cockroachdb/cockroach/pkg/sql.(*SchemaChanger).makeFixedTimestampRunner.func1.1
/go/src/github.com/cockroachdb/cockroach/pkg/sql/backfill.go:122
github.com/cockroachdb/cockroach/pkg/sql.(*SchemaChanger).fixedTimestampTxn.func1
/go/src/github.com/cockroachdb/cockroach/pkg/sql/backfill.go:135
github.com/cockroachdb/cockroach/pkg/kv.(*DB).Txn.func1
/go/src/github.com/cockroachdb/cockroach/pkg/kv/db.go:702
github.com/cockroachdb/cockroach/pkg/kv.(*Txn).exec
/go/src/github.com/cockroachdb/cockroach/pkg/kv/txn.go:796
github.com/cockroachdb/cockroach/pkg/kv.(*DB).Txn
/go/src/github.com/cockroachdb/cockroach/pkg/kv/db.go:701
github.com/cockroachdb/cockroach/pkg/sql.(*SchemaChanger).fixedTimestampTxn
/go/src/github.com/cockroachdb/cockroach/pkg/sql/backfill.go:133
github.com/cockroachdb/cockroach/pkg/sql.(*SchemaChanger).makeFixedTimestampRunner.func1
/go/src/github.com/cockroachdb/cockroach/pkg/sql/backfill.go:119
github.com/cockroachdb/cockroach/pkg/sql.(*SchemaChanger).validateConstraints.func2
/go/src/github.com/cockroachdb/cockroach/pkg/sql/backfill.go:539
github.com/cockroachdb/cockroach/pkg/util/ctxgroup.Group.GoCtx.func1
/go/src/github.com/cockroachdb/cockroach/pkg/util/ctxgroup/ctxgroup.go:166
github.com/cockroachdb/cockroach/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1
/go/src/github.com/cockroachdb/cockroach/vendor/golang.org/x/sync/errgroup/errgroup.go:57
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1357
- validation of NOT NULL constraint failed:
-
(opaque error wrapper)
type name: github.com/cockroachdb/cockroach/vendor/github.com/cockroachdb/errors/withstack/*withstack.withStack
reportable 0:
github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).execInternal.func1
/go/src/github.com/cockroachdb/cockroach/pkg/sql/internal.go:384
github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).execInternal
/go/src/github.com/cockroachdb/cockroach/pkg/sql/internal.go:481
github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).queryInternal
/go/src/github.com/cockroachdb/cockroach/pkg/sql/internal.go:224
github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).QueryEx
/go/src/github.com/cockroachdb/cockroach/pkg/sql/internal.go:199
github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).QueryRowEx
/go/src/github.com/cockroachdb/cockroach/pkg/sql/internal.go:254
github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).QueryRow
/go/src/github.com/cockroachdb/cockroach/pkg/sql/internal.go:238
github.com/cockroachdb/cockroach/pkg/sql.validateCheckExpr
/go/src/github.com/cockroachdb/cockroach/pkg/sql/check.go:58
github.com/cockroachdb/cockroach/pkg/sql.validateCheckInTxn
/go/src/github.com/cockroachdb/cockroach/pkg/sql/backfill.go:1581
github.com/cockroachdb/cockroach/pkg/sql.(*SchemaChanger).validateConstraints.func2.1
/go/src/github.com/cockroachdb/cockroach/pkg/sql/backfill.go:550
github.com/cockroachdb/cockroach/pkg/sql.(*SchemaChanger).makeFixedTimestampRunner.func1.1
/go/src/github.com/cockroachdb/cockroach/pkg/sql/backfill.go:122
github.com/cockroachdb/cockroach/pkg/sql.(*SchemaChanger).fixedTimestampTxn.func1
/go/src/github.com/cockroachdb/cockroach/pkg/sql/backfill.go:135
github.com/cockroachdb/cockroach/pkg/kv.(*DB).Txn.func1
/go/src/github.com/cockroachdb/cockroach/pkg/kv/db.go:702
github.com/cockroachdb/cockroach/pkg/kv.(*Txn).exec
/go/src/github.com/cockroachdb/cockroach/pkg/kv/txn.go:796
github.com/cockroachdb/cockroach/pkg/kv.(*DB).Txn
/go/src/github.com/cockroachdb/cockroach/pkg/kv/db.go:701
github.com/cockroachdb/cockroach/pkg/sql.(*SchemaChanger).fixedTimestampTxn
/go/src/github.com/cockroachdb/cockroach/pkg/sql/backfill.go:133
github.com/cockroachdb/cockroach/pkg/sql.(*SchemaChanger).makeFixedTimestampRunner.func1
/go/src/github.com/cockroachdb/cockroach/pkg/sql/backfill.go:119
github.com/cockroachdb/cockroach/pkg/sql.(*SchemaChanger).validateConstraints.func2
/go/src/github.com/cockroachdb/cockroach/pkg/sql/backfill.go:539
github.com/cockroachdb/cockroach/pkg/util/ctxgroup.Group.GoCtx.func1
/go/src/github.com/cockroachdb/cockroach/pkg/util/ctxgroup/ctxgroup.go:166
github.com/cockroachdb/cockroach/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1
/go/src/github.com/cockroachdb/cockroach/vendor/golang.org/x/sync/errgroup/errgroup.go:57
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1357
- error with embedded safe details: validate check constraint
- validate check constraint:
- candidate pg code: 42703
-
(opaque error wrapper)
type name: github.com/cockroachdb/cockroach/vendor/github.com/cockroachdb/errors/withstack/*withstack.withStack
reportable 0:
github.com/cockroachdb/cockroach/pkg/sql/sqlbase.NewUndefinedColumnError
/go/src/github.com/cockroachdb/cockroach/pkg/sql/sqlbase/errors.go:105
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*scope).FindSourceProvidingColumn
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/scope.go:761
github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*ColumnItem).Resolve
/go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/tree/name_resolution.go:207
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*scope).VisitPre
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/scope.go:893
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*scope).VisitPre
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/scope.go:890
github.com/cockroachdb/cockroach/pkg/sql/sem/tree.WalkExpr
/go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:680
github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*ComparisonExpr).Walk
/go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:190
github.com/cockroachdb/cockroach/pkg/sql/sem/tree.WalkExpr
/go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:683
github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*ParenExpr).Walk
/go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:463
github.com/cockroachdb/cockroach/pkg/sql/sem/tree.WalkExpr
/go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:683
github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*NotExpr).Walk
/go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:426
github.com/cockroachdb/cockroach/pkg/sql/sem/tree.WalkExpr
/go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:683
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*scope).walkExprTree
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/scope.go:385
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*scope).resolveAndRequireType
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/scope.go:443
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).resolveAndBuildScalar
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/util.go:439
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildWhere
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:1041
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildSelectClause
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:923
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildSelectStmtWithoutParens
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:869
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildSelect.func1
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:842
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).processWiths
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/with.go:29
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildSelect
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:841
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildStmt
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/builder.go:253
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildStmtAtRoot
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/builder.go:217
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).Build
/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/builder.go:188
github.com/cockroachdb/cockroach/pkg/sql.(*optPlanningCtx).buildExecMemo
/go/src/github.com/cockroachdb/cockroach/pkg/sql/plan_opt.go:433
github.com/cockroachdb/cockroach/pkg/sql.(*planner).makeOptimizerPlan
/go/src/github.com/cockroachdb/cockroach/pkg/sql/plan_opt.go:169
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).makeExecPlan
/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:801
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).dispatchToExecutionEngine
/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:691
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmtInOpenState
/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:481
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmt
/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:96
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd
/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:1368
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).run
/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:1297
- error with embedded safe details: column %q does not exist
-- arg 1: <string>
- column "ident" does not exist MutationID:135}
All of the other problems besides the one @yuzefovich mentioned look something like this:
Error: SSH_PROBLEM: exit status 255
(1) SSH_PROBLEM
Wraps: (2) Node 5. Command with error:
| ```
| ./workload run tpcc --warehouses=909 --histograms=perf/stats.json --ramp=5m0s --duration=2h0m0s {pgurl:1-4}
| ```
Wraps: (3) exit status 255
Error types: (1) errors.SSH (2) *hintdetail.withDetail (3) *exec.ExitError
run_062410.988_n5_workload_run_tpcc: 06:34:59 cluster.go:2072: > result: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-1883216-1587163471-89-n5cpu16:5 -- ./workload run tpcc --warehouses=909 --histograms=perf/stats.json --ramp=5m0s --duration=2h0m0s {pgurl:1-4} returned: exit status 10
(1) /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-1883216-1587163471-89-n5cpu16:5 -- ./workload run tpcc --warehouses=909 --histograms=perf/stats.json --ramp=5m0s --duration=2h0m0s {pgurl:1-4} returned
| stderr:
| Error: SSH_PROBLEM: exit status 255
| (1) SSH_PROBLEM
| Wraps: (2) Node 5. Command with error:
| | ```
| | ./workload run tpcc --warehouses=909 --histograms=perf/stats.json --ramp=5m0s --duration=2h0m0s {pgurl:1-4}
| | ```
| Wraps: (3) exit status 255
| Error types: (1) errors.SSH (2) *hintdetail.withDetail (3) *exec.ExitError
Anyone know what this means? I couldn't find any clues in the logs.
As far as the random schema change test, @lucy-zhang did you take a look at this? Cursorily, seems like this has been failing for at least a month, so I'm inclined to believe this shouldn't be a release blocker.
I think we can also tick off all of the SSH_PROBLEM boxes, since it seems like it means that ssh failed with no other indication of badness - but I haven't investigated this a ton.
Yeah, I am checking off the SSH_PROBLEM schema change tests because they're infra flakes. I was looking at the TestRandomSyntaxSchemaChangeColumn test and will post a follow-up comment soon, but basically it doesn't seem bad.
Do we still have a policy of not allowing random syntax tests to block a release, or are we holding them to the same standard as other tests now?
The release guide does indeed still say RSG is not a blocker -- FWIW I don't think the policy should be that it is never a blocker, since RSG sometimes does uncover serious bugs which are determined to be blockers, but in the past they found so many obscure/ on-blocker errors that we didn't automatically treat their failure as blocker until someone actually looked and made a determination. These days I'm not sure how that differs from the rest of the test suite where we also just wait for someone to investigate and make a determination so I'm not sure if they should still have any special policy treatment.
I'm signing off on TestRandomSyntaxSchemaChangeColumn. That particular error posted above reflects a bug, but it's definitely not a release-blocking bug. I'll file it separately shortly.
I'm confident that what's happening is that we're queuing a column drop mutation when a SET NOT NULL mutation is in progress, and when the validation for the non-null column happens, it can't find the non-public column anymore. I was able to repro something very similar by just issuing DROP COLUMN after SET NOT NULL in the same transaction. The mutation for SET NOT NULL rolls itself back correctly according to the test logs, so it's not a major cause for concern, mostly just a source of inefficiency and a bad error.
There is a timeout that's separately happening in the same test, which I think is ultimately what caused the failure. The schema change in this case was just waiting behind other queued schema changes, and from the logs, I don't see any reason to believe that any of the schema changes are getting stuck. I'm signing off on this, but we may want to increase the timeout, since the waiting is inevitable when running schema changes in parallel. (We may be more sensitive to timeout failures now that schema changes run as jobs, because retries for not-first-in-line schema changes work a little differently now.)
Signing off on tpcc/mixed-headroom and cancel/tpcc since they look like infra flakes.