You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
[2020-03-28 19:41:36.972] + prepare_server rhel70
[2020-03-28 19:41:36.972] + arch=rhel70
[2020-03-28 19:41:36.972] + test -n ''
[2020-03-28 19:41:36.972] + test 4.2 = latest
[2020-03-28 19:41:36.972] + download_version=4.2
[2020-03-28 19:41:36.973] +++ dirname .evergreen/run-tests.sh
[2020-03-28 19:41:36.974] ++ .evergreen/get-mongodb-download-url 4.2 rhel70
[2020-03-28 19:41:39.505] + url='Warning: the --server flag is deprecated and has no effect most JVMs
[2020-03-28 19:41:39.505] https://downloads.mongodb.com/linux/mongodb-linux-x86_64-enterprise-rhel70-4.2.5.tgz'
You can see that the url variable now contains the warning message followed by the URL. Due to the warning message being prepended to the URL, this variable now has wrong content and subsequent operations using it fail.
It appears that the offending message was added in 18.104.22.168 here.
Looking at that file, there are several other messages being printed to standard output and I expect they would also produce the same issue.
I tried to reproduce this issue locally here but have not succeeded in doing so by invoking ruby or jruby. If I invoke jruby.bash the issue reproduces.
jruby 22.214.171.124 (2.5.7) 2020-03-02 612d7a05a6 Java HotSpot(TM) 64-Bit Server VM 25.162-b12 on 1.8.0_162-b12 +jit [linux-x86_64]
jruby 126.96.36.199 (2.5.7) 2020-03-02 612d7a05a6 OpenJDK 64-Bit Server VM 25.242-b08 on 1.8.0_242-8u242-b08-0ubuntu3~18.04-b08 +jit [linux-x86_64]