Giter VIP home page Giter VIP logo

Comments (4)

cockroach-teamcity avatar cockroach-teamcity commented on July 23, 2024

ccl/changefeedccl.TestChangefeedWithNoDistributionStrategy failed on master @ 067e48d29b9093038f6fcf2074cd761ffdcd4fe2:

=== RUN   TestChangefeedWithNoDistributionStrategy
    test_log_scope.go:170: test logs captured to: outputs.zip/logTestChangefeedWithNoDistributionStrategy954441901
    test_log_scope.go:81: use -show-logs to present logs inline
    test_server_shim.go:157: automatically injected a shared process virtual cluster under test; see comment at top of test_server_shim.go for details.
    changefeed_dist_test.go:229: found partitions: [{1 /Tenant/10/Table/104/1{-/2}} {2 /Tenant/10/Table/104/1/{2-4}} {3 /Tenant/10/Table/104/1/{4-8}} {4 /Tenant/10/Table/104/1/{8-16}} {5 /Tenant/10/Table/104/1/{16-32}} {6 /Tenant/10/Table/104/1/{32-50}, /Tenant/10/Table/104/{1/51-2}} {8 /Tenant/10/Table/104/1/5{0-1}}]
    changefeed_dist_test.go:338: range counts: [2 2 4 8 16 31 0 1]
    changefeed_dist_test.go:370: 
        	Error Trace:	github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/changefeed_dist_test.go:370
        	Error:      	Should be true
        	Test:       	TestChangefeedWithNoDistributionStrategy
        	Messages:   	unexpected counts [2 2 4 8 16 31 0 1], partitions: [{1 /Tenant/10/Table/104/1{-/2}} {2 /Tenant/10/Table/104/1/{2-4}} {3 /Tenant/10/Table/104/1/{4-8}} {4 /Tenant/10/Table/104/1/{8-16}} {5 /Tenant/10/Table/104/1/{16-32}} {6 /Tenant/10/Table/104/1/{32-50}, /Tenant/10/Table/104/{1/51-2}} {8 /Tenant/10/Table/104/1/5{0-1}}]
    panic.go:626: -- test log scope end --
test logs left over in: outputs.zip/logTestChangefeedWithNoDistributionStrategy954441901
--- FAIL: TestChangefeedWithNoDistributionStrategy (106.03s)

Parameters:

  • =true
  • attempt=1
  • run=10
  • shard=16
Help

See also: How To Investigate a Go Test Failure (internal)

This test on roachdash | Improve this report!

from cockroach.

cockroach-teamcity avatar cockroach-teamcity commented on July 23, 2024

ccl/changefeedccl.TestChangefeedWithNoDistributionStrategy failed on master @ 0b6de9c809f8a4df2ba943a8c9dd023adb03b01d:

=== RUN   TestChangefeedWithNoDistributionStrategy
    test_log_scope.go:170: test logs captured to: outputs.zip/logTestChangefeedWithNoDistributionStrategy2760564705
    test_log_scope.go:81: use -show-logs to present logs inline
    changefeed_dist_test.go:229: found partitions: [{1 /Table/104/1{-/2}} {2 /Table/104/1/{2-4}} {3 /Table/104/1/{4-8}, /Table/104/{1/63-2}} {4 /Table/104/1/{8-16}} {5 /Table/104/1/{16-32}} {6 /Table/104/1/{32-63}}]
    changefeed_dist_test.go:338: range counts: [2 2 5 8 16 31 0 0]
    changefeed_dist_test.go:370: 
        	Error Trace:	github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/changefeed_dist_test.go:370
        	Error:      	Should be true
        	Test:       	TestChangefeedWithNoDistributionStrategy
        	Messages:   	unexpected counts [2 2 5 8 16 31 0 0], partitions: [{1 /Table/104/1{-/2}} {2 /Table/104/1/{2-4}} {3 /Table/104/1/{4-8}, /Table/104/{1/63-2}} {4 /Table/104/1/{8-16}} {5 /Table/104/1/{16-32}} {6 /Table/104/1/{32-63}}]
    panic.go:626: -- test log scope end --
test logs left over in: outputs.zip/logTestChangefeedWithNoDistributionStrategy2760564705
--- FAIL: TestChangefeedWithNoDistributionStrategy (88.94s)

Parameters:

  • =true
  • attempt=1
  • run=7
  • shard=16
Help

See also: How To Investigate a Go Test Failure (internal)

This test on roachdash | Improve this report!

from cockroach.

jayshrivastava avatar jayshrivastava commented on July 23, 2024

I wonder if computing log(0) has something to do with this :)

// Distribute the leases exponentially across the first 5 nodes.
for i := 0; i < 64; i += 1 {
nodeID := int(math.Floor(math.Log2(float64(i)))) + 1

from cockroach.

jayshrivastava avatar jayshrivastava commented on July 23, 2024

Running ALTER TABLE x EXPERIMENTAL_RELOCATE VALUES (ARRAY[-9223372036854775807], 0) succeeds without an error. I'm guessing we get these garbage values which are ignored 99.9% of the time and the range stays on node 1, which is its original node. These flakes are probably caused by nodeID := int(math.Floor(math.Log2(float64(i)))) + 1 returning an actual node id sometimes.

from cockroach.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.