[SERVER-10374] repl_sync_only_db_with_special_chars.js failing on Windows Created: 30/Jul/13  Updated: 11/Jul/16  Resolved: 22/Aug/13

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

Type: Bug Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-10344 Race condition when starting up new m... Closed
Operating System: ALL
Participants:

 Description   

Assuming this is real since I've seen it on two different builders:

http://mci.10gen.com/ui/task/mongodb_mongo_master_windows_64_debug_f6a77ea2f6ae26f8408055f395ccc000db6008a8_13_07_29_20_40_06_replication_windows_64
http://mci.10gen.com/ui/task/mongodb_mongo_master_windows_64_f6a77ea2f6ae26f8408055f395ccc000db6008a8_13_07_29_20_40_06_replication_windows_64

m31001| repl: tailing: 0
m31001| repl: data too stale, halting replication
m31001| Tue Jul 30 01:18:04.895 [replslave] caught SyncException
m31001| Tue Jul 30 01:18:04.895 [replslave] repl: sleep 10 sec before next pass
m31001| Tue Jul 30 01:18:14.895 [replslave] all sources dead: data too stale halted replication, sleeping for 5 seconds
m31000| Tue Jul 30 01:18:14.895 [conn2] end connection 127.0.0.1:59362 (1 connection now open)
m31000| Tue Jul 30 01:18:14.896 [conn2] thread conn2 stack usage was 26824 bytes, which is the most so far
m31001| Tue Jul 30 01:18:19.895 [replslave] all sources dead: data too stale halted replication, sleeping for 5 seconds
m31001| Tue Jul 30 01:18:24.895 [replslave] all sources dead: data too stale halted replication, sleeping for 5 seconds
m31001| Tue Jul 30 01:18:29.895 [replslave] all sources dead: data too stale halted replication, sleeping for 5 seconds
assert.soon failed: function () {
var normalDocs = slave.getDB( normalDB ).data.find().count();
var specialDocs = slave.getDB( specialDB ).data.find().count();
 
return normalDocs == 0 && specialDocs == 1;
}, msg:Failed to only sync to [a-z]+
Error: Printing Stack Trace
at printStackTrace (src/mongo/shell/utils.js:37:15)
at doassert (src/mongo/shell/assert.js:6:5)
at Function.assert.soon (src/mongo/shell/assert.js:174:60)
at D:\data\mci\single_test\git@github.commongodb\mongo.git\master\replication\jstests\repl\repl_sync_only_db_with_special_chars.js:12:8
at D:\data\mci\single_test\git@github.commongodb\mongo.git\master\replication\jstests\repl\repl_sync_only_db_with_special_chars.js:19:3
Tue Jul 30 01:18:33.256 assert.soon failed: function () {
var normalDocs = slave.getDB( normalDB ).data.find().count();
var specialDocs = slave.getDB( specialDB ).data.find().count();
 
return normalDocs == 0 && specialDocs == 1;
}, msg:Failed to only sync to [a-z]+ at src/mongo/shell/assert.js:7
failed to load: D:\data\mci\single_test\git@github.commongodb\mongo.git\master\replication\jstests\repl\repl_sync_only_db_with_special_chars.js

The first failing commit was, however, a comment-only change, so this could be a flaky test or machine issue.



 Comments   
Comment by Andrew Morrow (Inactive) [ 22/Aug/13 ]

Fixed by disabling the test in commit: https://github.com/mongodb/mongo/commit/c5a876e531ef57c3b7e60ec53ef9617bc7475969

The test should be re-enabled when SERVER-10344 is fixed.

Comment by auto [ 22/Aug/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-10374 Disable sync only with special chars test due to SERVER-10344
Branch: master
https://github.com/mongodb/mongo/commit/c5a876e531ef57c3b7e60ec53ef9617bc7475969

Comment by Andrew Morrow (Inactive) [ 22/Aug/13 ]

The failure of this test has the same root cause as SERVER-10344. We have disabled the test. When SERVER-10344 is fixed, the test should be re-enabled.

Comment by Matt Kangas [ 22/Aug/13 ]

Happening lots on MCI Windows builders. (Wed Aug 21, rev 3696ac22)

enterprise-windows-64 replication
http://buildlogs.mongodb.org/mci_0.9_enterprise_windows_64/builds/605/test/replication_0/repl_sync_only_db_with_special_chars.js

windows-64 - replication
http://buildlogs.mongodb.org/mci_0.9_windows_64/builds/605/test/replication_0/repl_sync_only_db_with_special_chars.js

windows-64-debug - replication
http://buildlogs.mongodb.org/mci_0.9_windows_64_debug/builds/605/test/replication_0/repl_sync_only_db_with_special_chars.js

These all fail with

assert.soon failed: function () {
  var normalDocs = slave.getDB( normalDB ).data.find().count();
  var specialDocs = slave.getDB( specialDB ).data.find().count();
  return normalDocs == 0 && specialDocs == 1;
}, msg:Failed to only sync to [a-z]+
Error: Printing Stack Trace
    at printStackTrace (src/mongo/shell/utils.js:37:15)
    at doassert (src/mongo/shell/assert.js:6:5)
    at Function.assert.soon (src/mongo/shell/assert.js:174:60)
    at D:\data\mci\git@github.commongodb\mongo.git\master\jstests\repl\repl_sync_only_db_with_special_chars.js:12:8
    at D:\data\mci\git@github.commongodb\mongo.git\master\jstests\repl\repl_sync_only_db_with_special_chars.js:19:3
2013-08-22T01:14:10.470+0000 assert.soon failed: function () {
  var normalDocs = slave.getDB( normalDB ).data.find().count();
  var specialDocs = slave.getDB( specialDB ).data.find().count();
  return normalDocs == 0 && specialDocs == 1;
}, msg:Failed to only sync to [a-z]+ at src/mongo/shell/assert.js:7
failed to load: D:\data\mci\git@github.commongodb\mongo.git\master\jstests\repl\repl_sync_only_db_with_special_chars.js

More oddly, linux-64 failed on this test too. But the real error was "msg:Authenticating connection: connection to 127.0.0.1:31001"

http://mci.10gen.com/ui/task/mongodb_mongo_master_linux_64_debug_3696ac227caa1dd04aa133ad202b8250ebd7c02d_13_08_21_23_33_07_replication_auth_linux_64
http://buildlogs.mongodb.org/mci_0.9_windows_64_debug/builds/605/test/replication_0/repl_sync_only_db_with_special_chars.js

Comment by Andrew Morrow (Inactive) [ 13/Aug/13 ]

This is also failing a new update framework build on MCI: http://buildlogs.mongodb.org/mci_0.9_linux_64_debug_update_refactor/builds/327/test/replication_auth_0/repl_sync_only_db_with_special_chars.js

Comment by Andrew Morrow (Inactive) [ 30/Jul/13 ]

It failed in one of the linux C++11 builds too: http://mci.10gen.com/ui/task/mongodb_mongo_master_cxx11_ubuntu1204_64_212bd21d7528a86305bb399b6261a90ea8263953_13_07_29_18_50_34_replication_auth_ubuntu1204

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