-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Server Tooling & Methods
-
ALL
Driver tests occasionally fail with this strange error:
[2020/07/01 22:03:56.354] + . /data/mci/4ba521569a7cb43abf2e2b408ef3c33f/drivers-tools/.evergreen/download-mongodb.sh [2020/07/01 22:03:56.355] ++ set -o xtrace [2020/07/01 22:03:56.355] ++ set -o errexit [2020/07/01 22:03:56.355] + get_distro [2020/07/01 22:03:56.355] + '[' -f /etc/os-release ']' [2020/07/01 22:03:56.355] + . /etc/os-release [2020/07/01 22:03:56.356] ++ splithorizon1 localhost [2020/07/01 22:03:56.356] /etc/os-release: line 1: splithorizon1: command not found [2020/07/01 22:03:56.356] Enabling coredumps [2020/07/01 22:03:56.356] Command failed: command encountered problem: error waiting on process '14483eb1-688d-48ab-843d-dd26cf81bce0': exit status 127 [2020/07/01 22:03:56.357] Task completed - FAILURE.
The following test seems to be the culprit as it edits /etc/os-release and leaves it in a strange state: https://github.com/mongodb/mongo/blob/f31bc89/jstests/ssl/repl_ssl_split_horizon.js#L6
/etc/os-release is supposed to be a "newline-separated list of environment-like shell-compatible variable assignments". https://www.freedesktop.org/software/systemd/man/os-release.html#Description