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

sql/logictest: TestPlannerLogic failed under stress #37757

Closed
cockroach-teamcity opened this issue May 23, 2019 · 1 comment
Closed

sql/logictest: TestPlannerLogic failed under stress #37757

cockroach-teamcity opened this issue May 23, 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/e6359159252597cab72855673bcd9334d339c0f9

Parameters:

TAGS=
GOFLAGS=-parallel=2

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

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

                    NULL                        /2/#/56/1/42/2/#/58/1/2     {1}       1
                    /2/#/56/1/42/2/#/58/1/2     /4/#/55/1/44                {2}       2
                    /4/#/55/1/44                /6/#/56/1/46/6/#/58/1/6     {3}       3
                    /6/#/56/1/46/6/#/58/1/6     /8                          {4}       4
                    /8                          /10/#/56/1/50/10/#/58/1/10  {5}       5
                    /10/#/56/1/50/10/#/58/1/10  /12/#/55/1/52               {1}       1
                    /12/#/55/1/52               /14/#/56/1/54/14/#/58/1/14  {2}       2
                    /14/#/56/1/54/14/#/58/1/14  /16                         {3}       3
                    /16                         /18/#/56/1/58/18/#/58/1/18  {4}       4
                    /18/#/56/1/58/18/#/58/1/18  /20/#/55/1/60               {5}       5
                    /20/#/55/1/60               /22/#/56/1/62/22/#/58/1/22  {1}       1
                    /22/#/56/1/62/22/#/58/1/22  /24                         {2}       2
                    /24                         /26/#/56/1/66/26/#/58/1/26  {3}       3
                    /26/#/56/1/66/26/#/58/1/26  /28/#/55/1/68               {4}       4
                    /28/#/55/1/68               /30/#/56/1/70/30/#/58/1/30  {5}       5
                    /30/#/56/1/70/30/#/58/1/30  /32                         {1}       1
                    /32                         /34/#/56/1/74/34/#/58/1/34  {2}       2
                    /34/#/56/1/74/34/#/58/1/34  /36/#/55/1/76               {3}       3
                    /36/#/55/1/76               /38/#/56/1/78/38/#/58/1/38  {4}       4
                    /38/#/56/1/78/38/#/58/1/38  NULL                        {5}       5
                    
                but found (query options: "colnames") :
                    start_key                   end_key                     replicas  lease_holder
                    NULL                        /2/#/57/1/42/2/#/59/1/2     {1}       1
                    /2/#/57/1/42/2/#/59/1/2     /4/#/55/1/44                {2}       2
                    /4/#/55/1/44                /6/#/57/1/46/6/#/59/1/6     {3}       3
                    /6/#/57/1/46/6/#/59/1/6     /8                          {4}       4
                    /8                          /10/#/57/1/50/10/#/59/1/10  {5}       5
                    /10/#/57/1/50/10/#/59/1/10  /12/#/55/1/52               {1}       1
                    /12/#/55/1/52               /14/#/57/1/54/14/#/59/1/14  {2}       2
                    /14/#/57/1/54/14/#/59/1/14  /16                         {3}       3
                    /16                         /18/#/57/1/58/18/#/59/1/18  {4}       4
                    /18/#/57/1/58/18/#/59/1/18  /20/#/55/1/60               {5}       5
                    /20/#/55/1/60               /22/#/57/1/62/22/#/59/1/22  {1}       1
                    /22/#/57/1/62/22/#/59/1/22  /24                         {2}       2
                    /24                         /26/#/57/1/66/26/#/59/1/26  {3}       3
                    /26/#/57/1/66/26/#/59/1/26  /28/#/55/1/68               {4}       4
                    /28/#/55/1/68               /30/#/57/1/70/30/#/59/1/30  {5}       5
                    /30/#/57/1/70/30/#/59/1/30  /32                         {1}       1
                    /32                         /34/#/57/1/74/34/#/59/1/34  {2}       2
                    /34/#/57/1/74/34/#/59/1/34  /36/#/55/1/76               {3}       3
                    /36/#/55/1/76               /38/#/57/1/78/38/#/59/1/38  {4}       4
                    /38/#/57/1/78/38/#/59/1/38  NULL                        {5}       5
                    
                
            logic.go:2348: 
                testdata/planner_test/distsql_interleaved_join:131: error while processing
            logic.go:2349: testdata/planner_test/distsql_interleaved_join:131: too many errors encountered, skipping the rest of the input
=== RUN   TestPlannerLogic/5node-dist
    --- FAIL: TestPlannerLogic/5node-dist (0.00s)

@cockroach-teamcity cockroach-teamcity added this to the 19.2 milestone May 23, 2019
@cockroach-teamcity cockroach-teamcity added C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. labels May 23, 2019
@andy-kimball
Copy link
Contributor

Closing as duplicate of #37698.

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

2 participants