Codex cannot execute Cypress command (due to sandboxing?)

Resolved 💬 0 comments Opened Aug 30, 2025 by enriquemorenotent Closed Aug 30, 2025

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?

<img width="1059" height="503" alt="Image" src="https://github.com/user-attachments/assets/7ff6a7f6-ea05-4306-8d38-9f7a92abdf15" />

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.

View original on GitHub ↗