Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-46343

mongod test output adds extra newlines to log messages

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL

      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.

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: