[SERVER-10429] read_pref_cmd.js failed on multiple v2.4 builders Created: 04/Aug/13  Updated: 11/Jul/16  Resolved: 07/Aug/13

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

Type: Bug Priority: Critical - P2
Reporter: Matt Kangas Assignee: Randolph Tan
Resolution: Done Votes: 0
Labels: bad-test, buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

V2.4 Solaris-SmartOS 64-bit
V2.4 Linux RHEL 32-bit


Issue Links:
Depends
depends on SERVER-7533 Expose method to the mongo shell to g... Closed
Operating System: ALL
Participants:

 Description   

Is this related to SERVER-10383 or not?

renctan and greg_10gen, please investigate asap. We are seeing repeated failures on one of the V2.4 builders. Need to determine if this is a release-blocker or not.

------

V2.4 Solaris-SmartOS 64-bit Build #165 (Friday Aug 2, rev b89e706f)
V2.4 Solaris-SmartOS 64-bit Build #169 (Sun Aug 4, rev 268d3f66)

http://buildlogs.mongodb.org/V2.4%20Solaris-SmartOS%2064-bit/builds/165/test/sharding/read_pref_cmd.js

----
Testing mode: secondary, tag sets: [ { "tag" : "two" } ]
----
----
about to do: { "distinct" : "user", "key" : { "x" : 1 }, "query" : { "x" : 1 } }
----
Fri Aug  2 21:52:36.034 Error: Failed to do query, no good nodes in test-rs0 at src/mongo/shell/collection.js:53
failed to load: /data/buildslaves/SolarisSmartOS_64bit_V2.4/mongo/jstests/sharding/read_pref_cmd.js

http://buildlogs.mongodb.org/V2.4%20Solaris-SmartOS%2064-bit/builds/169/test/sharding/read_pref_cmd.js

----
Testing mode: secondary, tag sets: [ { "tag" : "two" } ]
----
 m31101| Sun Aug  4 10:48:02.790 [conn1] create collection test.system.profile { capped: true, size: 1048576 }
 m31101| Sun Aug  4 10:48:02.790 [conn1] allocExtent test.system.profile size 1048576 0
 m31101| Sun Aug  4 10:48:02.790 [conn1] New namespace: test.system.profile
 m31101| Sun Aug  4 10:48:02.790 [conn1] command test.$cmd command: { profile: 2.0 } ntoreturn:1 keyUpdates:0 locks(micros) w:516 reslen:58 0ms
----
about to do: { "distinct" : "user", "key" : { "x" : 1 }, "query" : { "x" : 1 } }
----
Sun Aug  4 10:48:02.831 Error: Failed to do query, no good nodes in test-rs0 at src/mongo/shell/collection.js:53
failed to load: /data/buildslaves/SolarisSmartOS_64bit_V2.4/mongo/jstests/sharding/read_pref_cmd.js


V2.4 Linux RHEL 32-bit Build #161 (Sat Aug 3, rev 268d3f6)
V2.4 Linux RHEL 32-bit Build #162 (Sat Aug 3, rev 268d3f6)
V2.4 Linux RHEL 32-bit Build #163 (Sun Aug 4, rev 268d3f6)

http://buildlogs.mongodb.org/V2.4%20Linux%20RHEL%2032-bit/builds/161/test/sharding/read_pref_cmd.js

Sat Aug  3 07:55:51.936 Error: Failed to do query, no good nodes in test-rs0 at src/mongo/shell/collection.js:53
failed to load: /data/buildslaves/Linux_RHEL_32bit_V2.4/mongo/jstests/sharding/read_pref_cmd.js

http://buildlogs.mongodb.org/V2.4%20Linux%20RHEL%2032-bit/builds/162/test/sharding/read_pref_cmd.js

Sat Aug  3 15:04:35.479 Error: Failed to do query, no good nodes in test-rs0 at src/mongo/shell/collection.js:53
failed to load: /data/buildslaves/Linux_RHEL_32bit_V2.4/mongo/jstests/sharding/read_pref_cmd.js

http://buildlogs.mongodb.org/V2.4%20Linux%20RHEL%2032-bit/builds/163/test/sharding/read_pref_cmd.js

Sun Aug  4 04:39:52.026 Error: Failed to do query, no good nodes in test-rs0 at src/mongo/shell/collection.js:53
failed to load: /data/buildslaves/Linux_RHEL_32bit_V2.4/mongo/jstests/sharding/read_pref_cmd.js



 Comments   
Comment by auto [ 07/Aug/13 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-10429 disable flaky test until we can fix it properly
Branch: v2.4
https://github.com/mongodb/mongo/commit/72009e81f2c622abdc26e39ada424cd5fa666ac9

Comment by auto [ 07/Aug/13 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-10429 disable flaky test until we can fix it properly
Branch: master
https://github.com/mongodb/mongo/commit/e323f9cb025348a8a349685595d8933cb3070775

Comment by Matt Kangas [ 06/Aug/13 ]

Again:

V2.4 OS X 10.5 64-bit Build #176 (Tue Aug 6, rev 3fc69c4a)
http://buildlogs.mongodb.org/V2.4%20OS%20X%2010.5%2064-bit/builds/176/test/sharding/read_pref_cmd.js

----
Testing mode: secondary, tag sets: [ { "tag" : "two" } ]
----
 m31101| Tue Aug  6 06:22:38.466 [conn1] command test.$cmd command: { profile: 2.0 } ntoreturn:1 keyUpdates:0 locks(micros) w:253 reslen:58 0ms
----
about to do: { "distinct" : "user", "key" : { "x" : 1 }, "query" : { "x" : 1 } }
----
Tue Aug  6 06:22:38.490 Error: Failed to do query, no good nodes in test-rs0 at src/mongo/shell/collection.js:53
failed to load: /data/buildslaves/OS_X_105_64bit_V2.4/mongo/jstests/sharding/read_pref_cmd.js


V2.4 Linux RHEL 32-bit Build #167 (Tue Aug 6, rev 3fc69c4)
http://buildlogs.mongodb.org/V2.4%20Linux%20RHEL%2032-bit/builds/167/test/sharding/read_pref_cmd.js

----
Testing mode: secondary, tag sets: [ { "tag" : "two" } ]
----
----
about to do: { "distinct" : "user", "key" : { "x" : 1 }, "query" : { "x" : 1 } }
----
Tue Aug  6 04:05:27.863 Error: Failed to do query, no good nodes in test-rs0 at src/mongo/shell/collection.js:53
failed to load: /data/buildslaves/Linux_RHEL_32bit_V2.4/mongo/jstests/sharding/read_pref_cmd.js

Comment by Randolph Tan [ 05/Aug/13 ]

Cause of failure - timing issue in test.

Details:
ReplicaSetMonitor still has not seen the tags from the reconfig by the time the test for tag checking runs.

Ways to fix the test:
1. Write cpp test
pros: more control on synchronization, faster
cons: cannot test mongos code path (meaning duplicate test logic), needs more time to write

2. Implement SERVER-7533
pros: will not take as long as option#1 to implement

Comment by Matt Kangas [ 05/Aug/13 ]

Again on V2.4 Linux RHEL 32-bit. This makes 4 consecutive failures on this builder.

V2.4 Linux RHEL 32-bit Build #164 Sun Aug 4

http://buildbot.mongodb.org:8081/builders/V2.4%20Linux%20RHEL%2032-bit/builds/164/steps/test_8/logs/stdio
http://buildlogs.mongodb.org/V2.4%20Linux%20RHEL%2032-bit/builds/164/test/sharding/read_pref_cmd.js

----
Testing mode: secondary, tag sets: [ { "tag" : "two" } ]
----
----
about to do: { "distinct" : "user", "key" : { "x" : 1 }, "query" : { "x" : 1 } }
----
Sun Aug  4 21:40:36.232 Error: Failed to do query, no good nodes in test-rs0 at src/mongo/shell/collection.js:53
failed to load: /data/buildslaves/Linux_RHEL_32bit_V2.4/mongo/jstests/sharding/read_pref_cmd.js

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