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

Backport of chore(e2e): Increase timeout when setting up openssh container into release/0.16.x #4683

Conversation

hc-github-team-secure-boundary
Copy link
Collaborator

Backport

This PR is auto-generated from #4661 to be assessed for backporting due to the inclusion of the label backport/0.16.x.

The below text is copied from the body of the original PR.


When setting up the docker container in the docker_openssh_ca_key module, there's a an additional script that runs (00-trust-user-ca) that takes some time to execute. This can occasionally take longer than the current 20s timeout, resulting in an error when starting a scenario using this module. If you launch the scenario again afterwards, it succeeds. Here is an example error:

Error: Execution Error

  with module.create_host.enos_local_exec.wait,
  on ../../modules/docker_openssh_server_ca_key/main.tf line 103, in resource "enos_local_exec" "wait":
 103: resource "enos_local_exec" "wait" {

failed to execute commands due to: running inline command failed, due to:
failed to execute command due to: exit status 124

output:
kex_exchange_identification: Connection closed by remote host
Connection closed by ::1 port 2222
kex_exchange_identification: Connection closed by remote host
Connection closed by ::1 port 2222
kex_exchange_identification: read: Connection reset by peer
Connection reset by ::1 port 2222
kex_exchange_identification: Connection closed by remote host
Connection closed by ::1 port 2222

This PR increases the timeout when setting up this module.

@hc-github-team-secure-boundary hc-github-team-secure-boundary force-pushed the backport/moduli-e2e-increase-timeout/adequately-on-monkey branch from 1e55802 to 53d8191 Compare April 19, 2024 13:47
@hc-github-team-secure-boundary hc-github-team-secure-boundary merged commit 1f49029 into release/0.16.x Apr 19, 2024
@hc-github-team-secure-boundary hc-github-team-secure-boundary deleted the backport/moduli-e2e-increase-timeout/adequately-on-monkey branch April 19, 2024 13:47
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.

2 participants