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

IT Authd: Fix authd nightly fails - 4.4 #3140

Merged
merged 3 commits into from
Aug 3, 2022
Merged

IT Authd: Fix authd nightly fails - 4.4 #3140

merged 3 commits into from
Aug 3, 2022

Conversation

Deblintrake09
Copy link
Contributor

@Deblintrake09 Deblintrake09 commented Aug 1, 2022

Related issue
#2922

Description

The Authd test suite was failing in the nightly pipeline. It was found that the errors and fails were being caused by the control_service function failing to stop the clusterd daemon. During research it was found that sometimes it was unable to get the process that needed to be stopped. This PR fixes that by changing how control_service gets the PID for the process and the process itself.


Updated

  • Modified control_service function from /deps/wazuh_testing/tools/services.py. Changed how it gets the PIDs of the clusterd and apiddaemons, now it retrieves them from the /var/ossec/var/run folder and the files associated with each daemon.

Testing performed

Tester Test path Local Jenkins OS Commit Package revision Notes
@Deblintrake09 (Developer) /test_authd/ ⚫⚫⚫ 🟢 🟢 🟢 Centos8 wazuh/wazuh@5104716 13608.dev.cloud.limits Nothing to highlight
@user (Reviewer) ⚫⚫⚫ 🚫 🚫 🚫 Nothing to highlight

@Deblintrake09 Deblintrake09 changed the base branch from master to 4.4 August 1, 2022 20:52
@Deblintrake09
Copy link
Contributor Author

Deblintrake09 commented Aug 1, 2022

Test Integration - Results

Name Jenkins
OS Linux Windows Solaris macOS
Target Manager Agent Agent Agent Agent
active_response 🟢 🟢 🔴 NA NA
agentd NA 🟢 🟢 NA NA
analysisd 🟢 NA NA NA NA
api 🟢 NA NA NA NA
enrollment
NA 🟢 🟢 NA NA
fim 🟢 🟢 🔵 🟢 🟢
gcloud
🟢 NA NA NA NA
github
🟢 🟢 NA NA NA
logcollector 🟢 🟢 🟢 🟢 🟢
logtest
🔵 NA NA NA NA
office365
🟢 🟢 NA NA NA
remoted 🟢 NA NA NA NA
rids 🟢 NA NA NA NA
rootcheck 🟢 NA NA NA NA
vulnerability_detector 🟢 NA NA NA NA
wazuh_db 🟢 NA NA NA NA

Notes

Failing modules - Tested on 4.4 with 4.4 branch

Module Results Notes
Logtest 🔴 🔴 🔴 🔴 Also fails on 4.5 check #3045
FIM windows 🔴 Also fails on 4.5 check #3045

@Deblintrake09 Deblintrake09 marked this pull request as ready for review August 2, 2022 12:37
@Deblintrake09 Deblintrake09 linked an issue Aug 2, 2022 that may be closed by this pull request
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.

Authd Tier 0: Several test fails
2 participants