[SERVER-10137] sort1.js failed on OS X 10.5 64-bit DUR OFF Created: 09/Jul/13  Updated: 11/Jul/16  Resolved: 09/Jul/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.5.1

Type: Bug Priority: Major - P3
Reporter: Matt Kangas Assignee: Greg Studer
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

buildbot: OS X 10.5 64-bit DUR OFF
Solaris-SmartOS 64-bit
Linux 64-bit Build #5588


Issue Links:
Related
related to SERVER-10135 sort1.js fails when balancer interferes Closed
Operating System: ALL
Participants:

 Description   

This is an odd, new failure. Started at OS X 10.5 64-bit DUR OFF #2412

Jul 08 20:40	af45cb2615d1...	failure	#2413	Failed test
Jul 08 17:02	3e47b95f0de5...	failure	#2412	Failed test_11
Jul 08 12:57	0564d3e830c7...	success	#2411	Build successful

http://buildbot.mongodb.org/builders/OS%20X%2010.5%2064-bit%20DUR%20OFF/builds/2412
http://buildbot.mongodb.org/builders/OS%20X%2010.5%2064-bit%20DUR%20OFF/builds/2412/steps/test_11/logs/stdio
http://buildlogs.mongodb.org/OS%20X%2010.5%2064-bit%20DUR%20OFF/builds/2412/test/sharding/sort1.js

ShardingTest undefined going to add shard : localhost:30000
 m30999| Mon Jul  8 20:40:42.378 [conn1] couldn't find database [admin] in config db
 m30000| Mon Jul  8 20:40:42.379 [conn4] build index config.databases { _id: 1 }
 m30000| Mon Jul  8 20:40:42.379 [conn4] build index done.  scanned 0 total records. 0 secs
 m30999| Mon Jul  8 20:40:42.379 [conn1] 	 put [admin] on: config:localhost:30000
 m30999| Mon Jul  8 20:40:42.380 [conn1] going to add shard: { _id: "shard0000", host: "localhost:30000" }
{ "shardAdded" : "shard0000", "ok" : 1 }
ShardingTest undefined going to add shard : localhost:30001
 m30001| Mon Jul  8 20:40:42.382 [initandlisten] connection accepted from 127.0.0.1:59966 #2 (2 connections now open)
 m30999| Mon Jul  8 20:40:42.382 [conn1] going to add shard: { _id: "shard0001", host: "localhost:30001" }
{ "shardAdded" : "shard0001", "ok" : 1 }
Mon Jul  8 20:40:42.385 ReferenceError: db is not defined at src/mongo/shell/utils_sh.js:96
failed to load: /data/buildslaves/OS_X_105_64bit_DUR_OFF/mongo/jstests/sharding/sort1.js

Greg, please triage



 Comments   
Comment by auto [ 02/Aug/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10137 sort1.js can't use sh.stopBalancer without a db
Branch: v2.4
https://github.com/mongodb/mongo/commit/268d3f6656021733914d5f743ab4bb6eb5db61bd

Comment by auto [ 09/Jul/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10137 sort1.js can't use sh.stopBalancer without a db
Branch: master
https://github.com/mongodb/mongo/commit/1b6bb038ccbf0d1b18bc97220e0190b2c251e78c

Comment by Greg Studer [ 09/Jul/13 ]

Argh, yeah s not sh.stopBalancer

Comment by Matt Kangas [ 09/Jul/13 ]

Also now Linux 64-bit Build #5588

http://buildbot.mongodb.org/builders/Linux%2064-bit/builds/5588/steps/test_11/logs/stdio
http://buildlogs.mongodb.org/Linux%2064-bit/builds/5588/test/sharding/sort1.js

Comment by Matt Kangas [ 09/Jul/13 ]

Also on Solaris-SmartOS 64-bit builds 1117, 1118

http://buildbot.mongodb.org/builders/Solaris-SmartOS%2064-bit/builds/1117/steps/test_11/logs/stdio
http://buildlogs.mongodb.org/Solaris-SmartOS%2064-bit/builds/1117/test/sharding/sort1.js

ShardingTest undefined going to add shard : localhost:30000
 m30999| Tue Jul  9 00:33:00.947 [conn1] couldn't find database [admin] in config db
 m30000| Tue Jul  9 00:33:00.948 [conn4] build index config.databases { _id: 1 }
 m30000| Tue Jul  9 00:33:00.948 [conn4] build index done.  scanned 0 total records. 0 secs
 m30999| Tue Jul  9 00:33:00.948 [conn1] 	 put [admin] on: config:localhost:30000
 m30999| Tue Jul  9 00:33:00.950 [conn1] going to add shard: { _id: "shard0000", host: "localhost:30000" }
{ "shardAdded" : "shard0000", "ok" : 1 }
ShardingTest undefined going to add shard : localhost:30001
 m30001| Tue Jul  9 00:33:00.952 [initandlisten] connection accepted from 127.0.0.1:53426 #2 (2 connections now open)
 m30999| Tue Jul  9 00:33:00.954 [conn1] going to add shard: { _id: "shard0001", host: "localhost:30001" }
{ "shardAdded" : "shard0001", "ok" : 1 }
Tue Jul  9 00:33:00.958 ReferenceError: db is not defined at src/mongo/shell/utils_sh.js:96
failed to load: /data/buildslaves/SolarisSmartOS_64bit/mongo/jstests/sharding/sort1.js

Generated at Thu Feb 08 03:22:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.