Operational Defect Database

BugZero found this defect 2386 days ago.

MongoDB | 415908

[SERVER-30630] Remote hang_analyzer invoked during timeout phase even when the task doesn't have remote processes

Last update date:

10/30/2023

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

3.5.12

Description:

Info

The ${aws_ec2_yml} expansion isn't set, which causes the if [ -f ${aws_ec2_yml|} ]; then condition to evaluate to true. See this Evergreen task as an example of when this was triggered. [2017/08/11 09:22:55.295] # Call hang_analyzer.py script for tasks that are running remote mongo processes [2017/08/11 09:22:55.295] # The file will define the remote's and . [2017/08/11 09:22:55.295] # Any task which uses remote processes will have previously loaded this file to set these [2017/08/11 09:22:55.295] # expansions macros. [2017/08/11 09:22:55.295] if [ -f ]; then [2017/08/11 09:22:55.295] core_ext=core [2017/08/11 09:22:55.295] if [ "Windows_NT" = "$OS" ]; then [2017/08/11 09:22:55.295] core_ext=mdmp [2017/08/11 09:22:55.295] fi [2017/08/11 09:22:55.295] ssh_options=" -o GSSAPIAuthentication=no -o CheckHostIP=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=10 -o ConnectionAttempts=10" [2017/08/11 09:22:55.295] # buildscripts must be installed in on the remote host. [2017/08/11 09:22:55.295] remote_dir=. [2017/08/11 09:22:55.296] cmds="PATH=\"/opt/mongodbtoolchain/gdb/bin:\$PATH\" $sudo python buildscripts/hang_analyzer.py $hang_analyzer_option" [2017/08/11 09:22:55.296] python buildscripts/remote_operations.py \ [2017/08/11 09:22:55.296] --verbose \ [2017/08/11 09:22:55.296] --userHost $USER@ \ [2017/08/11 09:22:55.296] --sshOptions "$ssh_options" \ [2017/08/11 09:22:55.296] --retries 10 \ [2017/08/11 09:22:55.296] --commands "$cmds" \ [2017/08/11 09:22:55.296] --commandDir [2017/08/11 09:22:55.296] python buildscripts/remote_operations.py \ [2017/08/11 09:22:55.296] --verbose \ [2017/08/11 09:22:55.296] --userHost $USER@ \ [2017/08/11 09:22:55.296] --operation "copy_from" \ [2017/08/11 09:22:55.296] --sshOptions "$ssh_options" \ [2017/08/11 09:22:55.296] --retries 10 \ [2017/08/11 09:22:55.296] --file "/debugger*.*" \ [2017/08/11 09:22:55.296] --file "/*.$core_ext" [2017/08/11 09:22:55.296] fi [2017/08/11 09:22:55.490] Usage: remote_operations.py [options] [2017/08/11 09:22:55.490] [2017/08/11 09:22:55.490] remote_operations.py: error: --commandDir option requires an argument

Top User Comments

xgen-internal-githook commented on Mon, 14 Aug 2017 15:47:08 +0000: Author: {'name': 'Jonathan Abrahams', 'username': 'hptabster', 'email': 'jonathan@mongodb.com'} Message: SERVER-30630 Remote hang_analyzer invoked during timeout phase even when the task doesn't have remote processes Branch: master https://github.com/mongodb/mongo/commit/10bff4daf0473b8970a2b7b7e34d18804655ba34

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...