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

Release 4.8.0 - RC 2 - Integration tests #23434

Closed
Rebits opened this issue May 15, 2024 · 6 comments
Closed

Release 4.8.0 - RC 2 - Integration tests #23434

Rebits opened this issue May 15, 2024 · 6 comments

Comments

@Rebits
Copy link
Member

Rebits commented May 15, 2024

Description

Main release stage issue #23405
Version 4.8.0
Release stage RC 2
Wazuh QA: Tag https://github.com/wazuh/wazuh-qa/tree/v4.8.0-rc2
Wazuh QA: Branch v4.8.0-rc2
Wazuh: Tag https://github.com/wazuh/wazuh/tree/v4.8.0-rc2
Wazuh: Branch v4.8.0-rc2

The tests will be performed in Jenkins using centOS as the manager OS. As for the agents, Linux, Windows, Solaris, and macOS will be used as required.

Build

Build: https://ci.wazuh.info/job/Test_integration_launcher/253/

Results of the integration tests

Color Details
🟢 The pipeline has been executed successfully
🔴 The pipeline has failed or it has errors

Test suite Target CentOS Ubuntu Windows macOS Solaris
active_response Manager 🟢 Download evidence N/A N/A N/A N/A
active_response Agent 🟢 Download evidence N/A 🟢 Download evidence N/A N/A
agentd Agent 🟢 Download evidence N/A 🔴 Download evidence N/A N/A
analysisd Manager 🟢 Download evidence N/A N/A N/A N/A
api Manager 🔴 Download evidence N/A N/A N/A N/A
authd Manager 🟢 Download evidence N/A N/A N/A N/A
enrollment Agent 🟢 Download evidence N/A 🟢 Download evidence N/A N/A
fim Manager 🟢 Download evidence N/A N/A N/A N/A
fim Agent 🟢 Download evidence N/A 🟢 Download evidence N/A N/A
fim Agent N/A N/A N/A 🟢 🟢
gcloud Manager 🟢 Download evidence N/A N/A N/A N/A
github Manager 🟢 Download evidence N/A N/A N/A N/A
github Agent 🟢 Download evidence N/A N/A N/A N/A
logcollector Manager 🟢 Download evidence N/A N/A N/A N/A
logcollector Agent 🟢 Download evidence N/A 🔴 Download evidence 🟢 Download evidence 🟢 Download evidence
logtest Manager 🟢 Download evidence N/A N/A N/A N/A
office_365 Manager 🟢 Download evidence N/A N/A N/A N/A
office_365 Agent 🟢 Download evidence N/A N/A N/A N/A
remoted Manager 🟢 Download evidence N/A N/A N/A N/A
rids Manager 🟢 Download evidence N/A N/A N/A N/A
rootcheck Manager 🔴 Download evidence N/A N/A N/A N/A
wazuh_db Manager 🟢 Download evidence N/A N/A N/A N/A
syscollector Manager 🟢 Download evidence N/A N/A N/A N/A
syscollector Agent 🟢 Couldn't get evidence. Check the pipeline. N/A 🔴 Couldn't get evidence. Check the pipeline. 🟢 Couldn't get evidence. Check the pipeline. N/A

Conclusion 🔴

New Issues

Known issues

@Rebits
Copy link
Member Author

Rebits commented May 15, 2024

Results of IT from Jenkins Build

Syscollector 🟡

Failure during deployment of instances. Known issue. Reported https://github.com/wazuh/wazuh-jenkins/issues/5539
Rerun in https://ci.wazuh.info/job/Test_integration/47302

Tests fail due to a known issue: wazuh/wazuh-qa#4230

Error trace
11:42:04  Command: ["import", "/var/root/.vagrant.d/boxes/development-VAGRANTSLASH-macos-catalina/0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "new_box_macos_fim_test_1582644530271_78262_1715769345026_74264", "--vsys", "0", "--unit", "12", "--disk", "/Users/jenkins/VirtualBox VMs/new_box_macos_fim_test_1582644530271_78262_1715769345026_74264/box-disk001.vmdk"]
11:42:04  
11:42:04  Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Rootcheck 🟡

Known issue: #22058
Already migrated to GHA: #22058.

Rootcheck ITs were integrated in analysisd, which was migrated to GHA. Unmarking it from the launcher #23434 (comment)

Logcollector 🟡

Failure during teardonwn in test_logcollector/test_location/test_win_location_wildcards.py::test_win_location_wildcards[test_mixed_wildcards-]::teardown:

E           OSError: [WinError 145] The directory is not empty: 'c:\\testfolder\\subfolder'

Logcollector IT has already been migrated ti GHA. However, these tests are not present in 4.8.0 branch

Known issue: wazuh/wazuh-qa#5096

Fim specials 🟢

Failure during deployment of instances. Known issue. Reported https://github.com/wazuh/wazuh-jenkins/issues/5539
Rerun in https://ci.wazuh.info/job/Test_integration/47303/

Error trace
11:42:04  Command: ["import", "/var/root/.vagrant.d/boxes/development-VAGRANTSLASH-macos-catalina/0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "new_box_macos_fim_test_1582644530271_78262_1715769345026_74264", "--vsys", "0", "--unit", "12", "--disk", "/Users/jenkins/VirtualBox VMs/new_box_macos_fim_test_1582644530271_78262_1715769345026_74264/box-disk001.vmdk"]
11:42:04  
11:42:04  Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

FIM tests passed after solving deployment error. Marking as 🟢

API 🟡

Already migrated to GHA. I suggest removing them from the launcher. Known issue #22495
Unmarking it from the launcher #23434 (comment)

Agentd Windows 🔴

Unexpected failure in Windows agentd test test_agentd/test_agentd_reconnection.py::test_agentd_reconection_enrollment_no_keys_file[tcp]

                    self.stop()
                    if error_message:
                        logger.error(error_message)
                        logger.error(f"Results accumulated: "
                                     f"{len(result) if isinstance(result, list) else 0}")
                        logger.error(f"Results expected: {accum_results}")
>                   raise TimeoutError(error_message)
E                   TimeoutError: Agent never enrolled for the first time.

Agentd IT seems to have already been migrated. However, these are not present for the 4.8.0 branch. For this reason a manual review is required. Reported in #23465

@Rebits
Copy link
Member Author

Rebits commented May 16, 2024

I have disabled by default from the IT launcher the following IT modules:

  • API
  • Analysisd
  • Github
  • Office
  • Rootcheck

All these modules have been migrated in 4.7 and 4.8 to GHA, so there is no need to run these tests in Jenkins

Approved by

@MARCOSD4
Copy link
Member

LGTM

1 similar comment
@juliamagan
Copy link
Member

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants