[CDRIVER-1999] Misformatted test-results.json on POWER8 Created: 23/Jan/17  Updated: 25/Jan/17  Resolved: 25/Jan/17

Status: Closed
Project: C Driver
Component/s: libmongoc, tests
Affects Version/s: 1.5.0
Fix Version/s: 1.6.0

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File test-results.json    

 Description   

A patch build failed in the "uploading test results" task because the test-results.json contains improperly escaped quotes in the mock server's raw log:

"log_raw": "listening on port 39075\n 0.00  34566 -> server port 39075 (connected)\n 0.00  34566 -> 39075 OP_QUERY admin.$cmd { \"isMaster\" : 1, \"client\" : { \"driver\" : { \"name\" : \"mongoc\", \"version\" : \"1.6.0-dev\" }, \"os\" : { \"type\" : \"Linux\", \"name\" : \"Ubuntu\", \"version\" : \"16.04\", \"architecture\" : \"ppc64le\" }, \"platform\" : \"cfg=0x3820 posix=200809 stdc=201112 CC=GCC 5.4.0 20160609 CFLAGS=\\" -mcpu=power8 -mtune=power8 -mcmodel=medium -Werror\\" LDFLAGS=\\"\\"\" } }

https://evergreen.mongodb.com/task/mongo_c_driver_power8_ubuntu1604_test_3.4_sharded_cluster_noauth_sasl_nossl_d27405859d0a5b664d69c9dc713771a1a54f1861_17_01_23_19_32_30



 Comments   
Comment by Githook User [ 24/Jan/17 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1999 escape raw log in test-results.json
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/5d7f68f9a96a949981cb952305e3450b7f9f8678

Generated at Wed Feb 07 21:13:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.