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

Update Packages Used in TestScanSyscollectorCases #4991

Closed
rafabailon opened this issue Feb 21, 2024 · 4 comments · Fixed by #4997
Closed

Update Packages Used in TestScanSyscollectorCases #4991

rafabailon opened this issue Feb 21, 2024 · 4 comments · Fixed by #4997
Assignees
Labels

Comments

@rafabailon
Copy link
Member

Description

The TestScanSyscollectorCases need to be updated. The E2E tests are located in the file test_vulnerability_detector.py.

Tasks

Steps to update the tests:

Steps to test:

  • Run the tests in a real environment with the new packages and review the information obtained (Test_e2e_system Pipeline)
@rafabailon rafabailon self-assigned this Feb 21, 2024
@wazuhci wazuhci moved this to Triage in Release 4.8.0 Feb 21, 2024
@wazuhci wazuhci moved this from Triage to In progress in Release 4.8.0 Feb 21, 2024
@rafabailon rafabailon linked a pull request Feb 21, 2024 that will close this issue
@rafabailon
Copy link
Member Author

Update

I have created the following branches:

  • feature/4991-update-packages-in-TestScanSyscollectorCases
  • temporary/4991-vulnerability-detector-tests

The temporary branch also contains the changes of @Rebits to be able to test the pipeline. This is the execution of the pipeline: https://ci.wazuh.info/job/Test_e2e_system/236/console

I'm waiting for it to finish to do the checks.

@rafabailon
Copy link
Member Author

Update

The pipeline failed. I have launched another pipeline that failed with the same error. It seems to be a problem with the Wazuh Indexer.

I have created an issue to investigate the error #5004

@wazuhci wazuhci moved this from In progress to Blocked in Release 4.8.0 Feb 23, 2024
@wazuhci wazuhci moved this from Blocked to On hold in Release 4.8.0 Feb 27, 2024
@wazuhci wazuhci moved this from On hold to In progress in Release 4.8.0 Mar 5, 2024
@rafabailon
Copy link
Member Author

Update

I have launched the pipeline to create the VMs necessary to run the tests (except MacOS). I have launched the tests manually and they have not worked because Windows does not install the .exe packages and the .msi packages in the same way.

I have run the tests only for Linux and they have finished. These are the results Linux_Tests.zip

I have had to modify the code to allow the installation of .msi packages on Windows. I have to repeat the tests for Windows.

@wazuhci wazuhci moved this from In progress to Pending review in Release 4.8.0 Mar 7, 2024
@wazuhci wazuhci moved this from Pending review to In review in Release 4.8.0 Mar 8, 2024
@wazuhci wazuhci moved this from In review to On hold in Release 4.8.0 Mar 8, 2024
@wazuhci wazuhci moved this from On hold to In review in Release 4.8.0 Mar 8, 2024
@wazuhci wazuhci moved this from In review to Pending final review in Release 4.8.0 Mar 8, 2024
@wazuhci wazuhci moved this from Pending final review to In final review in Release 4.8.0 Mar 8, 2024
@davidjiglesias
Copy link
Member

LGTM

@wazuhci wazuhci moved this from In final review to Done in Release 4.8.0 Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants