Skip to content
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

Attempt to fix :test:fixtures:s3-fixture:composeUp fails due to HTTP connection issue #1866

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

reta
Copy link
Collaborator

@reta reta commented Jan 7, 2022

Signed-off-by: Andriy Redko [email protected]

Description

Attempt to fix :test:fixtures:s3-fixture:composeUp fails due to HTTP connection issue by introducing configurable property dockerComposeHttpTimeout with default value of 120 seconds. To change it, the standard ExtraPropertiesExtension is used:

ext {
   dockerComposeHttpTimeout = 180
}

The timeout seems to be taken into account (simulated failures are below);

ERROR: for minio-fixture-other  HTTPConnectionPool(host='127.0.0.1', port=2375): Read timed out. (read timeout=180)

ERROR: for minio-fixture  HTTPConnectionPool(host='127.0.0.1', port=2375): Read timed out. (read timeout=180)
An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 180).

Issues Resolved

Closes #1806

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@opensearch-ci-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure 4fa0224e2f49a6a0b450da0ef33e1ddbac6ece32
Log 1802

Reports 1802

@reta reta force-pushed the issue-1806 branch 3 times, most recently from dd7f4d1 to 2de8ffd Compare January 7, 2022 17:47
@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure 68df7f53549eea332e4624e75d13148d852d1636
Log 1804

Reports 1804

@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure 2de8ffdc6d73d151f1832fc097fa4f153b0e99a4
Log 1805

Reports 1805

@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure 1b9b3a6cd0c739a2b0e9470c22d5eb802bba87fc
Log 1806

Reports 1806

@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure a46cf9ddb30fbc086d2f2ba3323648edf2d5eedb
Log 1807

Reports 1807

@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure 138887129f39c5609a692564d2f30bb65e09c512
Log 1828

Reports 1828

@reta
Copy link
Collaborator Author

reta commented Jan 10, 2022

x Gradle Check failure 1388871 Log 1828

Reports 1828

The resent build failure disqualifies the Rest Integration tests hypothesis

> Task :test:fixtures:s3-fixture:composeUp

ERROR: for 56aa93ed60e3e11b06e2067e06b0dd8c_s3-fixture__s3-fixture-with-session-token_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for 56aa93ed60e3e11b06e2067e06b0dd8c_s3-fixture__s3-fixture-other_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for 56aa93ed60e3e11b06e2067e06b0dd8c_s3-fixture__s3-fixture-with-ecs_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for 56aa93ed60e3e11b06e2067e06b0dd8c_s3-fixture__s3-fixture-with-ec2_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for 56aa93ed60e3e11b06e2067e06b0dd8c_s3-fixture__s3-fixture-repositories-metering_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for 56aa93ed60e3e11b06e2067e06b0dd8c_s3-fixture__s3-fixture_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for s3-fixture-with-session-token  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for s3-fixture-other  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for s3-fixture-with-ecs  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for s3-fixture-with-ec2  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for s3-fixture-repositories-metering  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for s3-fixture  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).

@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure a0ae9be128dc5f9621db5285ab0d41550f3cfa7d
Log 1834

Reports 1834

@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure 687d0dbd8bc784e9f69f80470cde8b10b1dd267a
Log 1836

Reports 1836

@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure b04b708e5faaf2c854ad5c9c083658dc2ec7a26a
Log 1837

Reports 1837

@reta
Copy link
Collaborator Author

reta commented Jan 10, 2022

x Gradle Check failure b04b708 Log 1837

Reports 1837

Caused by #1869

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success cb04788
Log 1838

Reports 1838

@reta reta marked this pull request as ready for review January 10, 2022 22:12
@reta reta requested a review from a team as a code owner January 10, 2022 22:12
@reta reta changed the title [WIP] Attempt to fix :test:fixtures:s3-fixture:composeUp fails due to HTTP connection issue Attempt to fix :test:fixtures:s3-fixture:composeUp fails due to HTTP connection issue Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] :test:fixtures:s3-fixture:composeUp fails due to HTTP connection issue
3 participants