[CDRIVER-4134] /http test failing with "No response received" Created: 18/Aug/21  Updated: 28/Oct/23  Resolved: 14/Apr/23

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.24.0

Type: Task Priority: Unknown
Reporter: Ezra Chung Assignee: Ezra Chung
Resolution: Fixed Votes: 0
Labels: flaky-tests
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-4538 /http test fails with timeout when co... Closed
is related to CDRIVER-4111 Mock server tests sometimes fail afte... Closed
Epic Link: Stabilize Evergreen

 Description   

Observed in this patch.

Likely related to CDRIVER-4111 as similar errors are observed (failure preceeded by `isMaster` command).

However, failures appear to extend beyond those, such as during pre-task commands:

[2021/08/18 20:00:31.940] Running command 'shell.exec' in "prepare kerberos" (step 4 of 4)
[2021/08/18 20:00:31.945] Command failed: command encountered problem: error waiting on process '5e7e7a1e-5b12-46b1-be3e-5ae5b30b2317': exit status 1
[2021/08/18 20:00:31.945] Finished 'shell.exec' in "prepare kerberos" in 5.723945ms

and during test suite execution:

[2021/08/18 20:03:54.062] Begin /http, seed 2542195741
[2021/08/18 20:04:04.072] FAIL:/data/mci/5339cbdb432183c1745c3a924608e94d/mongoc/src/libmongoc/tests/test-mongoc-http.c:47  test_mongoc_http()
[2021/08/18 20:04:04.072]   r
[2021/08/18 20:04:04.072]   No response received
[2021/08/18 20:04:04.097] Aborted
[2021/08/18 20:04:04.097] Command failed: command encountered problem: error waiting on process '1abe61ad-e2e0-4e3f-a5b0-8d3147c04d64': exit status 134
[2021/08/18 20:04:04.097] Task completed - FAILURE.



 Comments   
Comment by Githook User [ 14/Apr/23 ]

Author:

{'name': 'Ezra Chung', 'email': '88335979+eramongodb@users.noreply.github.com', 'username': 'eramongodb'}

Message: CDRIVER-4134 Use simple HTTP server for /http tests (#1237)

  • Add simple_http_server.py script for /http tests
  • Add missing package requirement "packaging"
  • Use simple HTTP server for /http tests
Generated at Wed Feb 07 21:20:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.