-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Release 4.9.0 - Release Candidate Alpha 3 - Python unit tests #24895
Comments
Test ReportReport: artifacts.zip Test ResultsAPI 🟢
Framework 🟢
Integrations 🟢
Wodles 🟡The wodles unit tests failed because of #24641 and #24061. Logs============================= test session starts ==============================
platform linux -- Python 3.10.13, pytest-7.3.1, pluggy-1.5.0 -- /usr/local/bin/python
cachedir: .pytest_cache
metadata: {'Python': '3.10.13', 'Platform': 'Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.36', 'Packages': {'pytest': '7.3.1', 'pluggy': '1.5.0'}, 'Plugins': {'metadata': '3.1.1', 'anyio': '4.1.0', 'html': '2.1.1', 'tavern': '1.23.5', 'trio': '0.8.0', 'asyncio': '0.18.1'}, 'AWS_REGION': 'us-east-1'}
rootdir: /tmp/build/wazuh/wodles
configfile: pytest.ini
plugins: metadata-3.1.1, anyio-4.1.0, html-2.1.1, tavern-1.23.5, trio-0.8.0, asyncio-0.18.1
asyncio: mode=auto
collecting ... collected 862 items / 1 error
==================================== ERRORS ====================================
_________ ERROR collecting azure/tests/azure_services/test_storage.py __________
ImportError while importing test module '/tmp/build/wazuh/wodles/azure/tests/azure_services/test_storage.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
azure/tests/azure_services/test_storage.py:24: in <module>
from azure_services.storage import get_blobs, start_storage
azure/azure_services/storage.py:16: in <module>
from azure.storage.blob import BlockBlobService
E ImportError: cannot import name 'BlockBlobService' from 'azure.storage.blob' (/home/test_user/.local/lib/python3.10/site-packages/azure/storage/blob/__init__.py)
- generated html file: file:///efs/test_unit/Test_unit/B58328/B58328_pytest_wodles.html -
=========================== short test summary info ============================
ERROR azure/tests/azure_services/test_storage.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 2.29s =============================== I had to revert the
|
Coverage
FRAMEWORK
API
WODLES
INTEGRATIONS
OVERALL COVERAGE PERCENTAGE: 93% |
As correctly mentioned, the errors related to the Azure module have been fixed in #24061 and will be part of the beta 1 stage. LGTM |
LGTM |
The following issue aims to run all
python unit tests
for the current release candidate, report the results, and open new issues for any encountered errors.Python unit tests information
Test report procedure
All individual test checks must be marked as:
All test results must have one the following statuses:
Any failing test must be properly addressed with a new issue, detailing the error and the possible cause. It must be included in the
Fixes
section of the current release candidate main issue.Any expected fail or skipped test must have an issue justifying the reason. All auditors must validate the justification for an expected fail or skipped test.
An extended report of the test results must be attached as a zip or txt. This report can be used by the auditors to dig deeper into any possible failures and details.
As for the coverage results, they must be added split by modules. Test files must not be included in the coverage report.
All test coverage results must have one of the following statuses:
Conclusions
All tests have passed and the fails have been reported or justified. I therefore conclude that this issue is finished and OK for this release candidate.
Auditors validation
The definition of done for this one is the validation of the conclusions and the test results from all auditors.
All checks from below must be accepted in order to close this issue.
The text was updated successfully, but these errors were encountered: