sorry-cypress / charts

A Kubernetes Helm Chart for Sorry Cypress, an open-source on-premise, self-hosted alternative to cypress dashboard.
https://sorry-cypress.dev
MIT License
42 stars 79 forks source link

Not able to see screenshot in azure storage account #227

Open amitkpal83 opened 1 year ago

amitkpal83 commented 1 year ago

values-1.txt

Summary

Configure the screenshot in azure storage account but screenshot never get uploaded to storage account container. checked the director logs also but no useful information is there. Checked in the developer tools also and see that it is trying to get the blob(creating a query) but blob is never uploaded to the storage account.

How to reproduce

Below are env variable i have set in director

azureconnexionString: ${storage_connectionstring} - a secret azurecontainerName: 'qa-automation-reports' azureuploadurlexpiryinHours: 24

# Dummy or S3
# Valid options are:
# "../screenshots/dummy.driver"
# "../screenshots/s3.driver"
screenshotsDriver: "../screenshots/azure-blob-storage.driver"

Environment

Installed in kubernetes

fbritoferreira commented 1 year ago

@amitkpal83 Can you make sure your secret is correctly setup, are there any logs you can see to share here?

amitkpal83 commented 1 year ago

@fbritoferreira Secret is setup correctly because if something is wrong it is throwing the exception while installing the chart. Below are logs that we have got from director. Not able to give full logs as it contain sensitive information like emails and other stuff.

screenshotUploadUrls":[{"uploadUrl":"https://xxxx/qa-automation-reports/942a7a6d2a545908da029cb4f8d68f03.png?sv=2021-12-02&st=2023-07-10T12%3A54%3A15Z&se=2023-07-11T12%3A54%3A15Z&sr=b&sp=w&sig=lEMTK5jOGl1gx%2BnV%2BZQJTGo0vdHtwNj3VO9yksktj30%3D&rsct=image%2Fpng","readUrl":"https://xxxx/qa-automation-reports/942a7a6d2a545908da029cb4f8d68f03.png?sv=2021-12-02&st=2023-07-10T12%3A54%3A15Z&se=2024-07-09T12%3A54%3A15Z&sr=b&sp=r&sig=sjEVVAZMiZYmw8HHILVAIi4Gc0mDCdDLGfO5hz%2F28I0%3D&rsct=image%2Fpng","screenshotId":"ugxz1"},{"uploadUrl":"https://xxxx/qa-automation-reports/4c4450dd61d3e8be31a403672dae302f.png?sv=2021-12-02&st=2023-07-10T12%3A54%3A15Z&se=2023-07-11T12%3A54%3A15Z&sr=b&sp=w&sig=16R6zdmcCkKOJm%2F7aDsSOwrfGFNxcnus8c0Obf21nBg%3D&rsct=image%2Fpng","readUrl":"https://xxxx/qa-automation-reports/4c4450dd61d3e8be31a403672dae302f.png?sv=2021-12-02&st=2023-07-10T12%3A54%3A15Z&se=2024-07-09T12%3A54%3A15Z&sr=b&sp=r&sig=G97WRBHsI7e3YHG8TKqDdOv8Wxk6KLdNkguqE18pG4s%3D&rsct=image%2Fpng","screenshotId":"mbq5q"}],"videoUploadInstructions":null,"msg":"Sending assets upload URLs"} {"level":30,"time":1688993655127,"req":{"id":1531,"method":"POST","url":"/instances/79e241c3-81de-4b4c-9197-094943f866ca/results","query":{},"params":{},"headers":{"connection":"close","content-length":"4729","content-type":"application/json","accept":"application/json","accept-encoding":"gzip, deflate","host":"10.254.222.25:1234","x-cypress-version":"8.5.0","x-os-name":"linux","x-cypress-request-attempt":"0","x-route-version":"1"},"remoteAddress":"::ffff:10.62.209.101","remotePort":43764},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","content-type":"application/json; charset=utf-8","content-length":"1152","etag":"W/\"480-yy2MxcqJJAOmS+bOqGHRbX/Wh0s\""}},"responseTime":7,"msg":"request completed"} {"level":30,"time":1688993655131

amitkpal83 commented 1 year ago

@fbritoferreira Can you pls provide any help on this?