[SERVER-10180] auth2.js failed on Nightly Linux 64-bit SSL Ubuntu 1204 Created: 11/Jul/13  Updated: 11/Jul/16  Resolved: 11/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: Andy Schwerin
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Nightly Linux 64-bit SSL Ubuntu 1204 Build #147
Nightly Linux RHEL 32-bit Build #570


Operating System: ALL
Participants:

 Description   

Nightly Linux 64-bit SSL Ubuntu 1204 Build #147

http://buildbot-special.10gen.com/builders/Nightly%20Linux%2064-bit%20SSL%20Ubuntu%201204/builds/147/steps/test_3/logs/stdio
http://buildlogs.mongodb.org/Nightly%20Linux%2064-bit%20SSL%20Ubuntu%201204/builds/147/test/replica%20sets/auth2.js

assert.soon failed: function () {
        try {
            var result = m.getDB("admin").runCommand({isMaster: 1});
            printjson(result);
            return !result.ismaster && !result.secondary;
        }
        catch ( e ) {
            print( e );
        }
    }, msg:undefined
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 checkInvalidAuthStates (/data/buildslaves/Linux_64bit_SSL_Ubuntu_1204_Nightly/mongo/jstests/replsets/auth2.js:41:12)
    at /data/buildslaves/Linux_64bit_SSL_Ubuntu_1204_Nightly/mongo/jstests/replsets/auth2.js:96:1
Wed Jul 10 21:59:15.810 assert.soon failed: function () {
        try {
            var result = m.getDB("admin").runCommand({isMaster: 1});
            printjson(result);
            return !result.ismaster && !result.secondary;
        }
        catch ( e ) {
            print( e );
        }
    }, msg:undefined at src/mongo/shell/assert.js:7
failed to load: /data/buildslaves/Linux_64bit_SSL_Ubuntu_1204_Nightly/mongo/jstests/replsets/auth2.js

Immediately above this failure message is:

 m31001| Wed Jul 10 21:59:15.391 [conn5] Unauthorized not authorized on admin to execute command { replSetHeartbeat: "rs_auth2", v: 1, pv: 1, checkEmpty: false, from: "ip-10-46-186-140:31000" }
 m31000| Wed Jul 10 21:59:15.391 [rsHealthPoll] replset info ip-10-46-186-140:31001 heartbeat failed, retrying
 m31001| Wed Jul 10 21:59:15.392 [conn5] Unauthorized not authorized on admin to execute command { replSetHeartbeat: "rs_auth2", v: 1, pv: 1, checkEmpty: false, from: "ip-10-46-186-140:31000" }
 m31002| Wed Jul 10 21:59:15.467 [conn4] Unauthorized not authorized on admin to execute command { replSetHeartbeat: "rs_auth2", v: 1, pv: 1, checkEmpty: false, from: "ip-10-46-186-140:31000" }
 m31000| Wed Jul 10 21:59:15.467 [rsHealthPoll] replset info ip-10-46-186-140:31002 heartbeat failed, retrying
 m31002| Wed Jul 10 21:59:15.467 [conn4] Unauthorized not authorized on admin to execute command { replSetHeartbeat: "rs_auth2", v: 1, pv: 1, checkEmpty: false, from: "ip-10-46-186-140:31000" }

Coincidence or cause?

Ren, please triage.



 Comments   
Comment by Andy Schwerin [ 11/Jul/13 ]

This was resolved by rolling back d430713c403fa6b065337cf7e480ed70940631ab, which was done in 2e2a6fdffdba369a0594962267e5bc7bb47a3f3a, which is the commit after the one the buildbot ran. Should be clean on next build.

Comment by Matt Kangas [ 11/Jul/13 ]

Same on Nightly Linux RHEL 32-bit Build #570

http://buildbot.mongodb.org/builders/Nightly%20Linux%20RHEL%2032-bit/builds/570/steps/test_9/logs/stdio
http://buildlogs.mongodb.org/Nightly%20Linux%20RHEL%2032-bit/builds/570/test/replica%20sets/auth2.js

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 checkInvalidAuthStates (/data/buildslaves/Linux_RHEL_32bit_Nightly/mongo/jstests/replsets/auth2.js:41:12)
    at /data/buildslaves/Linux_RHEL_32bit_Nightly/mongo/jstests/replsets/auth2.js:96:1
Wed Jul 10 17:24:30.056 assert.soon failed: function () {
        try {
            var result = m.getDB("admin").runCommand({isMaster: 1});
            printjson(result);
            return !result.ismaster && !result.secondary;
        }
        catch ( e ) {
            print( e );
        }
    }, msg:undefined at src/mongo/shell/assert.js:7
failed to load: /data/buildslaves/Linux_RHEL_32bit_Nightly/mongo/jstests/replsets/auth2.js

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