Azure / load-testing

Automate azure load test through github actions
MIT License
17 stars 17 forks source link

[BUG] Task fails with 'SSL alert number 40' error #26

Open andylamb-rlg opened 1 year ago

andylamb-rlg commented 1 year ago

Describe the bug The AzureLoadTest@1 task fails with an SSL handshake error:

EPROTO 139788598056768:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 40

Do I need to configure the SSL version/cipher suite somewhere?

Expected behavior Load Test should start successfully.

Logs Debug output from AzureLoadTest@1 task:

2023-01-13T15:48:31.9207510Z ##[section]Starting: AzureLoadTest
2023-01-13T15:48:31.9217033Z ==============================================================================
2023-01-13T15:48:31.9217258Z Task         : Azure Load Testing
2023-01-13T15:48:31.9217398Z Description  : Automate performance regression testing with Azure Load Testing
2023-01-13T15:48:31.9217590Z Version      : 1.2.18
2023-01-13T15:48:31.9217726Z Author       : Microsoft Corporation
2023-01-13T15:48:31.9217900Z Help         : https://docs.microsoft.com/azure/load-testing/tutorial-cicd-azure-pipelines#azure-load-testing-task
2023-01-13T15:48:31.9218153Z ==============================================================================
2023-01-13T15:48:31.9927105Z ##[debug]Using node path: /agent/externals/node10/bin/node
2023-01-13T15:48:32.1051395Z ##[debug]agent.TempDirectory=/agent/_work/_temp
2023-01-13T15:48:32.1074149Z ##[debug]loading inputs and endpoints
2023-01-13T15:48:32.1084252Z ##[debug]loading INPUT_CONNECTEDSERVICENAMEARM
2023-01-13T15:48:32.1098883Z ##[debug]loading INPUT_LOADTESTCONFIGFILE
2023-01-13T15:48:32.1100842Z ##[debug]loading INPUT_RESOURCEGROUP
2023-01-13T15:48:32.1102490Z ##[debug]loading INPUT_LOADTESTRESOURCE
2023-01-13T15:48:32.1106756Z ##[debug]loading ENDPOINT_AUTH_<redacted-sp-id>
2023-01-13T15:48:32.1109008Z ##[debug]loading ENDPOINT_AUTH_SCHEME_<redacted-sp-id>
2023-01-13T15:48:32.1111039Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_<redacted-sp-id>_SERVICEPRINCIPALID
2023-01-13T15:48:32.1113524Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_<redacted-sp-id>_AUTHENTICATIONTYPE
2023-01-13T15:48:32.1115572Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_<redacted-sp-id>_TENANTID
2023-01-13T15:48:32.1117617Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_<redacted-sp-id>_SERVICEPRINCIPALKEY
2023-01-13T15:48:32.1119071Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2023-01-13T15:48:32.1120363Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2023-01-13T15:48:32.1121797Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2023-01-13T15:48:32.1123278Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2023-01-13T15:48:32.1124593Z ##[debug]loaded 14
2023-01-13T15:48:32.1129191Z ##[debug]Agent.ProxyUrl=undefined
2023-01-13T15:48:32.1130741Z ##[debug]Agent.CAInfo=undefined
2023-01-13T15:48:32.1131766Z ##[debug]Agent.ClientCert=undefined
2023-01-13T15:48:32.1136399Z ##[debug]Agent.SkipCertValidation=undefined
2023-01-13T15:48:32.2248897Z ##[debug]connectedServiceNameARM=<redacted-sp-id>
2023-01-13T15:48:32.2250837Z ##[debug]<redacted-sp-id> auth param serviceprincipalid = ***
2023-01-13T15:48:32.2252850Z ##[debug]<redacted-sp-id> auth param serviceprincipalkey = ***
2023-01-13T15:48:32.2254624Z ##[debug]<redacted-sp-id> data SubscriptionID = <redacted-sub-id>
2023-01-13T15:48:32.2257366Z ##[debug]<redacted-sp-id> auth param tenantid = <redacted-tenant-id>
2023-01-13T15:48:32.2258947Z ##[debug]loadTestConfigFile=/agent/_work/4/s/.ci/perf/config-dev.yml
2023-01-13T15:48:32.2309744Z ##[debug]secrets=undefined
2023-01-13T15:48:32.2310892Z ##[debug]env=undefined
2023-01-13T15:48:32.2312750Z ##[debug]resourceGroup=<redacted-resource-group-name>
2023-01-13T15:48:32.2314036Z ##[debug]loadTestResource=<redacted-loadtest-resource-name>
2023-01-13T15:48:32.9143491Z ##[debug]task result: Failed
2023-01-13T15:48:32.9180539Z ##[error]write EPROTO 139788598056768:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 40

2023-01-13T15:48:32.9195612Z ##[debug]Processed: ##vso[task.issue type=error;]write EPROTO 139788598056768:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 40%0A
2023-01-13T15:48:32.9208483Z ##[debug]Processed: ##vso[task.complete result=Failed;]write EPROTO 139788598056768:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 40%0A
2023-01-13T15:48:32.9245794Z ##[section]Finishing: AzureLoadTest