Skip to content

Codex cannot execute Cypress command (due to sandboxing?) #2940

Closed

Description

@enriquemorenotent

What version of Codex is running?

v0.25

Which model were you using?

gpt-5

What platform is your computer?

Ubuntu 24.04

What steps can reproduce the bug?

In my case, running a Cypress tests through the command line

What is the expected behavior?

Image

What do you see instead?

user
Run npx cypress run --reporter json --spec cypress/e2e/projects/projects-workflow.cy.js and tell me its
output

codex
I’ll first verify the spec and Cypress install, then attempt the run.

>_
  ✓ 📂 ls -la
  ✓ ⌨️ echo ---
  ✓ 🔎 projects-workflow
  ✓ ⌨️ echo ---
  ✓ ⌨️ test -d node_modules/cypress
  ✓ ⌨️ echo 'cypress installed'
  ✓ ⌨️ echo 'cypress not found'
  ✓ ⌨️ echo ---
  ✓ ⌨️ test -f cypress/e2e/projects/projects-workflow.cy.js
  ✓ ⌨️ echo 'spec exists'
  ✓ ⌨️ echo 'spec missing'
  ✗ ⌨️ echo "Running: npx cypress run --reporter json --spec cypress/e2e/projects/projects-workflow.cy.js"
>&2
    npx cypress run --reporter json --spec cypress/e2e/projects/projects-workflow.cy.js
    Running: npx cypress run --reporter json --spec cypress/e2e/projects/projects-workflow.cy.js
    [125702:0830/122054.738548:FATAL:sandbox_host_linux.cc(41)] Check failed: . shutdown: Operation not
permitted (1)

Additional information

I suspect this is due to some sort of sandboxing.

Activity

  1. added
    bug
    on Aug 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions