Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ccl/importccl: TestImportCSVStmt failed under stress #34570

Closed
cockroach-teamcity opened this issue Feb 5, 2019 · 1 comment
Closed

ccl/importccl: TestImportCSVStmt failed under stress #34570

cockroach-teamcity opened this issue Feb 5, 2019 · 1 comment
Assignees
Labels
C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot.
Milestone

Comments

@cockroach-teamcity
Copy link
Member

SHA: https://github.com/cockroachdb/cockroach/commits/e09c33ffc49f15b4909d4f4509b96d1c3c36a956

Parameters:

TAGS=
GOFLAGS=-race

To repro, try:

# Don't forget to check out a clean suitable branch and experiment with the
# stress invocation until the desired results present themselves. For example,
# using stress instead of stressrace and passing the '-p' stressflag which
# controls concurrency.
./scripts/gceworker.sh start && ./scripts/gceworker.sh mosh
cd ~/go/src/github.com/cockroachdb/cockroach && \
stdbuf -oL -eL \
make stressrace TESTS=TestImportCSVStmt PKG=github.com/cockroachdb/cockroach/pkg/ccl/importccl TESTTIMEOUT=5m STRESSFLAGS='-maxtime 20m -timeout 10m' 2>&1 | tee /tmp/stress.log

Failed test: https://teamcity.cockroachdb.com/viewLog.html?buildId=1125291&tab=buildLog

I190205 08:35:41.478264 9190 storage/compactor/compactor.go:329  [n2,s2,compactor] purging suggested compaction for range /Table/59/3/728/!NULL - /Table/59/3/1430/"A"/PrefixEnd that contains live data
I190205 08:35:41.478675 9190 storage/compactor/compactor.go:329  [n2,s2,compactor] purging suggested compaction for range /Table/59/3/1430/"A"/PrefixEnd - /Table/59/3/2132/!NULL that contains live data
I190205 08:35:41.479064 9190 storage/compactor/compactor.go:329  [n2,s2,compactor] purging suggested compaction for range /Table/59/3/2132/!NULL - /Table/59/3/2834/"A"/PrefixEnd that contains live data
I190205 08:35:41.479519 9190 storage/compactor/compactor.go:329  [n2,s2,compactor] purging suggested compaction for range /Table/59/3/3536/!NULL - /Table/59/3/4525/"B"/PrefixEnd that contains live data
I190205 08:35:41.479845 9190 storage/compactor/compactor.go:329  [n2,s2,compactor] purging suggested compaction for range /Table/59/3/3824/NULL - /Table/59/3/4525/"B"/PrefixEnd that contains live data
I190205 08:35:41.480283 8883 storage/compactor/compactor.go:329  [n1,s1,compactor] purging suggested compaction for range /Table/59/2/"R"/147 - /Table/59/2/"V"/2570 that contains live data
I190205 08:35:41.480727 8883 storage/compactor/compactor.go:329  [n1,s1,compactor] purging suggested compaction for range /Table/59/2/"V"/2570 - /Table/59/3/0/!NULL that contains live data
I190205 08:35:41.481016 8883 storage/compactor/compactor.go:329  [n1,s1,compactor] purging suggested compaction for range /Table/59/3/0/!NULL - /Table/59/3/728/!NULL that contains live data
I190205 08:35:41.481395 8883 storage/compactor/compactor.go:329  [n1,s1,compactor] purging suggested compaction for range /Table/59/3/728/!NULL - /Table/59/3/1430/"A"/PrefixEnd that contains live data
I190205 08:35:41.484646 9190 storage/compactor/compactor.go:329  [n2,s2,compactor] purging suggested compaction for range /Table/59/3/4525/"B"/PrefixEnd - /Table/61 that contains live data
I190205 08:35:41.485207 8883 storage/compactor/compactor.go:329  [n1,s1,compactor] purging suggested compaction for range /Table/59/3/1430/"A"/PrefixEnd - /Table/59/3/2132/!NULL that contains live data
I190205 08:35:41.487975 8883 storage/compactor/compactor.go:329  [n1,s1,compactor] purging suggested compaction for range /Table/59/3/2132/!NULL - /Table/59/3/2834/"A"/PrefixEnd that contains live data
I190205 08:35:41.488413 8883 storage/compactor/compactor.go:329  [n1,s1,compactor] purging suggested compaction for range /Table/59/3/3536/!NULL - /Table/59/3/4525/"B"/PrefixEnd that contains live data
I190205 08:35:41.488852 8883 storage/compactor/compactor.go:329  [n1,s1,compactor] purging suggested compaction for range /Table/59/3/3824/NULL - /Table/59/3/4525/"B"/PrefixEnd that contains live data
I190205 08:35:41.489185 8883 storage/compactor/compactor.go:329  [n1,s1,compactor] purging suggested compaction for range /Table/59/3/4525/"B"/PrefixEnd - /Table/61 that contains live data
I190205 08:35:41.541633 9163 storage/store.go:2669  [n2,s2,r179/2:/Table/59{-/3/2834/…}] removing replica r176/2
I190205 08:35:41.544987 9415 storage/store.go:2669  [n3,s3,r179/3:/Table/59{-/3/2834/…}] removing replica r176/3
I190205 08:35:41.561153 8866 storage/store.go:2669  [n1,s1,r179/1:/Table/59{-/3/2834/…}] removing replica r176/1
    --- FAIL: TestImportCSVStmt/schema-in-query-transform-only (10.61s)
        import_stmt_test.go:1180: job 5 did not match:
            Description: "IMPORT TABLE \"\".\"\".t (a INT8 PRIMARY KEY, b STRING, INDEX (b), INDEX (a, b)) CSV DATA ('nodelocal:///csv/data-0-opts', 'nodelocal:///csv/data-1-opts', 'nodelocal:///csv/data-2-opts', 'nodelocal:///csv/data-3-opts', 'nodelocal:///csv/data-4-opts') WITH comment = '#', delimiter = '|', \"nullif\" = '', skip = '2', transform = 'nodelocal:///5'" != "IMPORT TABLE csv4.public.t (a INT8 PRIMARY KEY, b STRING, INDEX (b), INDEX (a, b)) CSV DATA ('nodelocal:///csv/data-0', 'nodelocal:///csv/data-1', 'nodelocal:///csv/data-2', 'nodelocal:///csv/data-3', 'nodelocal:///csv/data-4') WITH sstsize = '10K'"

@cockroach-teamcity cockroach-teamcity added this to the 2.2 milestone Feb 5, 2019
@cockroach-teamcity cockroach-teamcity added C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. labels Feb 5, 2019
@danhhz
Copy link
Contributor

danhhz commented Feb 5, 2019

Duplicate of #34568

@danhhz danhhz marked this as a duplicate of #34568 Feb 5, 2019
@danhhz danhhz closed this as completed Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot.
Projects
None yet
Development

No branches or pull requests

3 participants