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

Cypress executors - version tagged images fail with Execution failed: could not start process with command: error: exec: no command output #4028

Closed
tkonieczny opened this issue Jun 13, 2023 · 1 comment
Labels
bug 🐛 Something is not working as should be

Comments

@tkonieczny
Copy link
Contributor

Describe the bug
Version-tagged Cypress executor images (:cypress10, :cypress11, etc.) fail with

Execution failed: could not start process with command:   error: exec: no command output` while trying to execute the test with latest versions.

Example:
https://dev.testkube.io/tests/executions/cypress-12-executor-smoke-electron/execution/648822b66d99ce17d11665d6

Everything is fine for the default one:
https://dev.testkube.io/tests/executions/cypress-default-executor-smoke-electron

To Reproduce
Executor:

apiVersion: executor.testkube.io/v1
kind: Executor
metadata:
  name: cypress-v12-executor
  namespace: testkube
spec:
  image: kubeshop/testkube-cypress-executor:cypress12
  types:
    - cypress:v12/test
  features:
    - artifacts

Test:

apiVersion: tests.testkube.io/v3
kind: Test
metadata:
  name: cypress-12-executor-smoke-electron
  namespace: testkube
  labels:
    core-tests: executors
spec:
  type: cypress:v12/test
  content:
    type: git
    repository:
      type: git
      uri: https://github.com/kubeshop/testkube
      branch: main
      path: test/cypress/executor-tests/cypress-12
  executionRequest:
    variables:
      CYPRESS_CUSTOM_ENV:
        name: CYPRESS_CUSTOM_ENV
        value: CYPRESS_CUSTOM_ENV_value
        type: basic
    args:
      - --env
      - NON_CYPRESS_ENV=NON_CYPRESS_ENV_value
      - --config
      - video=false
@tkonieczny tkonieczny added the bug 🐛 Something is not working as should be label Jun 13, 2023
@tkonieczny
Copy link
Contributor Author

Executor CRDs had to be updated - (#4027) - closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something is not working as should be
Projects
None yet
Development

No branches or pull requests

1 participant