tag1consulting / goose

Load testing framework, inspired by Locust
https://tag1.com/goose
Apache License 2.0
791 stars 70 forks source link

static compiled with openssl: status code of 0 in the aggregate results table + segmentation fault #494

Closed ElijahLynn closed 2 years ago

ElijahLynn commented 2 years ago

I'm running a static binary on a server in our private network, and am seeing these metrics in the aggregate table, I gather the 0 status codes are a result of these rand errors. Sorry for the lack of detail here, just rubber ducking in public here, I'll add more as I go.

 Aggregated               |       60.84 |          1 |       3,985 |          4
 ------------------------------------------------------------------------------
 Name                     |                                        Status codes 
 ------------------------------------------------------------------------------
 GET auth /disability/h.. |                                    3 [0], 617 [200]
 GET auth login           |                                            20 [200]
 GET static asset         |                                  6 [0], 3,958 [200]
 POST auth login          |                                            20 [200]
 -------------------------+----------------------------------------------------
 Aggregated               |                                  4,615 [200], 9 [0] 

14:24:43 [WARN] "/disability/how-to-file-claim": error sending request for url (https://staging.cms.va.gov/disability/how-to-file-claim): error trying to connect: error:24067044:random number generator:rand_pool_add:internal error:crypto/rand/rand_lib.c:7
29:, error:24067044:random number generator:rand_pool_add:internal error:crypto/rand/rand_lib.c:729:
14:24:43 [WARN] "/sites/default/files/js/js_zu56DC8aMFZ0apoLy6QqYpy_WJ0v-meltVsk2slUstE.js": error sending request for url (https://staging.cms.va.gov/sites/default/files/js/js_zu56DC8aMFZ0apoLy6QqYpy_WJ0v-meltVsk2slUstE.js): error trying to connect: erro
r:24067044:random number generator:rand_pool_add:internal error:crypto/rand/rand_lib.c:729:
14:24:43 [INFO] set_failure: https://staging.cms.va.gov/disability/how-to-file-claim: no response from server: error sending request for url (https://staging.cms.va.gov/disability/how-to-file-claim): error trying to connect: error:24067044:random number g
enerator:rand_pool_add:internal error:crypto/rand/rand_lib.c:729:, error:24067044:random number generator:rand_pool_add:internal error:crypto/rand/rand_lib.c:729:
Segmentation fault

image

Update: I think one thing here is that the results table is confusing when putting multiple status codes on a line like that, and the 0 response codes should be there own line.

ElijahLynn commented 2 years ago

I've got #490 SOCKS working right now so I can loadtest from my local, so am likely to pause on this for now. Gonna close this and we can reopen if needed.