lp:~linaro-infrastructure/linaro-license-protection/master

Created by Milo Casagrande on 2014-07-29 and last modified on 2020-06-30
Get this branch:
bzr branch lp:~linaro-infrastructure/linaro-license-protection/master

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Linaro Infrastructure
Project:
linaro-license-protection
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at http://git.linaro.org/git/infrastructure/linaro-license-protection.git.

The next import is scheduled to run in 2 hours.

Last successful import was 3 hours ago.

Import started 3 hours ago on alnitak and finished 3 hours ago taking 20 seconds — see the log
Import started 9 hours ago on alnitak and finished 9 hours ago taking 20 seconds — see the log
Import started 15 hours ago on alnitak and finished 15 hours ago taking 20 seconds — see the log
Import started 23 hours ago on alnitak and finished 23 hours ago taking 20 seconds — see the log
Import started on 2020-07-06 on izar and finished on 2020-07-06 taking 15 seconds — see the log
Import started on 2020-07-05 on izar and finished on 2020-07-05 taking 15 seconds — see the log
Import started on 2020-07-05 on alnitak and finished on 2020-07-05 taking 20 seconds — see the log
Import started on 2020-07-05 on alnitak and finished on 2020-07-05 taking 20 seconds — see the log
Import started on 2020-07-05 on izar and finished on 2020-07-05 taking 15 seconds — see the log
Import started on 2020-07-04 on alnitak and finished on 2020-07-04 taking 20 seconds — see the log

Recent revisions

493. By Kelley Spoon <email address hidden> on 2020-06-30

llp: add missing nodes to whitelist config

This adds in x86_64-15 and x86_64-swarm to the list of machines
allowed to post/get to the server with no authentication.

Change-Id: Ia40873c7bebecdae31042d673898c8d40f748952
Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/35796
Reviewed-by: Kelley Spoon <email address hidden>

492. By Kelley Spoon <email address hidden> on 2020-06-01

s3_flatten.py: add missing import for sleep()

Somehow missed importing sleep() from time. Let's do that
in case the httplib error ever occurs again.

Change-Id: Ifb6a039a54433111c2e278b2666f906405baa424
Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/35430
Reviewed-by: Kelley Spoon <email address hidden>

491. By Kelley Spoon <email address hidden> on 2020-05-26

s3_flatten.py: fix a silly typo that was causing an exception

There was a missing format character for an error log message
that was triggering a valueerror exception.

Change-Id: Iea0569991d3914c256c269bdc7bc14a8f25b2ab2
Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/35367
Reviewed-by: Benjamin Copeland <email address hidden>

490. By Kelley Spoon <email address hidden> on 2020-05-14

s3_flatten: fix inifinte loop

Turns out if you use a while loop to do retries, you should
also set the exit for a success.

Change-Id: I593c717459e259487d804bd3b616b5b3049ff462
Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/35188
Reviewed-by: Kelley Spoon <email address hidden>

489. By Kelley Spoon <email address hidden> on 2020-05-14

s3_flatten.py: wrap the entire handle_bucket() method in retry logic

It turns out that boto will attempt to lazily load details for objects
in a bucket. As a result, it is not sufficient to simply wrap the
list_objects() calls. In order to prevent even more complexity
by attempting to predict where try/excepts retries are needed,
let's just wrap the handle_bucket() method itself and use the
wrapper to safely clean up objects.

Change-Id: I257f9390dbb6f59e83511e50594824306ad9baf8
Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/35184
Reviewed-by: Kelley Spoon <email address hidden>

488. By Kelley Spoon <email address hidden> on 2020-05-14

s3_flatten.py: add retries for boto3 bucket operations

It turns out that this script can occasionally error out
if the AWS API doesn't respond with proper HTTP. When
this happens, the error isn't caught and the script ends
prematurely and can leave large amounts of unnecessary
data in the bucket.

This wraps S3 bucket operations (specifically delete_keys
and list_objectS) in a try statement that will attempt
up to 3 retries after sleeping for 30 seconds.

Change-Id: I3f4c945937b20635166cad093630bfbca9026a78
Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/35063
Reviewed-by: Benjamin Copeland <email address hidden>

487. By Kelley Spoon <email address hidden> on 2020-05-02

static file: change location

Due to reorganizing the docker images to have their
own independent mount points, the path to the static
files has changed.

Change-Id: I1e406c3bdecb2b7720a78c6bb307a394a9bc0fdd
Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/35007
Reviewed-by: Kelley Spoon <email address hidden>

486. By Kelley Spoon <email address hidden> on 2020-05-02

whitenoise: lock version to 4.1.4

WhiteNoise 5.0 needs to be downgraded and locked to
4.1.4 for backwards compat as 5.0 is using the
py3 urllib API.

Change-Id: I654055a210f63192a8c069787eb1169e02c0b25f
Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/35005
Reviewed-by: Kelley Spoon <email address hidden>

485. By Kelley Spoon <email address hidden> on 2020-05-02

Revert "gunicorn: version lock to 19.7.1"

This reverts commit 3d97c57b6e6710d6931e92495eb026d4b99849b0.

Reason for revert: gunicorn is handled by OS package manager and should not be done here.

Change-Id: I5bd46ff3d1282e4771a71da874bc1bba55246f9d
Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/34498
Reviewed-by: Kelley Spoon <email address hidden>

484. By Kelley Spoon <email address hidden> on 2020-05-02

Revert "gevent: add gevent as a requirement"

This reverts commit c1633ecc22806843950cf985c5dfc837a46b5593.

Reason for revert: gevent is handled by the OS package manager, shouldn't be installed here.

Change-Id: I0a860b65cde24610e5a229fd02386e7e1c3acb3b
Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/34497
Reviewed-by: Kelley Spoon <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.