Skip to content

ccl/logictestccl: TestCCLLogic failed under stress #42098

@cockroach-teamcity

Description

@cockroach-teamcity

SHA: https://github.com/cockroachdb/cockroach/commits/4c52530a33367c58e434111324fcda8c3d73582a

Parameters:

TAGS=
GOFLAGS=-parallel=4

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=TestCCLLogic PKG=github.com/cockroachdb/cockroach/pkg/ccl/logictestccl TESTTIMEOUT=5m STRESSFLAGS='-maxtime 20m -timeout 10m' 2>&1 | tee /tmp/stress.log

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

=== RUN   TestCCLLogic
--- FAIL: TestCCLLogic (5.81s)
    test_log_scope.go:77: test logs captured to: /tmp/logTestCCLLogic875843548
    test_log_scope.go:58: use -show-logs to present logs inline
=== RUN   TestCCLLogic/local/role
=== PAUSE TestCCLLogic/local/role
=== CONT  TestCCLLogic/local/role
        --- FAIL: TestCCLLogic/local/role (0.61s)
            logic.go:1896: 
                
                testdata/logic_test/role:195: 
                expected success, but found
                (42501) testuser is not a superuser or role admin for role testrole
                role.go:97: in func1()
            logic.go:2299: 
                testdata/logic_test/role:195: error while processing
            logic.go:2299: pq: testuser is not a superuser or role admin for role testrole
=== RUN   TestCCLLogic/local
    --- FAIL: TestCCLLogic/local (0.00s)

Metadata

Metadata

Assignees

Labels

C-test-failureBroken test (automatically or manually discovered).O-robotOriginated from a bot.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions