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

e2e: Don't allocate TTY when executing commands #814

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

zeeke
Copy link
Member

@zeeke zeeke commented Dec 9, 2024

Executing commands on pods allocating TTY may produce additional, unwanted characters like:

\x1b[1;31m2024-12-06T20:33:56.630784Z:

We saw this in some CI run like
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/logs/periodic-ci-openshift-release-master-nightly-4.18-e2e-telco5g-sno-cnftests/1865094117650862080/artifacts/e2e-telco5g-sno-cnftests/telco5g-cnf-tests/artifacts/test_results.html

Avoid allocating TTY in the automated test suite.

Executing commands on pods allocating TTY may produce
additional, unwanted characters like:
```
\x1b[1;31m2024-12-06T20:33:56.630784Z:
```

We saw this in some CI run like
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/logs/periodic-ci-openshift-release-master-nightly-4.18-e2e-telco5g-sno-cnftests/1865094117650862080/artifacts/e2e-telco5g-sno-cnftests/telco5g-cnf-tests/artifacts/test_results.html

Avoid allocating TTY in the automated test suite.

Signed-off-by: Andrea Panattoni <[email protected]>
Copy link

github-actions bot commented Dec 9, 2024

Thanks for your PR,
To run vendors CIs, Maintainers can use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs, Maintainers can use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@coveralls
Copy link

coveralls commented Dec 9, 2024

Pull Request Test Coverage Report for Build 12259860351

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 47.113%

Totals Coverage Status
Change from base Build 12184610569: 0.02%
Covered Lines: 7181
Relevant Lines: 15242

💛 - Coveralls

@zeeke zeeke requested a review from SchSeba December 11, 2024 09:42
@zeeke zeeke requested a review from e0ne December 11, 2024 10:40
@SchSeba SchSeba merged commit 87c93e9 into k8snetworkplumbingwg:master Dec 11, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants