Fork me on GitHub
#circleci
<
2019-06-07
>
lennart.buit06:06:01

I still havenโ€™t solved this yet ๐Ÿ˜ž. I created a minimal example that is slow on CircleCI here: https://github.com/lennartbuit/aws-poc/blob/master/test/aws_poc/core_test.clj with a build here: https://circleci.com/gh/lennartbuit/aws-poc/1. Note that in the test log, each call to PutObject or GetObject costs little over 20 seconds. When running the build on my machine through the circleci utility that is not the case. I would really appreciate help in how to debug this issue ๐Ÿ™‚!

lennart.buit06:06:01

I still havenโ€™t solved this yet ๐Ÿ˜ž. I created a minimal example that is slow on CircleCI here: https://github.com/lennartbuit/aws-poc/blob/master/test/aws_poc/core_test.clj with a build here: https://circleci.com/gh/lennartbuit/aws-poc/1. Note that in the test log, each call to PutObject or GetObject costs little over 20 seconds. When running the build on my machine through the circleci utility that is not the case. I would really appreciate help in how to debug this issue ๐Ÿ™‚!

lennart.buit06:06:53

One additional observation: in the localstack log there is a message: No parsable content: expected string or bytes-like object, which also occurs when running locally

lennart.buit06:06:15

(Also totally willing to take this elsewhere if this is not the right place for this question!)

lennart.buit06:06:12

Timings for a circleci local run:

PutObject took: 765 ms
GetObject took: 1527 ms
PutObject took: 752 ms
GetObject took: 1505 ms
PutObject took: 787 ms
GetObject took: 1594 ms
PutObject took: 760 ms
GetObject took: 1512 ms
PutObject took: 759 ms
GetObject took: 1503 ms

lennart.buit06:06:41

(there is a bug (lol) in the test, the time of GetObject includes that of PutObject)