Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10175

sharding/index1.js failure on V2.4 Linux 64-bit Subscription SUSE 11

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.6, 2.5.1
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Environment:
      V2.4 Linux 64-bit Subscription SUSE 11 Build #148
    • ALL

      A new V2.4 failure? Strange.

      V2.4 Linux 64-bit Subscription SUSE 11 Build #148 July 11 (rev 312466780)

      http://buildbot-special.10gen.com/builders/V2.4%20Linux%2064-bit%20Subscription%20SUSE%2011/builds/148/steps/shell_3/logs/stdio
      http://buildlogs.mongodb.org/V2.4%20Linux%2064-bit%20Subscription%20SUSE%2011/builds/148/test/sharding/index1.js

      Test # 0
      command { "shardcollection" : "test.foo0", "key" : { "x" : 1 } } failed: {
      	"ok" : 0,
      	"errmsg" : "can't shard collection 'test.foo0' with unique index on { num: 1.0 } and proposed shard key { x: 1.0 }. Uniqueness can't be maintained unless shard key is a prefix"
      }
      Test # 1
      ...
      Test # 9
      command { "shardcollection" : "test.foo9", "key" : { "x" : 1 } } failed: {
      	"ok" : 0,
      	"errmsg" : "can't shard collection 'test.foo9' with unique index on { num: 1.0 } and proposed shard key { x: 1.0 }. Uniqueness can't be maintained unless shard key is a prefix"
      }
      Test # 10
      assert failed : Should not be able to shard without index
      Error: Printing Stack Trace
          at printStackTrace (src/mongo/shell/utils.js:37:15)
          at doassert (src/mongo/shell/assert.js:6:5)
          at assert (src/mongo/shell/assert.js:14:5)
          at /data/buildslaves/Linux_64bit_Subscription_SUSE_11_V2.4/mongo/jstests/sharding/index1.js:191:9
      Thu Jul 11 09:35:53.559 JavaScript execution failed: assert failed : Should not be able to shard without index at src/mongo/shell/assert.js:L7
      failed to load: /data/buildslaves/Linux_64bit_Subscription_SUSE_11_V2.4/mongo/jstests/sharding/index1.js
      

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            matt.kangas Matt Kangas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: