egeberkaygulcan / dstest

2 stars 1 forks source link

Error while creating new read request: malformed HTTP request #29

Open idilkara opened 1 month ago

idilkara commented 1 month ago

I am trying to run tests for Braft but I am getting this error from the HTTP interceptors.

[HTTP Interceptor 6] 2024/07/22 09:09:44 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)"

Here is the output I get when I try to run a test with the pct scheduler:

Starting dstest Name: braft-rel-172 [TestEngine] 2024/07/22 09:09:38 Starting experiment 1... [TestEngine] 2024/07/22 09:09:38 Starting iteration 1 [NetworkManager] 2024/07/22 09:09:38 Network manager initialized Faults: [NetworkManager] 2024/07/22 09:09:38 Network manager running [Client 1] 2024/07/22 09:09:38 Running worker with: /root/dstest/scripts/braft_client1.sh [Worker 2] 2024/07/22 09:09:38 Running worker with: /root/dstest/scripts/braft_server_relative.sh 10006 10007 8102 2 [Worker 0] 2024/07/22 09:09:38 Running worker with: /root/dstest/scripts/braft_server_relative.sh 8100 10001 10002 0 [Worker 1] 2024/07/22 09:09:38 Running worker with: /root/dstest/scripts/braft_server_relative.sh 10003 8101 10005 1 [HTTP Interceptor 6] 2024/07/22 09:09:44 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 7] 2024/07/22 09:09:44 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 1] 2024/07/22 09:09:44 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00b\x00\x00\x00(" [HTTP Interceptor 2] 2024/07/22 09:09:44 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00b\x00\x00\x00(" [HTTP Interceptor 3] 2024/07/22 09:09:44 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 5] 2024/07/22 09:09:44 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [Client 2] 2024/07/22 09:09:48 Running worker with: /root/dstest/scripts/braft_client3.sh [HTTP Interceptor 6] 2024/07/22 09:09:49 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 7] 2024/07/22 09:09:49 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 1] 2024/07/22 09:09:50 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00b\x00\x00\x00(" [HTTP Interceptor 2] 2024/07/22 09:09:50 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00b\x00\x00\x00(" [HTTP Interceptor 3] 2024/07/22 09:09:50 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 5] 2024/07/22 09:09:50 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 7] 2024/07/22 09:09:54 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 6] 2024/07/22 09:09:54 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 1] 2024/07/22 09:09:55 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 2] 2024/07/22 09:09:55 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 3] 2024/07/22 09:09:55 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 5] 2024/07/22 09:09:55 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [Client 3] 2024/07/22 09:09:58 Running worker with: /root/dstest/scripts/braft_client2.sh [HTTP Interceptor 6] 2024/07/22 09:10:00 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 7] 2024/07/22 09:10:00 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 1] 2024/07/22 09:10:00 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 2] 2024/07/22 09:10:00 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 5] 2024/07/22 09:10:01 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 3] 2024/07/22 09:10:01 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 6] 2024/07/22 09:10:06 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 7] 2024/07/22 09:10:06 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 1] 2024/07/22 09:10:06 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00b\x00\x00\x00(" [HTTP Interceptor 2] 2024/07/22 09:10:06 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00b\x00\x00\x00(" [HTTP Interceptor 3] 2024/07/22 09:10:07 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [HTTP Interceptor 5] 2024/07/22 09:10:07 Error while creating new read request: malformed HTTP request "PRPC\x00\x00\x00c\x00\x00\x00)" [Worker 1] 2024/07/22 09:10:08 Timeout, killing process. [Worker 1] 2024/07/22 09:10:08 Killed worker 1 [Worker 0] 2024/07/22 09:10:08 Timeout, killing process. [Worker 1] 2024/07/22 09:10:08 Calling the clean script. [Worker 0] 2024/07/22 09:10:08 Killed worker 0 [Worker 0] 2024/07/22 09:10:08 Calling the clean script. [Client 1] 2024/07/22 09:10:08 Timeout, killing process. [Client 1] 2024/07/22 09:10:08 Killed worker 1 [Worker 2] 2024/07/22 09:10:08 Timeout, killing process. [Worker 2] 2024/07/22 09:10:08 Killed worker 2 [Worker 2] 2024/07/22 09:10:08 Calling the clean script. [ProcessManager]2024/07/22 09:10:08 Worker 0 status: Timeout [ProcessManager]2024/07/22 09:10:08 Worker 1 status: Timeout [ProcessManager]2024/07/22 09:10:08 Worker 2 status: Timeout [ProcessManager]2024/07/22 09:10:08 Client 1 status: Timeout [ProcessManager]2024/07/22 09:10:08 Client 2 status: Running [ProcessManager]2024/07/22 09:10:08 Client 3 status: Running [ProcessManager]2024/07/22 09:10:08 Found bug candidate at iteration 0 [TestEngine] 2024/07/22 09:10:18 Shutting down ProcessManager... [Client 2] 2024/07/22 09:10:18 Killed worker 2 [Client 3] 2024/07/22 09:10:18 Killed worker 3 [TestEngine] 2024/07/22 09:10:18 Shutting down NetworkManager... [TestEngine] 2024/07/22 09:10:18 Shutdown complete. [TestEngine] 2024/07/22 09:10:18 Checking for bugs... [TestEngine] 2024/07/22 09:10:18 Iteration complete.

joaomlneto commented 1 month ago

🤔 This looks very similar to #28.