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

Hard fail on layer set up #175

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Andmedoctopus
Copy link

@Andmedoctopus Andmedoctopus commented Jun 27, 2024

If layer failed to setup testrunner still continue to run tests which might have side effect on other testes. Layer setup should fail hard if error happened.

--stop-on-error is not an option, because it also stop any failed tests which is unacceptable for CI

@Andmedoctopus Andmedoctopus changed the title Hard fail on layer set up WIP: Hard fail on layer set up Jun 27, 2024
@Andmedoctopus Andmedoctopus changed the title WIP: Hard fail on layer set up Hard fail on layer set up Jun 27, 2024
@d-maurer
Copy link
Contributor

d-maurer commented Jun 27, 2024 via email

@Andmedoctopus
Copy link
Author

Andmedoctopus commented Jun 27, 2024

Andrei Medvedev wrote at 2024-6-26 23:40 -0700:
If layer failed to setup testrunner still continue to run tests which might have side effect on other testes. Layer setup should fail hard if error happened. --stop-on-layer-error is not an option, because it also stop any failed tests which is unacceptable for CI
Could you explain what "stop any failed tests" should mean? As the tests (apparently) have failed, they can not be stopped (but the corresponding failure output might be lost).

I'm sorry. I meant flag --stop-on-error. This flag will stop either layer setup or first failed test. But there is no option to fail only on layer setup.

My point is if layer fail to setup there's no reason to try to run a test which require failed layer

@Andmedoctopus
Copy link
Author

@d-maurer could you take a look, please?

@d-maurer
Copy link
Contributor

d-maurer commented Jul 1, 2024 via email

@icemac
Copy link
Member

icemac commented Aug 2, 2024

@Andmedoctopus Are you still working on this PR otherwise I'd close it as stalled.

@Andmedoctopus
Copy link
Author

@icemac
I'm working on another task now and planning to return to this PR just after that. Please don't close it. If needed I can mark it as draft for easier management

@Andmedoctopus Andmedoctopus marked this pull request as draft August 2, 2024 07:14
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.

3 participants