cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

release: v20.1.0-alpha.20200210

Open nathanstilwell opened this issue 6 years ago • 23 comments

Candidate SHA: 4d6a9abcb187404eb589544b53eb39f0c40c0ad9. Deployment status: Base, Candidate Nightly Suite: Build.

Deployment Dashboards

Release process checklist

Prep date: 03 FEB 2020

One day after prep date:

Release date: WIP fill in date: usually Monday WIP

nathanstilwell avatar Feb 03 '20 18:02 nathanstilwell

Roachtest Failures https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_NightlySuite/1728654?buildTab=overview

cdc

  • [ ] cdc/cloud-sink-gcs/rangefeed=true

kv

  • [ ] tpcc/w=100/nodes=3/chaos=true - actually opt cc @RaduBerinde
  • [x] tpccbench/nodes=9/cpu=4/multi-region
  • [x] disk-stalled/log=true,data=false

appdev

  • [x] django
  • [x] gopg
  • [x] lib/pq
  • [x] pgx
  • [x] psycopg
  • [x] sqlalchemy

sql-schema

  • [ ] schemachange/mixed/tpcc

??

  • [ ] TestRandomSyntaxSQLSmith
  • [x] pgjdbc

Ignored • sqlsmith/setup=tpcc/setting=default • sqlsmith/setup=tpcc/setting=no-ddl • sqlsmith/setup=tpcc/setting=no-mutations • sqlsmith/setup=tpch-sf1/setting=default • sqlsmith/setup=empty/setting=default • sqlsmith/setup=rand-tables/setting=default • sqlsmith/setup=seed/setting=default • sqlsmith/setup=seed/setting=no-ddl • sqlsmith/setup=seed/setting=no-mutations

nathanstilwell avatar Feb 06 '20 18:02 nathanstilwell

Signing off on tpccbench/nodes=9/cpu=4/multi-region and disk-stalled/log=true,data=false. They look like harmless test issues.

I can't sign off on tpcc/w=100/nodes=3/chaos=true yet. We see that a node died immediately after it was intentionally killed and then brought back up due to chaos. What's unclear is why it died the second time. We don't have any logs for the node that died. In fact, we don't have any cockroach logs at all in any of these failed tests, all we have is cockroach.stderr.log, cockroach.stdout.log, and roachprod.log. Did something change here? cc. @tbg @bobvawter?

nvb avatar Feb 06 '20 20:02 nvb

Looks like node 1 died in the cdc test, but that one doesn't have node logs either

danhhz avatar Feb 06 '20 20:02 danhhz

Tobias and Bob are away today and tomorrow.

knz avatar Feb 06 '20 21:02 knz

@nathanstilwell, can we make sure the tag ends up v20.1.0-alpha.20200210 for consistency with previous alphas? I'm asking because the issue title uses a different date format.

jseldess avatar Feb 06 '20 22:02 jseldess

@jseldess I think that's a typo, sorry about that. I believe the tag format is constant in the github tags, binaries, etc.

nathanstilwell avatar Feb 06 '20 22:02 nathanstilwell

Did something change here? cc. @tbg @bobvawter?

Known problem, though I was hoping it was a fluke. I'm looking into this today. Taking this over to https://github.com/cockroachdb/cockroach/issues/44843

tbg avatar Feb 07 '20 08:02 tbg

I vaguely suspect that this is due to the change of artifacts directory here:

https://github.com/cockroachdb/cockroach/pull/44447

I'm not sure yet why, but perhaps TC creates the artifacts directory (before we'd create another level under it) and so its permissions/owner is different. I'm throwing a chmod o+rwx artifacts in there to see if it helps.

tbg avatar Feb 07 '20 10:02 tbg

I ran this test a few times manually and quickly am getting this crash:

I200207 10:19:31.744347 1567 sql/lease.go:1939  released orphaned table lease: {id:61 version:11 expiration:{Time:{wall
:33281000 ext:63716667806 loc:<nil>}}}
fatal error: concurrent map writes
fatal error: concurrent map writes

goroutine 1444 [running]:
runtime.throw(0x4295494, 0x15)
        /usr/local/go/src/runtime/panic.go:774 +0x72 fp=0xc009f30960 sp=0xc009f30930 pc=0x792a22
runtime.mapassign_fast64(0x3d0bda0, 0xc009b472c0, 0xa00000000, 0x7fffffffffffffff)
        /usr/local/go/src/runtime/map_fast64.go:176 +0x337 fp=0xc009f309a0 sp=0xc009f30960 pc=0x774f27
github.com/cockroachdb/cockroach/pkg/sql/opt/props.(*ColStatsMap).addToIndex(0xc008582098, 0x400, 0x0, 0x0)
        /go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/props/col_stats_map.go:270 +0x10e fp=0xc009f309e8 sp=0xc009f309a0 pc=0x1dcedae
github.com/cockroachdb/cockroach/pkg/sql/opt/props.(*ColStatsMap).Add(0xc008582098, 0x1000, 0x0, 0x0, 0xc009f30b48)
        /go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/props/col_stats_map.go:188 +0x15a fp=0xc009f30a88 sp=0xc009f309e8 pc=0x1dce64a
github.com/cockroachdb/cockroach/pkg/sql/opt/memo.(*statisticsBuilder).colStatLeaf(0xc008c55b08, 0x1000, 0x0, 0xc008582088, 0xc008582058, 0x0, 0x0, 0x3)

cc @RaduBerinde / @rytaft

tbg avatar Feb 07 '20 10:02 tbg

@tbg can you send out the full log file? I will try to repro in the meantime.

RaduBerinde avatar Feb 07 '20 16:02 RaduBerinde

https://gist.github.com/tbg/64178c71a186264e8924f5220f3db824

tbg avatar Feb 07 '20 16:02 tbg

teamcity-1736338-1581091138-03-n4cpu4:1 is still around if you want to poke at it

tbg avatar Feb 07 '20 16:02 tbg

I filed https://github.com/cockroachdb/cockroach/issues/44867. This is surfaced by the FK-driven FK checks (which were not enabled in 19.2).

RaduBerinde avatar Feb 07 '20 17:02 RaduBerinde

I have a fix out for #44872. Is it too late to respin the build? I don't know how frequent the crash is in practice.

RaduBerinde avatar Feb 07 '20 18:02 RaduBerinde

It's pretty frequent, if you run the test 10x you'll definitely see it more than once

On Fri, Feb 7, 2020 at 7:23 PM RaduBerinde [email protected] wrote:

I have a fix out for #44872 https://github.com/cockroachdb/cockroach/pull/44872. Is it too late to respin the build? I don't know how frequent the crash is in practice.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cockroachdb/cockroach/issues/44650?email_source=notifications&email_token=ABGXPZDQDII73SLEJOHEGFTRBWRK3A5CNFSM4KPKJSX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELEB35A#issuecomment-583540212, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGXPZC2ONOLOO7TYE5SDCLRBWRK3ANCNFSM4KPKJSXQ .

tbg avatar Feb 07 '20 20:02 tbg

Hate to say this Dan, but there aren't any logs on this link. Is this the right build? #1441 at 4 Feb 18:23

I don't think I had fixed the logs by then. do you mean one of the newer ones here?

https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_WorkloadNightly?branch=provisional_202002031955_v20.1.0-alpha.20200210&buildTypeTab=overview&mode=builds

tbg avatar Feb 12 '20 11:02 tbg

Yeah, discovered that yesterday but didn't have a chance to fix it before EOD. Okay linking to the right build this time: roachtest failures

KV

  • [x] hotspotsplits/nodes=4
  • [x] network/tpcc/nodes=4
  • [x] disk-stalled/log=true,data=false
  • [x] follower-reads/nodes=3
  • [ ] kv/contention/nodes=4

AppDev

  • [x] django
  • [x] pgjdbc
  • [x] sqlalchemy

SQL Schema

  • [ ] schemachange/invertedindex

Non-blockers

sqlsmith/setup=empty/setting=default sqlsmith/setup=rand-tables/setting=default sqlsmith/setup=seed/setting=default sqlsmith/setup=seed/setting=no-ddl sqlsmith/setup=seed/setting=no-mutations sqlsmith/setup=tpcc/setting=default sqlsmith/setup=tpcc/setting=no-ddl sqlsmith/setup=tpcc/setting=no-mutations sqlsmith/setup=tpch-sf1/setting=default

danhhz avatar Feb 12 '20 15:02 danhhz

The network/tpcc/nodes=4 error has the same thing in the workload log that I also asked @nvanbenschoten about in https://github.com/cockroachdb/cockroach/issues/40935#issuecomment-584140335., except in this time maybe it failed the test?

But again here it seems that the machine is hosed. We can't even ssh in: https://teamcity.cockroachdb.com/repository/download/Cockroach_Nightlies_WorkloadNightly/1745085:id/network/tpcc/nodes%3D4/run_1/test.log

tbg avatar Feb 12 '20 16:02 tbg

hotspotsplits has a node OOM. This is expected until I've finished my kvfetcher byte limits work.

tbg avatar Feb 12 '20 16:02 tbg

disk-stalled is fine too. The error is ERROR: cockroach server exited with error: could not query store capacity: open /mnt/data1/cockroach/real/logs: permission denied. We must've broken something in the test but either way this won't block the release.

tbg avatar Feb 12 '20 16:02 tbg