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

macOS logcollector - Fixes and new tests #2043

Merged
merged 81 commits into from
Oct 27, 2021
Merged

Conversation

Rebits
Copy link
Member

@Rebits Rebits commented Oct 15, 2021

Related issue
#1480, #1470 , #2022 , #1465, #1481

Description

These PR group the following developments:

All these development have been grouped in this PR in order to accelerate the testing process and to ensure test_macos submodule full-green consistency.

Configuration options

Some tests have not use the actual standard so, in order to launch test_macos submodule is necessary to add the following local_internal_options:

logcollector.debug=2
logcollector.sample_log_length=100

15/10/2021

Package

Version Revision Link
4.3.0 40301 https://packages-dev.wazuh.com/warehouse/test/4.3/macos/wazuh-agent-4.3.0-vr.testing.macos.logcollector.pkg

test_logcollector/test_macos

OS Local Jenkins Notes
PS1 🟢 🟢
PS2 🟢 🟢
PS3 🟢 🟢
  • 🟢: All pass
  • 🟡: Some warnings
  • 🔴: Some errors/fails
  • 🔵: In progress

Tests

  • Proven that tests pass when they have to pass.
  • Proven that tests fail when they have to fail.
  • Python codebase satisfies PEP-8 style style guide. pycodestyle --max-line-length=120 --show-source --show-pep8 file.py.
  • Python codebase is documented following the Google Style for Python docstrings.
  • The test is documented in wazuh-qa/docs.
  • provision_documentation.sh generate the docs without errors.

JcabreraC and others added 30 commits September 21, 2021 11:13
Added IT for wazuh-logcollector.state in macOS
@Rebits Rebits self-assigned this Oct 15, 2021
@juliamagan
Copy link
Member

juliamagan commented Oct 15, 2021

Package

Version Revision Link
4.3.0 40301 https://packages-dev.wazuh.com/warehouse/test/4.3/rpm/var/wazuh-manager-4.3.0-vr.testing.macos.logcollector.x86_64.rpm
4.3.0 40301 https://packages-dev.wazuh.com/warehouse/test/4.3/macos/wazuh-agent-4.3.0-vr.testing.macos.logcollector.pkg

Testing

test_logcollector/test_macos

OS Local Jenkins Notes
PS1 🟢 🔴 local internal options are not correctly set
PS2 🟢

  • 🟢: All pass
  • 🟡: Some warnings
  • 🔴: Some errors/fails
  • 🔵: In progress

@juliamagan
Copy link
Member

juliamagan commented Oct 18, 2021

Package

Version Revision Link
4.3.0 40301 https://packages-dev.wazuh.com/warehouse/test/4.3/rpm/var/wazuh-manager-4.3.0-vr.testing.macos.logcollector.x86_64.rpm
4.3.0 40301 https://packages-dev.wazuh.com/warehouse/test/4.3/macos/wazuh-agent-4.3.0-vr.testing.macos.logcollector.pkg

Testing

test_logcollector/test_macos

OS Local Jenkins Notes
PS1 🟢 🟢
PS2 🟢 🟢
PS3 🟢 🟢

  • 🟢: All pass
  • 🟡: Some warnings
  • 🔴: Some errors/fails
  • 🔵: In progress

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.

8 participants