[SERVER-11883] ssl tests failing with connection issues Created: 27/Nov/13  Updated: 10/Dec/14  Resolved: 27/Nov/13

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

Type: Bug Priority: Major - P3
Reporter: sam.helman@10gen.com Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: build-failure
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

See

http://mci.10gen.com/ui/task/mongodb_mongo_master_cxx11_ubuntu1204_64_730c2513f4f0af9068ce7ba0852cb63db56d2c99_13_11_27_18_28_06_ssl_ubuntu1204
http://mci.10gen.com/ui/task/mongodb_mongo_master_enterprise_ubuntu1204_64_730c2513f4f0af9068ce7ba0852cb63db56d2c99_13_11_27_18_28_06_ssl_ubuntu1204

The logs for the individual tests within above tasks are very short because it looks as if the initial connection attempt fails - for instance, the entire log for disable_x509.js for the first one is

MongoDB shell version: 2.5.5-pre-
connecting to: 127.0.0.1:27999/test
2013-11-27T20:29:31.051+0000 warning: SSL peer certificate validation failed:certificate has expired
2013-11-27T20:29:31.051+0000 warning: The server certificate does not match the host name 127.0.0.1
2013-11-27T20:29:31.051+0000 DBClientCursor::init call() failed
2013-11-27T20:29:31.052+0000 Error: DBClientBase::findN: transport error: 127.0.0.1:27999 ns: admin.$cmd query: { whatsmyuri: 1 } at src/mongo/shell/mongo.js:148
exception: connect failed



 Comments   
Comment by sam.helman@10gen.com [ 27/Nov/13 ]

There are some sslSpecial/ssl_mixedmode.js failures that look like they are probably caused by this as well:

http://mci.10gen.com/ui/task/mongodb_mongo_master_enterprise_linux_64_amazon_ami_730c2513f4f0af9068ce7ba0852cb63db56d2c99_13_11_27_18_28_06_sslSpecial_linux_64_amzn
http://mci.10gen.com/ui/task/mongodb_mongo_master_enterprise_ubuntu1204_64_730c2513f4f0af9068ce7ba0852cb63db56d2c99_13_11_27_18_28_06_sslSpecial_ubuntu1204

assert: [0] != [1] are not equal : Connection attempt failed when it should succeed sslMode:allowSSL SSL-shell:true
Error: Printing Stack Trace
    at printStackTrace (src/mongo/shell/utils.js:38:15)
    at doassert (src/mongo/shell/assert.js:6:5)
    at Function.assert.eq (src/mongo/shell/assert.js:32:5)
    at testCombination (/data/mci/git@github.commongodb/mongo.git/master/jstests/sslSpecial/ssl_mixedmode.js:36:16)
    at /data/mci/git@github.commongodb/mongo.git/master/jstests/sslSpecial/ssl_mixedmode.js:52:1
2013-11-27T20:32:08.297+0000 [0] != [1] are not equal : Connection attempt failed when it should succeed sslMode:allowSSL SSL-shell:true at src/mongo/shell/assert.js:7
failed to load: /data/mci/git@github.commongodb/mongo.git/master/jstests/sslSpecial/ssl_mixedmode.js

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