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

Integration tests do not run on macOS Arm64 #4411

Closed
Deblintrake09 opened this issue Aug 8, 2023 · 10 comments · Fixed by #4427
Closed

Integration tests do not run on macOS Arm64 #4411

Deblintrake09 opened this issue Aug 8, 2023 · 10 comments · Fixed by #4427
Assignees

Comments

@Deblintrake09
Copy link
Contributor

Description

During the execution of IT test for Release 4.5.1 - Alpha 1 when trying to setup the wazuh-qa repository to execute the ITs on a macOS Monterey Arm64 system, the following issues that caused tests to not be executed, were found :

  • It would fail to install cryptography library.
 build/temp.macosx-12-arm64-cpython-310/_openssl.c:575:10: fatal error: 'openssl/opensslv.h' file not found
      #include <openssl/opensslv.h>
               ^~~~~~~~~~~~~~~~~~~~
      1 error generated.
      
          =============================DEBUG ASSISTANCE=============================
          If you are seeing a compilation error please try the following steps to
          successfully install cryptography:
          1) Upgrade to the latest pip and try again. This will fix errors for most
             users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
          2) Read https://cryptography.io/en/latest/installation.html for specific
             instructions for your platform.
          3) Check our frequently asked questions for more information:
             https://cryptography.io/en/latest/faq.html
          =============================DEBUG ASSISTANCE=============================
      
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cryptography
Failed to build cryptography
  • tried to fix by updating pip, wheel and setuptools as possible dependencies.

  • Installing OpenSSL that is a dependency for cryptography.

  • dependencies filetype, lockfile, numpydoc, py, html-reporter, pyyaml would not be installed, but where required for the tests. Installed manually.

  • When trying to launch the tests, they would fail due to the html-reporter dependency, that needed to be installed as well. After installing, it tests would still fail to run and not be executed.


sh-3.2# python3.10 -m pytest test_syscollector/
======================================= test session starts ========================================
platform darwin -- Python 3.10.12, pytest-7.4.0, pluggy-1.2.0
rootdir: /Users/vagrant/wazuh-qa/tests/integration
configfile: pytest.ini
plugins: testinfra-8.1.0
collected 27 items                                                                                 
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/opt/homebrew/lib/python3.10/site-packages/_pytest/main.py", line 270, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>   File "/opt/homebrew/lib/python3.10/site-packages/_pytest/main.py", line 323, in _main
INTERNALERROR>     config.hook.pytest_collection(session=session)
INTERNALERROR>   File "/opt/homebrew/lib/python3.10/site-packages/pluggy/_hooks.py", line 433, in __call__
INTERNALERROR>     return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
INTERNALERROR>   File "/opt/homebrew/lib/python3.10/site-packages/pluggy/_manager.py", line 112, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>   File "/opt/homebrew/lib/python3.10/site-packages/pluggy/_callers.py", line 155, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/opt/homebrew/lib/python3.10/site-packages/pluggy/_result.py", line 108, in get_result
INTERNALERROR>     raise exc.with_traceback(exc.__traceback__)
INTERNALERROR>   File "/opt/homebrew/lib/python3.10/site-packages/pluggy/_callers.py", line 80, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/opt/homebrew/lib/python3.10/site-packages/_pytest/main.py", line 334, in pytest_collection
INTERNALERROR>     session.perform_collect()
INTERNALERROR>   File "/opt/homebrew/lib/python3.10/site-packages/_pytest/main.py", line 671, in perform_collect
INTERNALERROR>     self.config.pluginmanager.check_pending()
INTERNALERROR>   File "/opt/homebrew/lib/python3.10/site-packages/pluggy/_manager.py", line 339, in check_pending
INTERNALERROR>     raise PluginValidationError(
INTERNALERROR> pluggy._manager.PluginValidationError: unknown hook 'pytest_html_results_summary' in plugin <module 'conftest' from '/Users/vagrant/wazuh-qa/tests/integration/conftest.py'>

====================================== no tests ran in 0.05s =======================================
``

### Current behavior
After installing `wazuh-qa` repo requirements and framework to launch ITs, parts of the requirements were not installed or failed to be installed. Tests could not be launched.

### Expected behavior
The tests dependencies and framework are installed correctly and tests can be launched.
@JorgeMarinoDev
Copy link
Contributor

Requested macOS arm64 VMs in internal-devel-requests
https://github.com/wazuh/internal-devel-requests/issues/139
Got access and starting compilation of agent in macOs.
Plan is to reproduce dependency issue running test_syscollector.

@JorgeMarinoDev
Copy link
Contributor

Stats: Able to connect macOs Agent to Manager on VM environment.
Now following rules to setup wazuh-qa integration test to reproduce the issue.
https://github.com/wazuh/wazuh-qa/tree/master/tests/integration#readme

@JorgeMarinoDev
Copy link
Contributor

Status:
While setting up the wazuh-qa in macOS arm64 found the same dependencies issues prior to the pytest_html reported here.
Logging the entire process to report the procedure. Goal: Execute the test_syscollector module successfully.
Possibly the file https://github.com/wazuh/wazuh-qa/tree/v4.5.1-alpha1/tests/integration#readme is outdated and need some changes. Since some deps override the target versions, and others don´t, causing a mismatch. This file is 2 years old.
Logging the entire process to obtain the final deps list for pip3.

@JorgeMarinoDev
Copy link
Contributor

Status:
After following instructions to run integration tests and setting up the environment, several issues were found a priori in a completely isolated venv environment.
After installing wazuh-qa deps package with pip3, tests fail finding the testinfra module.
image
We keep working on this to get the final pip3 freeze list and procedure from scratch.

@JorgeMarinoDev
Copy link
Contributor

JorgeMarinoDev commented Aug 11, 2023

We did get to a resolutive conclusion for this reported issue.

In order to execute integration tests we need to fulfill these instructions:

  1. https://github.com/wazuh/wazuh-qa/tree/master/tests/integration#setting-up-a-test-environment (4 moths old)
  2. https://github.com/wazuh/wazuh-qa/tree/master/tests/integration#readme (2 years old)

These instructions require a manual procedure to deal with dependencies before executing the individual tests.

pip3 install pytest freezegun jq jsonschema pyyaml==5.4 psutil paramiko distro pandas==0.25.3 pytest-html==2.0.1 numpydoc==0.9.2

As we can see, some modules have a hard coded version number (probably up to date 2 years ago)

The main goal was to be able to execute the test_syscollector suite in macOS arm64 and fix the pip dependencies to do so.

Effectively, an isolated venv was created to do so in a fresh mac agent running and connected to a manager.

Apparently, the integration tests instructions included modules dependencies with now outdated versions. Further on, trying to install them out of the box as the doc states, pip3 reports issues with these versions. That's why this issue itself contains comments that deal with manual installation of some dependencies.

On the other hand, it's pretty common to provide a dependency list with the pip3 freeze command. It lists the currently installed versions of the modules. But over time, with later OS and modules updates, it gets deprecated. Specially, when the list include free and hard coded versions.

In order to get the test_syscollector running , the following procedure was executed with the dependencies listed below.

Results

We were able to run the following command without dependency issues:

python3 -m pytest ./test_syscollector

The test session starts running, but displays errors related to the tests themselves. Not related to dependencies.

Next steps

  • Modify instructions and remove the hard coded versions of the modules as dependencies.
  • Examine causes of failure of test_syscollector. After running, there are several failures related to config parsing. Outside the scope of this issue.

Working Dependencies
image

Conclusions

  • Dependencies issues can be fixed following instructions detailed above,
  • test_syscollector failures must be dealt in another issue, probably taking into account output attached here

test_syscollector.txt

@wazuhci wazuhci moved this from In progress to Pending review in Release 4.5.1 Aug 14, 2023
@vikman90
Copy link
Member

@JorgeMarinoDev thank you!

We would need a PR in this repository to get ITs working!

Best.

@wazuhci wazuhci moved this from Pending review to In progress in Release 4.5.1 Aug 14, 2023
@JorgeMarinoDev
Copy link
Contributor

@vikman90 Sounds good. Working on this.
Thank you.

@JorgeMarinoDev
Copy link
Contributor

@vikman90 It'd be really good to boost this https://github.com/wazuh/internal-devel-requests/issues/150

@teddytpc1
Copy link
Member

teddytpc1 commented Aug 16, 2023

Hi, @JorgeMarinoDev.
Are you still using the requested VM?
Please, let us know if we can terminate the instance.

@wazuhci wazuhci moved this from Triage to Pending review in Release 4.5.1 Aug 16, 2023
@wazuhci wazuhci moved this from Pending review to In progress in Release 4.5.1 Aug 16, 2023
@JorgeMarinoDev
Copy link
Contributor

@vikman90 @nmkoremblum Tests of PR changes were also performed in MacOs x86. Same procedure. Works OK.

Platform Result
MacOs ARM 🟢
MacOs x86 🟢

@wazuhci wazuhci moved this from In progress to Pending review in Release 4.5.1 Aug 16, 2023
@wazuhci wazuhci moved this from Pending review to In review in Release 4.5.1 Aug 16, 2023
@wazuhci wazuhci moved this from In review to Done in Release 4.5.1 Aug 16, 2023
damarisg added a commit that referenced this issue Aug 24, 2023
* fix: update VD validate xml test RHEL url

* docs: include 4424 in changelog

* fix(#4231): fix canonical tests

* docs: change changelog line to include all changes

* fix(#4411): Upgrading integration test dependencies for python in Mac (#4427)

* docs: update changelog

* docs: update changelog

* docs: delete extra number sign

* refactor: bump revision

* Change revision to 4.5.1-rc2 (#4435)

* Update Changelog

---------

Co-authored-by: Víctor Rebollo Pérez <[email protected]>
Co-authored-by: BelenValdivia <[email protected]>
Co-authored-by: Jorge Marino <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: Julia <[email protected]>
damarisg added a commit that referenced this issue Aug 24, 2023
* refactor: bump revision

* Fix package name in one_manager_agent system test environment

* Add fix to changelog

* Update CHANGELOG.md

Co-authored-by: Víctor Rebollo Pérez <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Víctor Rebollo Pérez <[email protected]>

* Merge 4.5.1 into 4.5.2 (#4457)

* fix: update VD validate xml test RHEL url

* docs: include 4424 in changelog

* fix(#4231): fix canonical tests

* docs: change changelog line to include all changes

* fix(#4411): Upgrading integration test dependencies for python in Mac (#4427)

* docs: update changelog

* docs: update changelog

* docs: delete extra number sign

* refactor: bump revision

* Change revision to 4.5.1-rc2 (#4435)

* Update Changelog

---------

Co-authored-by: Víctor Rebollo Pérez <[email protected]>
Co-authored-by: BelenValdivia <[email protected]>
Co-authored-by: Jorge Marino <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: Julia <[email protected]>

---------

Co-authored-by: Julia <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: Miguel Verdaguer Velázquez <[email protected]>
Co-authored-by: Víctor Rebollo Pérez <[email protected]>
Co-authored-by: BelenValdivia <[email protected]>
Co-authored-by: Jorge Marino <[email protected]>
damarisg added a commit that referenced this issue Aug 24, 2023
* docs(#3786): update changelog.md

* feat(#3786): new event_monitors

* fix(#3786): recursive_directory_creation perms

* feat(#3786): new fixture

* fix(#3786): configuration imports

* feat(#3786): new test module

* docs(#3786): update changelog.md

* style(#3786): fix indentation and whitelines

* style(#3786): fix indentation

* feat(#3693): add cases and configuration files

* feat(#3693): add test_registry_wildcards module

* feat(#3693): add new callbacks and event_monitor

* docs(#3693): update changelog.md

* style(#3693): fix whitelines

* feat(#4281): New invalid decoder test case for wazuh-logtest

* fix(#4281): Fix invalid_decoder_syntax.yaml file line lengths

* feat(#4325): upgrade pyyaml to 6.0.1

* feat: bump version 4.5.2

* fix(#4275): modified year field in test_update_from_year

* fix(#4275): update custom feeds to NVD 2.0 structure

* fix(#4275): deprecate NVD update_from_year option and related changes

* fix(#4275): NVD feed must be in one line

* fix(#4275): more NVD feed one line fix

* style(#4275): fix quoted errors in YAML file

* style(#4275): added changelog entry and fixed indexing problems

* Merge 4.5.2 into 4.6.0 (#4348)

* feat(#4281): New invalid decoder test case for wazuh-logtest

* fix(#4281): Fix invalid_decoder_syntax.yaml file line lengths

* feat(#4325): upgrade pyyaml to 6.0.1

* feat: bump version 4.5.2

* refactor(#4344): Add space to version json

* feat(#4344): add Release section

---------

Co-authored-by: Vikman Fernandez-Castro <[email protected]>
Co-authored-by: Victor M. Fernandez-Castro <[email protected]>
Co-authored-by: jnasselle <[email protected]>
Co-authored-by: Julia <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: David Jose Iglesias Lopez <[email protected]>
Co-authored-by: Víctor Rebollo Pérez <[email protected]>

* Move 4.5.0 `CHANGELOG.md` changes to 4.6.0 (#4331)

* Fix registry wildcards path (#4357)

* fix(#4356): fix configuration_templates path

* docs(#4356): update test wazuh_min_version

* fix(#3786): imports and paths

* fix: delete update_from_year for nvd

* Added new test to verify every check tag in configuration

* feat(#3723): Adds custom AlmaLinux OVAL feed

* feat(#3723): Adds AlmaLinux to test_providers vd tests

* feat(#3723): Adds AlmaLinux to test_scan_results vd tests

* feat(#3723): Adds AlmaLinux to test_feeds vd tests

* feat(#3723): Adds AlmaLinux to the remaining vd tests description

* feat(#3723): Adds AlmaLinux init configurations

* style(#3723): minor fixes

* style(#3723): Formatting .yaml files according to linting test

* fix: renamed syscollector wmodules prefix

* fix(#4336): fix flaky test.

* style(#4336): add missing line

* fix(#4336): fix test logic

* docs: include 4382 to changelog

* fix(#4231): fix canonical tests

* style(#3723): Fixing formatting for AlmaLinux .yaml config file

* docs: include affected component to changelog

Co-Authored-By: Juan Nicolas Asselle <[email protected]>

* Fix FIM framework to validate path in event correctly

* docs: update changelog

* docs: update changelog

* refactor: rename discard cases files

* feat: add cloudwatch and inspector discard regex tests and cases

* docs: add changelog entry

* fix(#4368): Change test and config file

* docs(#4368): update changelog

* Fixed error related to logs format in reliability test (#4387)

* fix(#4365): Adds new logs validations for Agent-groups_recv.yaml

* fix(#4635): Remove single quotes

* fix(#4635): Updates log messages

* fix(#4635): Adds new line at end of Agent-groups_recv.yaml

* fix(#4635): Adds PR to changelog.

* fix(#4365): Update to changelog

* fix(#4365): Update changelog.

---------

Co-authored-by: GGP1 <[email protected]>
Co-authored-by: mauromalara <[email protected]>

* docs: modify changelog and test cases descriptions

* fix(#4423): fix NVD custom feed

* Merge 4.5.2 into 4.6.0 (#4458)

* refactor: bump revision

* Fix package name in one_manager_agent system test environment

* Add fix to changelog

* Update CHANGELOG.md

Co-authored-by: Víctor Rebollo Pérez <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Víctor Rebollo Pérez <[email protected]>

* Merge 4.5.1 into 4.5.2 (#4457)

* fix: update VD validate xml test RHEL url

* docs: include 4424 in changelog

* fix(#4231): fix canonical tests

* docs: change changelog line to include all changes

* fix(#4411): Upgrading integration test dependencies for python in Mac (#4427)

* docs: update changelog

* docs: update changelog

* docs: delete extra number sign

* refactor: bump revision

* Change revision to 4.5.1-rc2 (#4435)

* Update Changelog

---------

Co-authored-by: Víctor Rebollo Pérez <[email protected]>
Co-authored-by: BelenValdivia <[email protected]>
Co-authored-by: Jorge Marino <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: Julia <[email protected]>

---------

Co-authored-by: Julia <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: Miguel Verdaguer Velázquez <[email protected]>
Co-authored-by: Víctor Rebollo Pérez <[email protected]>
Co-authored-by: BelenValdivia <[email protected]>
Co-authored-by: Jorge Marino <[email protected]>

---------

Co-authored-by: Deblintrake09 <[email protected]>
Co-authored-by: Vikman Fernandez-Castro <[email protected]>
Co-authored-by: Victor M. Fernandez-Castro <[email protected]>
Co-authored-by: jnasselle <[email protected]>
Co-authored-by: Julia <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: David Jose Iglesias Lopez <[email protected]>
Co-authored-by: lsayanes <[email protected]>
Co-authored-by: Leonardo Quiceno <[email protected]>
Co-authored-by: Mateo Cervilla <[email protected]>
Co-authored-by: lsayanes <[email protected]>
Co-authored-by: Marcel Kemp <[email protected]>
Co-authored-by: Víctor Rebollo Pérez <[email protected]>
Co-authored-by: Octavio Valle <[email protected]>
Co-authored-by: Jose Luis Carreras Marin <[email protected]>
Co-authored-by: Matias Pereyra <[email protected]>
Co-authored-by: mauromalara <[email protected]>
Co-authored-by: BelenValdivia <[email protected]>
Co-authored-by: Facundo Dalmau <[email protected]>
Co-authored-by: Selutario <[email protected]>
Co-authored-by: Eduardo <[email protected]>
Co-authored-by: Javier Castro <[email protected]>
Co-authored-by: Federico Ramos <[email protected]>
Co-authored-by: GGP1 <[email protected]>
Co-authored-by: Miguel Verdaguer Velázquez <[email protected]>
Co-authored-by: Jorge Marino <[email protected]>
damarisg added a commit that referenced this issue Aug 24, 2023
* Merge 4.6.0 into 4.7.0 (#4349)

* feat(#3693): add cases and configuration files

* feat(#3693): add test_registry_wildcards module

* feat(#3693): add new callbacks and event_monitor

* docs(#3693): update changelog.md

* style(#3693): fix whitelines

* Merge 4.5.2 into 4.6.0 (#4348)

* feat(#4281): New invalid decoder test case for wazuh-logtest

* fix(#4281): Fix invalid_decoder_syntax.yaml file line lengths

* feat(#4325): upgrade pyyaml to 6.0.1

* feat: bump version 4.5.2

* refactor(#4344): Add space to version json

* feat(#4344): add Release section

---------

Co-authored-by: Vikman Fernandez-Castro <[email protected]>
Co-authored-by: Victor M. Fernandez-Castro <[email protected]>
Co-authored-by: jnasselle <[email protected]>
Co-authored-by: Julia <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: David Jose Iglesias Lopez <[email protected]>
Co-authored-by: Víctor Rebollo Pérez <[email protected]>

* Move 4.5.0 `CHANGELOG.md` changes to 4.6.0 (#4331)

* Move changes of 4.5.0 in CHANGELOG.md

---------

Co-authored-by: Deblintrake09 <[email protected]>
Co-authored-by: Victor M. Fernandez-Castro <[email protected]>
Co-authored-by: Vikman Fernandez-Castro <[email protected]>
Co-authored-by: jnasselle <[email protected]>
Co-authored-by: Julia <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: David Jose Iglesias Lopez <[email protected]>
Co-authored-by: Víctor Rebollo Pérez <[email protected]>

* feat(#4045): add custom feed

* feat(#4045): add test cases and configuration

* feat(#4045): add test module

* docs(#4045): case name and description

* style(#4045): rename feed file name

* style(#4045): fix description indentation

* fix(#4356): fix configuration_templates path

* docs(#4356): update test wazuh_min_version

* refactor(#4404): update database version

* refactor(#4404): updated changelog

* Merge 4.6.0 into 4.7.0 (#4421)

* docs(#3786): update changelog.md

* feat(#3786): new event_monitors

* fix(#3786): recursive_directory_creation perms

* feat(#3786): new fixture

* fix(#3786): configuration imports

* feat(#3786): new test module

* docs(#3786): update changelog.md

* style(#3786): fix indentation and whitelines

* style(#3786): fix indentation

* feat(#3693): add cases and configuration files

* feat(#3693): add test_registry_wildcards module

* feat(#3693): add new callbacks and event_monitor

* docs(#3693): update changelog.md

* style(#3693): fix whitelines

* feat(#4281): New invalid decoder test case for wazuh-logtest

* fix(#4281): Fix invalid_decoder_syntax.yaml file line lengths

* feat(#4325): upgrade pyyaml to 6.0.1

* feat: bump version 4.5.2

* fix(#4275): modified year field in test_update_from_year

* fix(#4275): update custom feeds to NVD 2.0 structure

* fix(#4275): deprecate NVD update_from_year option and related changes

* fix(#4275): NVD feed must be in one line

* fix(#4275): more NVD feed one line fix

* style(#4275): fix quoted errors in YAML file

* style(#4275): added changelog entry and fixed indexing problems

* Merge 4.5.2 into 4.6.0 (#4348)

* feat(#4281): New invalid decoder test case for wazuh-logtest

* fix(#4281): Fix invalid_decoder_syntax.yaml file line lengths

* feat(#4325): upgrade pyyaml to 6.0.1

* feat: bump version 4.5.2

* refactor(#4344): Add space to version json

* feat(#4344): add Release section

---------

Co-authored-by: Vikman Fernandez-Castro <[email protected]>
Co-authored-by: Victor M. Fernandez-Castro <[email protected]>
Co-authored-by: jnasselle <[email protected]>
Co-authored-by: Julia <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: David Jose Iglesias Lopez <[email protected]>
Co-authored-by: Víctor Rebollo Pérez <[email protected]>

* Move 4.5.0 `CHANGELOG.md` changes to 4.6.0 (#4331)

* Fix registry wildcards path (#4357)

* fix(#4356): fix configuration_templates path

* docs(#4356): update test wazuh_min_version

* fix(#3786): imports and paths

* fix: delete update_from_year for nvd

* Added new test to verify every check tag in configuration

* feat(#3723): Adds custom AlmaLinux OVAL feed

* feat(#3723): Adds AlmaLinux to test_providers vd tests

* feat(#3723): Adds AlmaLinux to test_scan_results vd tests

* feat(#3723): Adds AlmaLinux to test_feeds vd tests

* feat(#3723): Adds AlmaLinux to the remaining vd tests description

* feat(#3723): Adds AlmaLinux init configurations

* style(#3723): minor fixes

* style(#3723): Formatting .yaml files according to linting test

* fix: renamed syscollector wmodules prefix

* fix(#4336): fix flaky test.

* style(#4336): add missing line

* fix(#4336): fix test logic

* docs: include 4382 to changelog

* fix(#4231): fix canonical tests

* style(#3723): Fixing formatting for AlmaLinux .yaml config file

* docs: include affected component to changelog

Co-Authored-By: Juan Nicolas Asselle <[email protected]>

* Fix FIM framework to validate path in event correctly

* docs: update changelog

* docs: update changelog

---------

Co-authored-by: Deblintrake09 <[email protected]>
Co-authored-by: Vikman Fernandez-Castro <[email protected]>
Co-authored-by: Victor M. Fernandez-Castro <[email protected]>
Co-authored-by: damarisg <[email protected]>
Co-authored-by: jnasselle <[email protected]>
Co-authored-by: Julia <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: David Jose Iglesias Lopez <[email protected]>
Co-authored-by: lsayanes <[email protected]>
Co-authored-by: Leonardo Quiceno <[email protected]>
Co-authored-by: Mateo Cervilla <[email protected]>
Co-authored-by: lsayanes <[email protected]>
Co-authored-by: Marcel Kemp <[email protected]>
Co-authored-by: Seyla Dámaris Gomez <[email protected]>
Co-authored-by: Octavio Valle <[email protected]>
Co-authored-by: Jose Luis Carreras Marin <[email protected]>
Co-authored-by: Matias Pereyra <[email protected]>
Co-authored-by: mauromalara <[email protected]>
Co-authored-by: BelenValdivia <[email protected]>
Co-authored-by: Javier Castro <[email protected]>

* Merge 4.6.0 into 4.7.0 (#4459)

* docs(#3786): update changelog.md

* feat(#3786): new event_monitors

* fix(#3786): recursive_directory_creation perms

* feat(#3786): new fixture

* fix(#3786): configuration imports

* feat(#3786): new test module

* docs(#3786): update changelog.md

* style(#3786): fix indentation and whitelines

* style(#3786): fix indentation

* feat(#3693): add cases and configuration files

* feat(#3693): add test_registry_wildcards module

* feat(#3693): add new callbacks and event_monitor

* docs(#3693): update changelog.md

* style(#3693): fix whitelines

* feat(#4281): New invalid decoder test case for wazuh-logtest

* fix(#4281): Fix invalid_decoder_syntax.yaml file line lengths

* feat(#4325): upgrade pyyaml to 6.0.1

* feat: bump version 4.5.2

* fix(#4275): modified year field in test_update_from_year

* fix(#4275): update custom feeds to NVD 2.0 structure

* fix(#4275): deprecate NVD update_from_year option and related changes

* fix(#4275): NVD feed must be in one line

* fix(#4275): more NVD feed one line fix

* style(#4275): fix quoted errors in YAML file

* style(#4275): added changelog entry and fixed indexing problems

* Merge 4.5.2 into 4.6.0 (#4348)

* feat(#4281): New invalid decoder test case for wazuh-logtest

* fix(#4281): Fix invalid_decoder_syntax.yaml file line lengths

* feat(#4325): upgrade pyyaml to 6.0.1

* feat: bump version 4.5.2

* refactor(#4344): Add space to version json

* feat(#4344): add Release section

---------

Co-authored-by: Vikman Fernandez-Castro <[email protected]>
Co-authored-by: Victor M. Fernandez-Castro <[email protected]>
Co-authored-by: jnasselle <[email protected]>
Co-authored-by: Julia <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: David Jose Iglesias Lopez <[email protected]>
Co-authored-by: Víctor Rebollo Pérez <[email protected]>

* Move 4.5.0 `CHANGELOG.md` changes to 4.6.0 (#4331)

* Fix registry wildcards path (#4357)

* fix(#4356): fix configuration_templates path

* docs(#4356): update test wazuh_min_version

* fix(#3786): imports and paths

* fix: delete update_from_year for nvd

* Added new test to verify every check tag in configuration

* feat(#3723): Adds custom AlmaLinux OVAL feed

* feat(#3723): Adds AlmaLinux to test_providers vd tests

* feat(#3723): Adds AlmaLinux to test_scan_results vd tests

* feat(#3723): Adds AlmaLinux to test_feeds vd tests

* feat(#3723): Adds AlmaLinux to the remaining vd tests description

* feat(#3723): Adds AlmaLinux init configurations

* style(#3723): minor fixes

* style(#3723): Formatting .yaml files according to linting test

* fix: renamed syscollector wmodules prefix

* fix(#4336): fix flaky test.

* style(#4336): add missing line

* fix(#4336): fix test logic

* docs: include 4382 to changelog

* fix(#4231): fix canonical tests

* style(#3723): Fixing formatting for AlmaLinux .yaml config file

* docs: include affected component to changelog

Co-Authored-By: Juan Nicolas Asselle <[email protected]>

* Fix FIM framework to validate path in event correctly

* docs: update changelog

* docs: update changelog

* refactor: rename discard cases files

* feat: add cloudwatch and inspector discard regex tests and cases

* docs: add changelog entry

* fix(#4368): Change test and config file

* docs(#4368): update changelog

* Fixed error related to logs format in reliability test (#4387)

* fix(#4365): Adds new logs validations for Agent-groups_recv.yaml

* fix(#4635): Remove single quotes

* fix(#4635): Updates log messages

* fix(#4635): Adds new line at end of Agent-groups_recv.yaml

* fix(#4635): Adds PR to changelog.

* fix(#4365): Update to changelog

* fix(#4365): Update changelog.

---------

Co-authored-by: GGP1 <[email protected]>
Co-authored-by: mauromalara <[email protected]>

* docs: modify changelog and test cases descriptions

* fix(#4423): fix NVD custom feed

* Merge 4.5.2 into 4.6.0 (#4458)

* refactor: bump revision

* Fix package name in one_manager_agent system test environment

* Add fix to changelog

* Update CHANGELOG.md

Co-authored-by: Víctor Rebollo Pérez <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Víctor Rebollo Pérez <[email protected]>

* Merge 4.5.1 into 4.5.2 (#4457)

* fix: update VD validate xml test RHEL url

* docs: include 4424 in changelog

* fix(#4231): fix canonical tests

* docs: change changelog line to include all changes

* fix(#4411): Upgrading integration test dependencies for python in Mac (#4427)

* docs: update changelog

* docs: update changelog

* docs: delete extra number sign

* refactor: bump revision

* Change revision to 4.5.1-rc2 (#4435)

* Update Changelog

---------

Co-authored-by: Víctor Rebollo Pérez <[email protected]>
Co-authored-by: BelenValdivia <[email protected]>
Co-authored-by: Jorge Marino <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: Julia <[email protected]>

---------

Co-authored-by: Julia <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: Miguel Verdaguer Velázquez <[email protected]>
Co-authored-by: Víctor Rebollo Pérez <[email protected]>
Co-authored-by: BelenValdivia <[email protected]>
Co-authored-by: Jorge Marino <[email protected]>

---------

Co-authored-by: Deblintrake09 <[email protected]>
Co-authored-by: Vikman Fernandez-Castro <[email protected]>
Co-authored-by: Victor M. Fernandez-Castro <[email protected]>
Co-authored-by: jnasselle <[email protected]>
Co-authored-by: Julia <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: David Jose Iglesias Lopez <[email protected]>
Co-authored-by: lsayanes <[email protected]>
Co-authored-by: Leonardo Quiceno <[email protected]>
Co-authored-by: Mateo Cervilla <[email protected]>
Co-authored-by: lsayanes <[email protected]>
Co-authored-by: Marcel Kemp <[email protected]>
Co-authored-by: Víctor Rebollo Pérez <[email protected]>
Co-authored-by: Octavio Valle <[email protected]>
Co-authored-by: Jose Luis Carreras Marin <[email protected]>
Co-authored-by: Matias Pereyra <[email protected]>
Co-authored-by: mauromalara <[email protected]>
Co-authored-by: BelenValdivia <[email protected]>
Co-authored-by: Facundo Dalmau <[email protected]>
Co-authored-by: Selutario <[email protected]>
Co-authored-by: Eduardo <[email protected]>
Co-authored-by: Javier Castro <[email protected]>
Co-authored-by: Federico Ramos <[email protected]>
Co-authored-by: GGP1 <[email protected]>
Co-authored-by: Miguel Verdaguer Velázquez <[email protected]>
Co-authored-by: Jorge Marino <[email protected]>

* Update Changelog

---------

Co-authored-by: Deblintrake09 <[email protected]>
Co-authored-by: Victor M. Fernandez-Castro <[email protected]>
Co-authored-by: Vikman Fernandez-Castro <[email protected]>
Co-authored-by: jnasselle <[email protected]>
Co-authored-by: Julia <[email protected]>
Co-authored-by: Julia Magán <[email protected]>
Co-authored-by: David Jose Iglesias Lopez <[email protected]>
Co-authored-by: Víctor Rebollo Pérez <[email protected]>
Co-authored-by: Dwordcito <[email protected]>
Co-authored-by: lsayanes <[email protected]>
Co-authored-by: Leonardo Quiceno <[email protected]>
Co-authored-by: Mateo Cervilla <[email protected]>
Co-authored-by: lsayanes <[email protected]>
Co-authored-by: Marcel Kemp <[email protected]>
Co-authored-by: Jose Luis Carreras Marin <[email protected]>
Co-authored-by: Matias Pereyra <[email protected]>
Co-authored-by: mauromalara <[email protected]>
Co-authored-by: BelenValdivia <[email protected]>
Co-authored-by: Javier Castro <[email protected]>
Co-authored-by: Facundo Dalmau <[email protected]>
Co-authored-by: Selutario <[email protected]>
Co-authored-by: Eduardo <[email protected]>
Co-authored-by: Federico Ramos <[email protected]>
Co-authored-by: GGP1 <[email protected]>
Co-authored-by: Miguel Verdaguer Velázquez <[email protected]>
Co-authored-by: Jorge Marino <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
5 participants