Open tobiasdiez opened 1 year ago
+1. We also noticed this problem, and re-run the job can help. We will investigate it.
+1. also run into this issue pretty often. the only clue I have found, is that for some reason the error seems less prevalent when I tell everyone to close the app. Given that our swa runs on a windows license makes me suspect that it could be windows file locking. But I would like to say this is mostly just a guess
+1. Observed this issue in our deployment pipeline today (azure devops)
Still happens a lot. Any update?
So anyone got a solution / workaround aside from CallAzureThingyInLoopBecauseOfRandomFailures()?
no solution yet
FWIW, we are seeing this issue more often than not when attempting to deploy.
If it helps, we are using a "swa deploy" AZ CLI command on a windows-latest Microsoft-hosted agent. The agents appear to be running AZ CLI version 2.52.0 and SWA CLI version 1.1.4.
Same here - seeing this periodically on Windows Azure build agent
for us switching to linux agents seems to have "fixed" the issue. When you dig down into the EBUSY error you get some answers that I think hinted towards file locking. That combined with the linux agent not (yet) haiving this issue seems to confirm that for me
A year since this... still with the same issue... unbelievable
This has become a daily occurrence at this point, any updates on when this will be fixed or is it even going to be fixed
I have not been able to reproduce. Are you running two deployments simultaneously? What does your pipeline actually look like?
@adrianhall thanks for investigating this.
We run swa deploy
for each PR / push to main (https://github.com/JabRef/JabRefOnline/blob/74f66358c02700d26ce94a0211d2f561227233c5/.github/workflows/deploy-preview.yml#L65-L68). Sometimes this indeed results in deployments that happen roughly at the same time, but most often this is not the case.
Since this issue happens only sometimes and I couldn't yet discover a pattern behind it.
Do you know if that error would be triggered on the user's side or on the server? In the later, could you access the server logs if I give you our azure data? In that case, please feel free to write me an email.
@adrianhall thanks for investigating this.
We run
swa deploy
for each PR / push to main (https://github.com/JabRef/JabRefOnline/blob/74f66358c02700d26ce94a0211d2f561227233c5/.github/workflows/deploy-preview.yml#L65-L68). Sometimes this indeed results in deployments that happen roughly at the same time, but most often this is not the case.Since this issue happens only sometimes and I couldn't yet discover a pattern behind it.
Do you know if that error would be triggered on the user's side or on the server? In the later, could you access the server logs if I give you our azure data? In that case, please feel free to write me an email.
Similar experience. Now it has been working without issues for over a week. But when it starts to fail it fails for 24/48hs straight... with some deployments passing.
I have not been able to reproduce. Are you running two deployments simultaneously? What does your pipeline actually look like?
For us, we don't have any concurrent deployments running , we manuly trigger github actions and only have one deployment running at a time to SWA
I understand the environment now. I'm investigating.
Same here, about 50% failures . Running version 2.0.1 from a self-hosted Azure DevOps build agent.
Issue is still present also for me
Before filing this issue, please ensure you're using the latest CLI by running
swa --version
and comparing to the latest version on npm.Are you accessing the CLI from the default port
:4280
?--port
) and accessing the CLI from that port:4280
ℹ️ NOTE: Make sure to enable debug logs when running any
swa
commands using--verbose=silly
Describe the bug Sometimes the deployment via
swa deploy
fails on CI.e.g. https://github.com/JabRef/JabRefOnline/actions/runs/5480147768/jobs/9989069413
To Reproduce Steps to reproduce the behavior:
swa deploy
in CI.Expected behavior Deployment is successful.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):