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

[Bug]: Tablespace e2e test sometimes goes timeout #4606

Closed
4 tasks done
sxd opened this issue May 20, 2024 · 0 comments · Fixed by #4609
Closed
4 tasks done

[Bug]: Tablespace e2e test sometimes goes timeout #4606

sxd opened this issue May 20, 2024 · 0 comments · Fixed by #4609
Assignees
Labels
bug 🐛 Something isn't working

Comments

@sxd
Copy link
Member

sxd commented May 20, 2024

Is there an existing issue already for this bug?

  • I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

  • I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

  • I have read the troubleshooting guide and I think this is a new bug.

Contact Details

No response

Version

1.23.1

What version of Kubernetes are you using?

1.30 (unsupported)

What is your Kubernetes environment?

Self-managed: kind (evaluation)

How did you install the operator?

YAML manifest

What happened?

Sometimes the tablespace tests (not all of them) will fail with a timeout like this:

[FAILED] Timed out after 120.000s.
  The function passed to Eventually failed at /home/runner/work/cloudnative-pg/cloudnative-pg/tests/e2e/tablespaces_test.go:921 with:
  Expected
      <[]string | len:7, cap:8>: [
          "/var/lib/postgresql/data",
          "/run",
          "/controller",
          "/dev/shm",
          "/etc/app-secret",
          "/var/lib/postgresql/wal",
          "/var/run/secrets/kubernetes.io/serviceaccount",
      ]
  to contain elements
      <[]string | len:1, cap:1>: [
          "/var/lib/postgresql/tablespaces/atablespace",
      ]
  the missing elements were
      <[]string | len:1, cap:1>: [
          "/var/lib/postgresql/tablespaces/atablespace",
      ]
  In [It] at: /home/runner/work/cloudnative-pg/cloudnative-pg/tests/e2e/tablespaces_test.go:943 @ 04/30/24 02:33:38.

Cluster resource

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@sxd sxd added the bug 🐛 Something isn't working label May 20, 2024
@sxd sxd self-assigned this May 20, 2024
sxd added a commit that referenced this issue May 20, 2024
The short timeout that is only used on tablespaces tests it was by default
set to 5 seconds, this is a bit too short and it was producing some failures
in some of the cloud environment tests.

Closes #4606

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
sxd added a commit that referenced this issue May 20, 2024
The short timeout that is only used on tablespaces tests it was by default
set to 5 seconds, this is a bit too short and it was producing some failures
in some of the cloud environment tests.

Closes #4606

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
sxd added a commit that referenced this issue May 21, 2024
The short timeout that is only used on tablespaces tests it was by default
set to 5 seconds, this is a bit too short and it was producing some failures
in some of the cloud environment tests.

Closes #4606

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
NiccoloFei pushed a commit that referenced this issue May 24, 2024
The short timeout that is only used on tablespaces tests it was by default
set to 5 seconds, this is a bit too short and it was producing some failures
in some of the cloud environment tests.

Closes #4606

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
NiccoloFei pushed a commit that referenced this issue May 27, 2024
The short timeout that is only used on tablespaces tests it was by default
set to 5 seconds, this is a bit too short and it was producing some failures
in some of the cloud environment tests.

Closes #4606

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
sxd added a commit that referenced this issue May 28, 2024
The short timeout that is only used on tablespaces tests it was by default
set to 5 seconds, this is a bit too short and it was producing some failures
in some of the cloud environment tests.

Closes #4606

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
sxd added a commit that referenced this issue May 29, 2024
The short timeout that is only used on tablespaces tests it was by default
set to 5 seconds, this is a bit too short and it was producing some failures
in some of the cloud environment tests.

Closes #4606

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
mnencia added a commit that referenced this issue May 30, 2024
The short timeout, which is only used on tablespaces tests, is set to
5 seconds by default. This is too short and produced some failures
in some cloud environment tests.

Additionally, we stop logging errors that aren't errors at all while getting
the pod logs.

Closes #4606

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
cnpg-bot pushed a commit that referenced this issue May 30, 2024
The short timeout, which is only used on tablespaces tests, is set to
5 seconds by default. This is too short and produced some failures
in some cloud environment tests.

Additionally, we stop logging errors that aren't errors at all while getting
the pod logs.

Closes #4606

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
(cherry picked from commit 4b454e6)
mnencia pushed a commit that referenced this issue May 30, 2024
The short timeout, which is only used on tablespaces tests, is set to
5 seconds by default. This is too short and produced some failures
in some cloud environment tests.

Additionally, we stop logging errors that aren't errors at all while getting
the pod logs.

Closes #4606

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
(cherry picked from commit 4b454e6)
mnencia pushed a commit that referenced this issue May 30, 2024
The short timeout, which is only used on tablespaces tests, is set to
5 seconds by default. This is too short and produced some failures
in some cloud environment tests.

Additionally, we stop logging errors that aren't errors at all while getting
the pod logs.

Closes #4606

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
(cherry picked from commit 4b454e6)
dougkirkley pushed a commit to dougkirkley/cloudnative-pg that referenced this issue Jun 11, 2024
The short timeout, which is only used on tablespaces tests, is set to
5 seconds by default. This is too short and produced some failures
in some cloud environment tests.

Additionally, we stop logging errors that aren't errors at all while getting
the pod logs.

Closes cloudnative-pg#4606

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Douglass Kirkley <dkirkley@eitccorp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant