We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When it comes to starting with the test fix, there is some information that can help you:
Module: Vulnerability Detector Support Team: "binary beasts" Target: Manager OS: Linux
I add some information obtained while researched the logs that failed.
prepare_agent
VULNERABILITIES
test_general_settings/test_general_settings_ignore_time
The text was updated successfully, but these errors were encountered:
Used Wazuh-QA branch: 1531-full-yellow-vuln-det Test results with the default settings in the ossec.conf:
1531-full-yellow-vuln-det
ossec.conf
The error is always the same:
==================================== ERRORS ==================================== ____________ ERROR at setup of test_ignore_time[get_configuration0] ____________ mock_agent = '001' @pytest.fixture(scope='module') def prepare_agent(mock_agent): control_service('stop', daemon='wazuh-db') vd.clean_vd_tables(mock_agent) vd.insert_package(agent=mock_agent, vendor="Red Hat, Inc.") > vd.insert_vulnerability() . . . connect = sqlite3.connect(db_path) try: with connect: for item in query_list: > connect.execute(item) E sqlite3.OperationalError: no such table: VULNERABILITIES /usr/local/lib/python3.6/site-packages/wazuh_testing/vulnerability_detector.py:209: OperationalError
Sorry, something went wrong.
fix: Enable vuln. det. at startup to create the CVE database
15c28ad
fix: Clear log file before run each use case Closes: #1644
test_general_settings_ignore_time.py
After merging #1650, it works successfully.
Test Results:
77dc011
damarisg
DProvinciani
mdengra
No branches or pull requests
Issue information
When it comes to starting with the test fix, there is some information that can help you:
I add some information obtained while researched the logs that failed.
Case:
prepare_agent
fixture due to missingVULNERABILITIES
table.test_general_settings/test_general_settings_ignore_time
for 3 times.The text was updated successfully, but these errors were encountered: