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

avocado.core.exceptions.TestError: Unable to receive test's early-status in 60s, something wrong happened probably in the avocado framework. #5764

Closed
yangzeyu8 opened this issue Sep 13, 2023 · 5 comments

Comments

@yangzeyu8
Copy link

errno=, stdout=/usr/local/lib/python3.9/site-packages/avocado_framework_plugin_varianter_yaml_to_mux-77.0-py3.9.egg/avocado_varianter_yaml_to_mux/init.py:168: SyntaxWarning: "is not" with a literal. Did you mean "!="?
/usr/local/lib/python3.9/site-packages/avocado_framework_plugin_varianter_yaml_to_mux-77.0-py3.9.egg/avocado_varianter_yaml_to_mux/init.py:168: SyntaxWarning: "is not" with a literal. Did you mean "!="?
Error running method "configure" of plugin "sysinfo": Key sysinfodir already registered in section sysinfo.collect
/usr/local/lib/python3.9/site-packages/avocado_framework-77.0-py3.9.egg/avocado/plugins/run.py:284: FutureWarning: The following arguments will be changed to boolean soon: sysinfo, output-check, failfast, keep-tmp and ignore-missing-references.
warnings.warn("The following arguments will be changed to boolean soon: "

Avocado crashed: TestError: Unable to receive test's early-status in 60s, something wrong happened probably in the avocado framework.
Traceback (most recent call last):

File "/usr/local/lib/python3.9/site-packages/avocado_framework-77.0-py3.9.egg/avocado/core/job.py", line 610, in run_tests
summary = self.test_runner.run_suite(self,

File "/usr/local/lib/python3.9/site-packages/avocado_framework-77.0-py3.9.egg/avocado/plugins/runner.py", line 423, in run_suite
if not self.run_test(job, result, test_factory, queue, summary,

File "/usr/local/lib/python3.9/site-packages/avocado_framework-77.0-py3.9.egg/avocado/plugins/runner.py", line 187, in run_test
test_status.wait_for_early_status(proc, 60)

File "/usr/local/lib/python3.9/site-packages/avocado_framework-77.0-py3.9.egg/avocado/core/runner.py", line 148, in wait_for_early_status
raise exceptions.TestError(msg)

avocado.core.exceptions.TestError: Unable to receive test's early-status in 60s, something wrong happened probably in the avocado framework.

@richtja
Copy link
Contributor

richtja commented Sep 13, 2023

Hi @yangzeyu8, thank you for reporting this. IIUIC you use avocado version 77.0 This has been deprecated and we no longer support it, now we are at version 102. Can you please upgrade your version and let me know if the problem persists? Thank you.

@yangzeyu8
Copy link
Author

嗨 @扬泽宇8,谢谢你的报道。IIUIC您使用鳄梨版本77.0这已被弃用,我们不再支持它,现在我们的版本为102。你能升级你的版本吗,如果问题仍然存在,请告诉我?谢谢你。

Thank you. I also came to know that version 77 is a deprecated version. We will plan to upgrade to the latest version later. Where can I see the new features of the new version?

@richtja
Copy link
Contributor

richtja commented Sep 14, 2023

You can check our release notes, which describes changes between each version. Avocado change a lot from version 77, the biggest change is that we completely change the way how avocado resolves and run tests. This change brings many features like parallel run or higher isolation of test environment, but it might make your tests incompatible with newer avocado. More info in here.

Also, if you plan to upgrade avocado to newer version, we are just working on new LTS release which should be good choice for the update, because we declare long stability support with the version. We plan to do the LTS release in next two months.

@yangzeyu8
Copy link
Author

You can check our release notes, which describes changes between each version. Avocado change a lot from version 77, the biggest change is that we completely change the way how avocado resolves and run tests. This change brings many features like parallel run or higher isolation of test environment, but it might make your tests incompatible with newer avocado. More info in here.

Also, if you plan to upgrade avocado to newer version, we are just working on new LTS release which should be good choice for the update, because we declare long stability support with the version. We plan to do the LTS release in next two months.

It's really exciting. Finally, we can use the concurrent function. If we can have the concurrent function, we can greatly improve the test efficiency. I want to study it.

@richtja
Copy link
Contributor

richtja commented Sep 14, 2023

I will close this issue since it is not related to new versions of avocado. If you need any help with the update your tests to nrunner, don't hesitate to ask, in this issue or in Discussions section, we are happy to help.

@richtja richtja closed this as completed Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants