[SERVER-46343] mongod test output adds extra newlines to log messages Created: 24/Feb/20  Updated: 29/Oct/23  Resolved: 25/Feb/20

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

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

It seems like this commit from SERVER-46156 started adding additional newlines to test output. For example:

[js_test:agg_fuzzer-de1f-1582551521358-0] 2020-02-24T13:39:22.477+0000 d20020| {"t":{"$date":"2020-02-24T13:39:22.476+0000"},"s":"I", "c":"CONTROL", "id":23285,"ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
[js_test:agg_fuzzer-de1f-1582551521358-0] 2020-02-24T13:39:22.477+0000 
[js_test:agg_fuzzer-de1f-1582551521358-0] 2020-02-24T13:39:22.478+0000 d20020| {"t":{"$date":"2020-02-24T13:39:22.478+0000"},"s":"W", "c":"ASIO",    "id":22601,"ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
[js_test:agg_fuzzer-de1f-1582551521358-0] 2020-02-24T13:39:22.479+0000 
[js_test:agg_fuzzer-de1f-1582551521358-0] 2020-02-24T13:39:22.480+0000 d20020| {"t":{"$date":"2020-02-24T13:39:22.480+0000"},"s":"W", "c":"ASIO",    "id":22601,"ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
[js_test:agg_fuzzer-de1f-1582551521358-0] 2020-02-24T13:39:22.481+0000 
[js_test:agg_fuzzer-de1f-1582551521358-0] 2020-02-24T13:39:22.481+0000 d20020| {"t":{"$date":"2020-02-24T13:39:22.481+0000"},"s":"I", "c":"STORAGE", "id":4615611,"ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":27144,"port":20020,"dbpath":"/data/db/job0/mongorunner/mongod-20020","architecture":"64-bit","host":"ip-10-122-66-172"}}
[js_test:agg_fuzzer-de1f-1582551521358-0] 2020-02-24T13:39:22.481+0000 
[js_test:agg_fuzzer-de1f-1582551521358-0] 2020-02-24T13:39:22.481+0000 d20020| {"t":{"$date":"2020-02-24T13:39:22.481+0000"},"s":"I", "c":"CONTROL", "id":20719,"ctx":"initandlisten","msg":"{mongodVersion_vii}","attr":{"mongodVersion_vii":"db version v4.3.3-517-gd545406"}}
[js_test:agg_fuzzer-de1f-1582551521358-0] 2020-02-24T13:39:22.481+0000 

This can be reproduced by running any test with resmoke locally.



 Comments   
Comment by Githook User [ 24/Feb/20 ]

Author:

{'name': 'Henrik Edin', 'username': 'henrikedin', 'email': 'henrik.edin@mongodb.com'}

Message: SERVER-46343 Remove extra newline in plain formatter
Branch: master
https://github.com/mongodb/mongo/commit/baa3f5561400ed05e67825701240aaaadbde796c

Generated at Thu Feb 08 05:11:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.