[SERVER-29755] Unix socket not created with latest server version by mongo-orchestration Created: 20/Jun/17  Updated: 30/Oct/23  Resolved: 22/Jun/17

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: 3.5.10

Type: Bug Priority: Major - P3
Reporter: Samuel Rossi (Inactive) Assignee: Jonathan Reams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File mongod.log    
Issue Links:
Duplicate
is duplicated by SERVER-29765 bindIp parsing error in latest server... Closed
Backwards Compatibility: Fully Compatible
Steps To Reproduce:

1. Spawn an Ubuntu 16.04 host from evergreen
2. Run the following commands to setup and run mongo-orchestration:

 
git clone git@github.com:mongodb-labs/drivers-evergreen-tools.git 
cd drivers-evergreen-tools 
export DRIVERS_TOOLS=$(pwd) 
export MONGODB_BINARIES=$DRIVERS_TOOLS/mongodb/bin 
export MONGO_ORCHESTRATION_HOME=$DRIVERS_TOOLS/.evergreen/orchestration
export MONGODB_VERSION=${mongodb_version} 
echo "{ \"releases\": { \"default\": \"$MONGODB_BINARIES\" } }" > $MONGO_ORCHESTRATION_HOME/orchestration.config 
./.evergreen/run-orchestration.sh 

The script will hang after instructing mongo-orchestration to start a standalone mongod.

3. To examine the mongod log file, look for the line containing "Creating log file for /data/mci/drivers-evergreen-tools/mongodb/bin/mongod:" in .evergreen/orchestration/server.log

Sprint: Platforms 2017-07-10
Participants:

 Description   

With the latest server version, mongo-orchestration is unable to start mongod for the C++ driver tests, giving the error "Failed to set up listener: SocketException: Permission denied" (see the attached logfile).

Link to one of the failing evergreen tasks: https://evergreen.mongodb.com/task/cxx_driver_ubuntu1604_debug_asan_compile_and_test_with_static_libs_e80123fb807c0608c62a71bf482b12e0e9ed48bc_17_06_19_18_03_27



 Comments   
Comment by Githook User [ 22/Jun/17 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: SERVER-29755 Fix hostname bind_ip values
Branch: master
https://github.com/mongodb/mongo/commit/e648b2bda5f48256b7cb330806f0456b02b94abc

Comment by Samuel Rossi (Inactive) [ 20/Jun/17 ]

It's also broken on Windows 2008 and OS X 10.10. When use 3.4 instead of "latest" as the the version, it works fine on all of them.

Windows failure: https://evergreen.mongodb.com/task/cxx_driver_windows_2k8_debug_compile_and_test_with_static_libs_7806c74a6f599104116ba85ec461b54d21977c51_17_06_19_14_41_52
OS X failure: https://evergreen.mongodb.com/task/cxx_driver_osx_1010_compile_and_test_with_static_libs_7806c74a6f599104116ba85ec461b54d21977c51_17_06_19_14_41_52

Comment by Bernie Hackett [ 20/Jun/17 ]

I moved this to build, because it looks like a problem with the ubuntu 16 image.

sam.rossi - are you having issues on any other evergreen distros? Does this work right with earlier versions of MongoDB on the ubuntu 16 distro?

Generated at Thu Feb 08 04:21:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.