[SERVER-25651] Use set -o xtrace in bash in evergreen.yml Created: 16/Aug/16  Updated: 06/Dec/22

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

Type: Improvement Priority: Minor - P4
Reporter: Mathias Stearn Assignee: Backlog - Server Tooling and Methods (STM) (Inactive)
Resolution: Unresolved Votes: 1
Labels: build-guardians, neweng, stm, tig-evgconfig
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Tooling & Methods
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Currently we use set -o verbose which runs before variable expansion so it prints out lines like this which don't include the value of $extra_args:

PATH=$PATH:/data/multiversion MONGOD_UNITTEST_RLP_LANGUAGE_TEST_BTROOT=/opt/basis python buildscripts/resmoke.py --suites=multiversion $extra_args --log=buildlogger

We should probably use set -o xtrace instead of or in addition to verbose.



 Comments   
Comment by Steven Vannelli [ 10/May/22 ]

Moving this ticket to the Backlog and removing the "Backlog" fixVersion as per our latest policy for using fixVersions.

Comment by Jonathan Abrahams [ 22/Dec/16 ]

We should make sure that any options work for the default shell (on Ubuntu it's dash). A general cleanup of shell.exec should be done under a broader set of tickets.

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