-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Syncers (pull from builds into webs) fail randomly #4428
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
Comments
Most of the errors are because rsync is trying to delete weird files (same name than the original but starting with
I'm not sure, but maybe this option is the one that it's bothering us:
On the other hand, we could ignore deletion errors with:
|
Details
View raw
Actual ResultI have three branches:
|
@dognie thanks for your report. The links of your project and build don't exist. Did you delete the project? |
@humitos Thank you for your reply.Yesterday, I deleted the project that failed to build. Today, this problem still reappears.
Before I had the 404 problem in the 0.3 branch, I moved the document to master, and I thought it would be normal to build, and I didn't think of the same failure, but it's strange that master was normally built before. |
I'm closing this issue because we decide that we will be pushing the HTML output to a cold storage soon. So, there is no need to spend time fixing this issue. |
I found this error is triggered when there were some files that couldn't be transferred for some reason (partial transfer). The proper error code is
23
but I found thatos.system
changes it to5888
: https://bugs.launchpad.net/backintime/+bug/1265499/comments/2(from Python's documentation: "On Unix, the return value is the exit status of the process encoded in the format specified for wait()." https://docs.python.org/2/library/os.html#os.system) --maybe a good moment to change to
subprocess
: https://docs.python.org/2/library/subprocess.html#subprocess-replacements(from rsync's man page: "23 Partial transfer due to error")
Real example from
/var/log/readthedocs/celery.log
in web04:Sentry log: https://sentry.io/read-the-docs/readthedocs-org/issues/533076930/
This problem may be causing issues like "Intermittent 404 pages" randomly: #2943
The text was updated successfully, but these errors were encountered: