Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to see screenshot in azure storage account #227

Open
amitkpal83 opened this issue Jul 25, 2023 · 3 comments
Open

Not able to see screenshot in azure storage account #227

amitkpal83 opened this issue Jul 25, 2023 · 3 comments

Comments

@amitkpal83
Copy link

amitkpal83 commented Jul 25, 2023

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

  • sorry-cypress version: 2.5.5
  • cypress version: 8.5.0
  • helm chart version: 1.13
    Attaching the yaml file
@fbritoferreira
Copy link
Contributor

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

@amitkpal83
Copy link
Author

amitkpal83 commented Jul 26, 2023

@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
Copy link
Author

@fbritoferreira Can you pls provide any help on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants