Skip to content

Oracle Testcontainers shm error on Kubernetes >= 1.30 #903

@jonmcewen

Description

@jonmcewen

Scenario

  • GitLab Runner deployed to Amazon EKS with Sysbox runtime.
  • CI job running a Spring Boot test using testcontainers to start an Oracle XE database.

Issue

The above works with Sysbox v0.6.4 on Kubernetes 1.29, but fails with Sysbox v0.6.6 on Kubernetes 1.30, with the following error message from the Oracle database:

ORA-00600: internal error code, arguments: [ksmcsg: failed to get total shm available], [], [], [], [], [], [], [], [], [], [], []
ORA-27300: OS system dependent operation:Cannot open /proc/sys/kernel/shm failed with status: 75
ORA-27301: OS failure message: Value too large for defined data type
ORA-27302: failure occurred at: sskgmgtssa_1

Diagnosis

My investigation so far suggests that the problem was introduced in cri-o 1.30.

I have tried the following in an attempt to diagnose:

  • Sysbox v0.6.6 on Kubernetes 1.30 - fails as described above
  • Sysbox v0.6.4 on Kubernetes 1.30 - fails with the same error
  • Sysbox v0.6.4 on Kubernetes 1.29 - works (test passes)
  • Kubernetes 1.30 (containerd), with no sysbox - works

Minimal project

I have created a minimal Maven/Spring Boot project that can be used to recreate the issue.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions