Crown-Commercial-Service / digitalmarketplace-jenkins

Digital Marketplace Jenkins CI instance configuration
MIT License
4 stars 3 forks source link

export-data-production: Upload fails with Error 403: Rate Limit Exceeded #139

Open lfdebrux opened 5 years ago

lfdebrux commented 5 years ago

Expected:

gdrive would upload files to Google Drive

What actually happened:

+ /usr/local/bin/gdrive --config /var/lib/jenkins/.gdrive sync upload --delete-extraneous ./data "{{ jenkins_gdrive_csv_data_export_folder_id }}"
Starting sync...
Failed to find root dir: googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded

Workaround:

Wait for the next day when the job will run again?

lfdebrux commented 5 years ago

This has happened before, once, with run 6. It seemed to resolve itself the day after.

lfdebrux commented 5 years ago

The following run (59) failed with error

+ /usr/local/bin/gdrive --config /var/lib/jenkins/.gdrive sync upload --delete-extraneous ./data 0B9HQ_eYjd1zjVEZidWxJWHFlazg
Starting sync...
Collecting local and remote file information...
Found 14 local files and 14 remote files
Failed to determine free space: googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded
lfdebrux commented 5 years ago

But then the two after that succeeded.

This may be due to other gdrive jobs.