-
Notifications
You must be signed in to change notification settings - Fork 32
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
Merge Test module into DTT1 #5165
Merged
rauldpm
merged 83 commits into
enhancement/4495-DTT1
from
enhancement/4848-dtt1-iteration-3-test-module
Apr 1, 2024
Merged
Merge Test module into DTT1 #5165
rauldpm
merged 83 commits into
enhancement/4495-DTT1
from
enhancement/4848-dtt1-iteration-3-test-module
Apr 1, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… to api methods, adding register no one line installation
…-Validations-and-error-handling Error handling, logs and improvements in validations
…tion-3-test-module
fcaffieri
approved these changes
Mar 27, 2024
…tion-3-test-module
UpdateTest PART I
MANAGER 🟢 python3 modules/testing/main.py --wazuh-revision '40714' --wazuh-version '4.7.3' --component 'manager' --tests 'install,restart,stop,uninstall' --targets '{"wazuh-1":"/tmp/dtt1-poc/manager-linux-ubuntu-20.04-amd64/inventory.yml"}' --targets '{"wazuh-2":"/tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yml"}' --targets '{"wazuh-3":"/tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yml"}' --targets '{"wazuh-4":"/tmp/dtt1-poc/manager-linux-amazon-2-amd64/inventory.yml"}' --live 'True' AWS 🟢[2024-04-01 11:52:02,400] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-01 11:52:04,977] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-01 11:52:05,115] [INFO] [Testing]: No Firewall to disable on oracle-9
[2024-04-01 11:52:07,822] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-01 11:53:17,353] [INFO] [Testing]: File permissions modified to be handled
[2024-04-01 11:53:22,682] [INFO] [Testing]: File copied from ubuntu-20.04 (44.204.20.36) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-01 11:53:25,652] [INFO] [Testing]: Sending file from /home/ubuntu/wazuh-install-files.tar to ubuntu-22.04 (44.211.225.194)
[2024-04-01 11:53:29,944] [INFO] [Testing]: File permissions were restablished
[2024-04-01 11:53:29,945] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-01 11:53:38,447] [INFO] [Testing]: File permissions modified to be handled
[2024-04-01 11:53:43,917] [INFO] [Testing]: File copied from ubuntu-20.04 (44.204.20.36) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-01 11:53:46,846] [INFO] [Testing]: Sending file from /home/ubuntu/wazuh-install-files.tar to oracle-9 (18.207.187.21)
[2024-04-01 11:53:51,452] [INFO] [Testing]: File permissions were restablished
[2024-04-01 11:53:51,454] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-01 11:54:00,281] [INFO] [Testing]: File permissions modified to be handled
[2024-04-01 11:54:05,689] [INFO] [Testing]: File copied from ubuntu-20.04 (44.204.20.36) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-01 11:54:08,763] [INFO] [Testing]: Sending file from /home/ubuntu/wazuh-install-files.tar to amazon-2 (3.93.152.205)
[2024-04-01 11:54:13,573] [INFO] [Testing]: File permissions were restablished
[2024-04-01 11:54:13,574] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-01 11:54:18,180] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-01 11:54:30,475] [INFO] [Testing]: Installing Manager in ubuntu-20.04
[2024-04-01 11:55:48,190] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-01 11:55:59,255] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-01 11:55:59,256] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 11:56:01,316] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 11:56:13,793] [INFO] [Testing]: Installing Manager in ubuntu-22.04
[2024-04-01 11:57:34,690] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 11:57:45,829] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-01 11:57:45,830] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 11:57:48,208] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 11:58:00,066] [INFO] [Testing]: Installing Manager in oracle-9
[2024-04-01 11:59:11,253] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 11:59:21,047] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-01 11:59:21,048] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 11:59:23,542] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 11:59:34,708] [INFO] [Testing]: Installing Manager in amazon-2
[2024-04-01 12:00:26,929] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 12:00:36,386] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-01 12:00:36,387] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:00:36,387] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-01 12:00:41,162] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 12:00:45,771] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 12:00:50,316] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:01:28,070] [INFO] [Testing]: Cluster configured in: ubuntu-20.04
[2024-04-01 12:02:00,626] [INFO] [Testing]: Cluster configured in: ubuntu-22.04
[2024-04-01 12:02:29,608] [INFO] [Testing]: Cluster configured in: oracle-9
[2024-04-01 12:02:59,509] [INFO] [Testing]: Cluster configured in: amazon-2
[2024-04-01 12:03:02,176] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-01 12:03:04,423] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 12:03:06,675] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 12:03:09,031] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:05:00,985] [INFO] [Testing]: Restarting wazuh-manager in ubuntu-22.04
[2024-04-01 12:05:20,003] [INFO] [Testing]: Restarting wazuh-manager in oracle-9
[2024-04-01 12:05:34,745] [INFO] [Testing]: Restarting wazuh-manager in amazon-2
[2024-04-01 12:05:51,029] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-01 12:05:53,385] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 12:05:55,535] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 12:05:57,832] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:06:06,314] [INFO] [Testing]: Stopping wazuh-manager in ubuntu-22.04
[2024-04-01 12:06:11,715] [INFO] [Testing]: Stopping wazuh-manager in oracle-9
[2024-04-01 12:06:16,733] [INFO] [Testing]: Stopping wazuh-manager in amazon-2
[2024-04-01 12:06:22,673] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-01 12:06:24,890] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:06:27,177] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:06:29,532] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:06:31,787] [INFO] [Testing]: Restarting wazuh-manager in ubuntu-22.04
[2024-04-01 12:06:47,555] [INFO] [Testing]: Restarting wazuh-manager in oracle-9
[2024-04-01 12:06:59,331] [INFO] [Testing]: Restarting wazuh-manager in amazon-2
[2024-04-01 12:07:19,405] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-01 12:07:21,656] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 12:07:24,118] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 12:07:26,366] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:07:30,786] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-01 12:07:41,637] [INFO] [Testing]: Uninstalling Manager in ubuntu-20.04
[2024-04-01 12:07:55,931] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-01 12:08:06,676] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-01 12:08:06,677] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:08:09,066] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 12:08:19,993] [INFO] [Testing]: Uninstalling Manager in ubuntu-22.04
[2024-04-01 12:08:34,359] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 12:08:45,222] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-01 12:08:45,222] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:08:47,774] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 12:08:57,346] [INFO] [Testing]: Uninstalling Manager in oracle-9
[2024-04-01 12:09:18,089] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 12:09:27,610] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-01 12:09:27,610] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:09:29,963] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 12:09:40,515] [INFO] [Testing]: Uninstalling Manager in amazon-2
[2024-04-01 12:09:54,350] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 12:10:04,579] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-01 12:10:04,579] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
VAGRANT 🟢[2024-04-01 11:33:47,870] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-01 11:33:48,679] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-01 11:33:50,688] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-01 11:33:50,905] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-01 11:34:23,013] [INFO] [Testing]: File permissions modified to be handled
[2024-04-01 11:34:24,192] [INFO] [Testing]: File copied from ubuntu-20.04 (192.168.57.2) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-01 11:34:24,532] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to ubuntu-22.04 (192.168.57.3)
[2024-04-01 11:34:25,455] [INFO] [Testing]: File permissions were restablished
[2024-04-01 11:34:25,456] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-01 11:34:27,559] [INFO] [Testing]: File permissions modified to be handled
[2024-04-01 11:34:28,723] [INFO] [Testing]: File copied from ubuntu-20.04 (192.168.57.2) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-01 11:34:29,015] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to oracle-9 (192.168.57.4)
[2024-04-01 11:34:30,097] [INFO] [Testing]: File permissions were restablished
[2024-04-01 11:34:30,097] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-01 11:34:31,803] [INFO] [Testing]: File permissions modified to be handled
[2024-04-01 11:34:32,989] [INFO] [Testing]: File copied from ubuntu-20.04 (192.168.57.2) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-01 11:34:33,157] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to amazon-2 (192.168.57.5)
[2024-04-01 11:34:34,053] [INFO] [Testing]: File permissions were restablished
[2024-04-01 11:34:34,053] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-01 11:34:34,811] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-01 11:34:40,785] [INFO] [Testing]: Installing Manager in ubuntu-20.04
[2024-04-01 11:36:27,056] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-01 11:36:30,456] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-01 11:36:30,457] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 11:36:31,172] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 11:36:34,601] [INFO] [Testing]: Installing Manager in ubuntu-22.04
[2024-04-01 11:38:31,654] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 11:38:34,511] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-01 11:38:34,511] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 11:38:35,050] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 11:38:38,753] [INFO] [Testing]: Installing Manager in oracle-9
[2024-04-01 11:41:27,872] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 11:41:30,469] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-01 11:41:30,469] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 11:41:30,665] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 11:41:33,085] [INFO] [Testing]: Installing Manager in amazon-2
[2024-04-01 11:42:31,184] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 11:42:32,515] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-01 11:42:32,515] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 11:42:32,515] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-01 11:42:33,578] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 11:42:34,422] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 11:42:35,446] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 11:42:59,423] [INFO] [Testing]: Cluster configured in: ubuntu-20.04
[2024-04-01 11:43:20,524] [INFO] [Testing]: Cluster configured in: ubuntu-22.04
[2024-04-01 11:43:39,019] [INFO] [Testing]: Cluster configured in: oracle-9
[2024-04-01 11:43:59,695] [INFO] [Testing]: Cluster configured in: amazon-2
[2024-04-01 11:44:00,895] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-01 11:44:01,492] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 11:44:02,118] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 11:44:02,660] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 11:44:36,503] [INFO] [Testing]: Restarting wazuh-manager in ubuntu-22.04
[2024-04-01 11:44:56,607] [INFO] [Testing]: Restarting wazuh-manager in oracle-9
[2024-04-01 11:45:10,967] [INFO] [Testing]: Restarting wazuh-manager in amazon-2
[2024-04-01 11:45:28,246] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-01 11:45:29,014] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 11:45:29,620] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 11:45:30,168] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 11:45:37,449] [INFO] [Testing]: Stopping wazuh-manager in ubuntu-22.04
[2024-04-01 11:45:41,385] [INFO] [Testing]: Stopping wazuh-manager in oracle-9
[2024-04-01 11:45:45,464] [INFO] [Testing]: Stopping wazuh-manager in amazon-2
[2024-04-01 11:45:49,898] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-01 11:45:50,685] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 11:45:50,901] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 11:45:51,153] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 11:45:51,408] [INFO] [Testing]: Restarting wazuh-manager in ubuntu-22.04
[2024-04-01 11:46:07,517] [INFO] [Testing]: Restarting wazuh-manager in oracle-9
[2024-04-01 11:46:18,240] [INFO] [Testing]: Restarting wazuh-manager in amazon-2
[2024-04-01 11:46:40,300] [INFO] [Testing]: Getting status of ubuntu-20.04
[2024-04-01 11:46:40,931] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 11:46:41,511] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 11:46:41,996] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 11:46:42,700] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-01 11:46:46,236] [INFO] [Testing]: Uninstalling Manager in ubuntu-20.04
[2024-04-01 11:46:55,322] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-20.04
[2024-04-01 11:46:58,606] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-20.04
[2024-04-01 11:46:58,606] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-20.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 11:46:59,083] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 11:47:01,616] [INFO] [Testing]: Uninstalling Manager in ubuntu-22.04
[2024-04-01 11:47:10,360] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 11:47:13,099] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-01 11:47:13,100] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 11:47:13,718] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 11:47:16,404] [INFO] [Testing]: Uninstalling Manager in oracle-9
[2024-04-01 11:47:34,997] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 11:47:37,763] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-01 11:47:37,763] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 11:47:37,969] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 11:47:39,567] [INFO] [Testing]: Uninstalling Manager in amazon-2
[2024-04-01 11:47:52,593] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 11:47:54,022] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-01 11:47:54,022] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
AGENT 🟢 python3 modules/testing/main.py --wazuh-revision '40714' --wazuh-version '4.7.3' --component 'agent' --tests 'install,registration,restart,stop,uninstall' --targets '{"wazuh-1":"/tmp/dtt1-poc/manager-linux-ubuntu-20.04-amd64/inventory.yml"}' --targets '{"agent-1":"/tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yml"}' --targets '{"agent-2":"/tmp/dtt1-poc/manager-linux-oracle-9-amd64/inventory.yml"}' --targets '{"agent-3":"/tmp/dtt1-poc/manager-linux-amazon-2-amd64/inventory.yml"}' --live 'True' AWS 🟢[2024-04-01 12:13:28,354] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-01 12:13:31,017] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-01 12:13:31,171] [INFO] [Testing]: No Firewall to disable on oracle-9
[2024-04-01 12:13:31,326] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-01 12:14:15,151] [INFO] [Testing]: Installing Manager in ubuntu-20.04
[2024-04-01 12:15:37,076] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 12:15:53,556] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-01 12:16:07,280] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 12:16:17,998] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-01 12:16:17,998] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:16:19,560] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 12:16:33,662] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-01 12:17:01,142] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 12:17:09,909] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-01 12:17:09,910] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:17:12,624] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 12:17:25,745] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-01 12:17:36,010] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 12:17:44,152] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-01 12:17:44,152] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:17:50,078] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 12:17:52,420] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 12:17:54,397] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:18:50,717] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 12:18:52,862] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 12:18:54,379] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:19:41,984] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-01 12:19:50,931] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-01 12:19:59,422] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-01 12:20:08,030] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 12:20:10,278] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 12:20:12,734] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:20:48,883] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-01 12:20:52,261] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-01 12:20:55,129] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-01 12:20:57,996] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 12:21:03,116] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 12:21:07,929] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:21:13,358] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-01 12:21:21,855] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-01 12:21:28,614] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-01 12:21:58,208] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 12:22:10,828] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-01 12:22:20,326] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 12:22:30,684] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-01 12:22:30,685] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:22:32,864] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 12:22:43,919] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-01 12:23:00,703] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 12:23:08,863] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-01 12:23:08,863] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:23:11,246] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 12:23:22,073] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-01 12:23:32,620] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 12:23:41,479] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-01 12:23:41,479] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
VAGRANT 🟢[2024-04-01 12:31:23,159] [INFO] [Testing]: No Firewall to disable on ubuntu-20.04
[2024-04-01 12:31:23,980] [INFO] [Testing]: No Firewall to disable on ubuntu-22.04
[2024-04-01 12:31:25,757] [INFO] [Testing]: Firewall disabled on oracle-9
[2024-04-01 12:31:25,971] [INFO] [Testing]: No Firewall to disable on amazon-2
[2024-04-01 12:31:51,648] [INFO] [Testing]: Installing Manager in ubuntu-20.04
[2024-04-01 12:33:46,621] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 12:33:52,040] [INFO] [Testing]: Installing Agent in ubuntu-22.04
[2024-04-01 12:33:59,039] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 12:34:02,092] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-01 12:34:02,092] [INFO] [Testing]: Pre and post install checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:34:02,579] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 12:34:07,913] [INFO] [Testing]: Installing Agent in oracle-9
[2024-04-01 12:34:35,286] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 12:34:37,762] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-01 12:34:37,762] [INFO] [Testing]: Pre and post install checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:34:38,032] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 12:34:41,030] [INFO] [Testing]: Installing Agent in amazon-2
[2024-04-01 12:34:45,889] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 12:34:47,892] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-01 12:34:47,892] [INFO] [Testing]: Pre and post install checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:34:50,196] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 12:34:50,595] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 12:34:50,964] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:35:17,738] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 12:35:18,186] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 12:35:18,520] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:35:54,266] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-01 12:36:01,584] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-01 12:36:07,256] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-01 12:36:13,352] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 12:36:13,666] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 12:36:14,071] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:36:27,399] [INFO] [Testing]: Stopping wazuh-agent in ubuntu-22.04
[2024-04-01 12:36:29,179] [INFO] [Testing]: Stopping wazuh-agent in oracle-9
[2024-04-01 12:36:30,532] [INFO] [Testing]: Stopping wazuh-agent in amazon-2
[2024-04-01 12:36:33,133] [INFO] [Testing]: Getting status of ubuntu-22.04
[2024-04-01 12:36:35,090] [INFO] [Testing]: Getting status of oracle-9
[2024-04-01 12:36:36,230] [INFO] [Testing]: Getting status of amazon-2
[2024-04-01 12:36:36,801] [INFO] [Testing]: Restarting wazuh-agent in ubuntu-22.04
[2024-04-01 12:36:44,403] [INFO] [Testing]: Restarting wazuh-agent in oracle-9
[2024-04-01 12:36:49,154] [INFO] [Testing]: Restarting wazuh-agent in amazon-2
[2024-04-01 12:37:04,043] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 12:37:06,501] [INFO] [Testing]: Uninstalling Agent in ubuntu-22.04
[2024-04-01 12:37:10,995] [INFO] [Testing]: Generating Snapshot for Checkfile in ubuntu-22.04
[2024-04-01 12:37:13,365] [INFO] [Testing]: Applying filters in checkfiles in ubuntu-22.04
[2024-04-01 12:37:13,365] [INFO] [Testing]: Pre and post uninstall checkfile comparison in ubuntu-22.04: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:37:13,951] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 12:37:17,149] [INFO] [Testing]: Uninstalling Agent in oracle-9
[2024-04-01 12:37:35,101] [INFO] [Testing]: Generating Snapshot for Checkfile in oracle-9
[2024-04-01 12:37:38,607] [INFO] [Testing]: Applying filters in checkfiles in oracle-9
[2024-04-01 12:37:38,607] [INFO] [Testing]: Pre and post uninstall checkfile comparison in oracle-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:37:38,821] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 12:37:40,408] [INFO] [Testing]: Uninstalling Agent in amazon-2
[2024-04-01 12:37:43,276] [INFO] [Testing]: Generating Snapshot for Checkfile in amazon-2
[2024-04-01 12:37:44,910] [INFO] [Testing]: Applying filters in checkfiles in amazon-2
[2024-04-01 12:37:44,911] [INFO] [Testing]: Pre and post uninstall checkfile comparison in amazon-2: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
|
UpdateTest PART II
MANAGER 🟢 python3 modules/testing/main.py --wazuh-revision '40714' --wazuh-version '4.7.3' --component 'manager' --tests 'install,restart,stop,uninstall' --targets '{"wazuh-1":"/tmp/dtt1-poc/manager-linux-redhat-7-amd64/inventory.yml"}' --targets '{"wazuh-2":"/tmp/dtt1-poc/manager-linux-redhat-8-amd64/inventory.yml"}' --targets '{"wazuh-3":"/tmp/dtt1-poc/manager-linux-redhat-9-amd64/inventory.yml"}' --targets '{"wazuh-4":"/tmp/dtt1-poc/manager-linux-centos-7-amd64/inventory.yml"}' --live 'True' AWS 🟢[2024-04-01 14:05:18,889] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-01 14:05:21,140] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-01 14:05:23,495] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-01 14:05:25,850] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-01 14:06:04,154] [INFO] [Testing]: Installing Manager in redhat-7
[2024-04-01 14:07:18,898] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 14:07:43,771] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-01 14:08:29,762] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 14:08:38,061] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-01 14:08:38,061] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 14:08:40,348] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 14:08:57,103] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-01 14:09:24,891] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 14:09:34,752] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-01 14:09:34,874] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 14:09:37,244] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 14:09:54,140] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-01 14:10:21,685] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 14:10:31,315] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-01 14:10:31,316] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 14:10:37,461] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 14:10:39,264] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 14:10:41,552] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 14:11:37,676] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 14:11:40,024] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 14:11:42,380] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 14:12:31,080] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-01 14:12:38,700] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-01 14:12:47,097] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-01 14:12:56,828] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 14:12:58,513] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 14:13:00,870] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 14:13:37,376] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-01 14:13:40,449] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-01 14:13:43,417] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-01 14:13:46,694] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 14:13:51,606] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 14:13:56,731] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 14:14:01,852] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-01 14:14:08,198] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-01 14:14:15,378] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-01 14:14:45,779] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 14:14:55,568] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-01 14:15:24,396] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 14:15:32,600] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-01 14:15:32,601] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 14:15:34,828] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 14:15:46,400] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-01 14:16:03,437] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 14:16:12,833] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-01 14:16:12,833] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 14:16:14,765] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 14:16:26,951] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-01 14:16:48,247] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 14:16:58,119] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-01 14:16:58,119] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
VAGRANT 🟢[2024-04-01 12:47:21,603] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-01 12:47:25,348] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-01 12:47:27,142] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-01 12:47:27,636] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-01 12:47:50,706] [INFO] [Testing]: File permissions modified to be handled
[2024-04-01 12:47:51,907] [INFO] [Testing]: File copied from redhat-7 (192.168.57.2) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-01 12:47:52,232] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to redhat-8 (192.168.57.3)
[2024-04-01 12:47:53,299] [INFO] [Testing]: File permissions were restablished
[2024-04-01 12:47:53,300] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-01 12:47:55,754] [INFO] [Testing]: File permissions modified to be handled
[2024-04-01 12:47:56,720] [INFO] [Testing]: File copied from redhat-7 (192.168.57.2) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-01 12:47:57,060] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to redhat-9 (192.168.57.4)
[2024-04-01 12:47:58,105] [INFO] [Testing]: File permissions were restablished
[2024-04-01 12:47:58,105] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-01 12:48:00,507] [INFO] [Testing]: File permissions modified to be handled
[2024-04-01 12:48:01,857] [INFO] [Testing]: File copied from redhat-7 (192.168.57.2) to /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers/wazuh-install-files.tar
[2024-04-01 12:48:02,370] [INFO] [Testing]: Sending file from /home/vagrant/wazuh-install-files.tar to centos-7 (192.168.57.5)
[2024-04-01 12:48:03,534] [INFO] [Testing]: File permissions were restablished
[2024-04-01 12:48:03,534] [INFO] [Testing]: The file wazuh-install-files.tar deleted in /home/akim/Desktop/wazuh-qa/deployability/modules/testing/tests/helpers
[2024-04-01 12:48:05,125] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-01 12:48:08,571] [INFO] [Testing]: Installing Manager in redhat-7
[2024-04-01 12:50:04,786] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-01 12:50:07,645] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-01 12:50:07,645] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:50:08,008] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 12:50:10,713] [INFO] [Testing]: Installing Manager in redhat-8
[2024-04-01 12:52:54,158] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 12:52:56,077] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-01 12:52:56,078] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:52:56,638] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 12:53:00,413] [INFO] [Testing]: Installing Manager in redhat-9
[2024-04-01 12:56:08,276] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 12:56:10,896] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-01 12:56:10,896] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:56:11,379] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 12:56:14,879] [INFO] [Testing]: Installing Manager in centos-7
[2024-04-01 12:58:16,208] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 12:58:18,506] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-01 12:58:18,507] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 12:58:18,507] [INFO] [Testing]: Getting status of redhat-7
[2024-04-01 12:58:19,570] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 12:58:20,236] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 12:58:21,110] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 12:58:45,153] [INFO] [Testing]: Cluster configured in: redhat-7
[2024-04-01 12:59:17,805] [INFO] [Testing]: Cluster configured in: redhat-8
[2024-04-01 12:59:54,642] [INFO] [Testing]: Cluster configured in: redhat-9
[2024-04-01 13:00:22,933] [INFO] [Testing]: Cluster configured in: centos-7
[2024-04-01 13:00:29,537] [INFO] [Testing]: Getting status of redhat-7
[2024-04-01 13:00:30,491] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 13:00:31,567] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 13:00:32,583] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:01:52,868] [INFO] [Testing]: Restarting wazuh-manager in redhat-8
[2024-04-01 13:02:22,451] [INFO] [Testing]: Restarting wazuh-manager in redhat-9
[2024-04-01 13:02:41,845] [INFO] [Testing]: Restarting wazuh-manager in centos-7
[2024-04-01 13:03:03,089] [INFO] [Testing]: Getting status of redhat-7
[2024-04-01 13:03:04,455] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 13:03:05,998] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 13:03:07,728] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:03:15,632] [INFO] [Testing]: Stopping wazuh-manager in redhat-8
[2024-04-01 13:03:19,452] [INFO] [Testing]: Stopping wazuh-manager in redhat-9
[2024-04-01 13:03:23,394] [INFO] [Testing]: Stopping wazuh-manager in centos-7
[2024-04-01 13:03:29,302] [INFO] [Testing]: Getting status of redhat-7
[2024-04-01 13:03:35,080] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:03:35,952] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:03:36,808] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:03:37,425] [INFO] [Testing]: Restarting wazuh-manager in redhat-8
[2024-04-01 13:03:52,417] [INFO] [Testing]: Restarting wazuh-manager in redhat-9
[2024-04-01 13:04:07,583] [INFO] [Testing]: Restarting wazuh-manager in centos-7
[2024-04-01 13:04:27,436] [INFO] [Testing]: Getting status of redhat-7
[2024-04-01 13:04:28,170] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 13:04:28,831] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 13:04:29,504] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:04:30,655] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-01 13:04:34,223] [INFO] [Testing]: Uninstalling Manager in redhat-7
[2024-04-01 13:05:00,532] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-7
[2024-04-01 13:05:04,958] [INFO] [Testing]: Applying filters in checkfiles in redhat-7
[2024-04-01 13:05:04,959] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 13:05:05,858] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 13:05:15,448] [INFO] [Testing]: Uninstalling Manager in redhat-8
[2024-04-01 13:06:00,796] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 13:06:05,466] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-01 13:06:05,466] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 13:06:06,257] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 13:06:09,896] [INFO] [Testing]: Uninstalling Manager in redhat-9
[2024-04-01 13:06:28,256] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 13:06:30,970] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-01 13:06:30,970] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 13:06:31,415] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 13:06:33,805] [INFO] [Testing]: Uninstalling Manager in centos-7
[2024-04-01 13:06:53,291] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 13:06:55,695] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-01 13:06:55,695] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
AGENT 🟢 python3 modules/testing/main.py --wazuh-revision '40714' --wazuh-version '4.7.3' --component 'agent' --tests 'install,registration,restart,stop,uninstall' --targets '{"wazuh-1":"/tmp/dtt1-poc/manager-linux-redhat-7-amd64/inventory.yml"}' --targets '{"agent-1":"/tmp/dtt1-poc/manager-linux-redhat-8-amd64/inventory.yml"}' --targets '{"agent-2":"/tmp/dtt1-poc/manager-linux-redhat-9-amd64/inventory.yml"}' --targets '{"agent-3":"/tmp/dtt1-poc/manager-linux-centos-7-amd64/inventory.yml"}' --live 'True' AWS 🟢[2024-04-01 13:41:30,383] [INFO] [Testing]: No Firewall to disable on redhat-7
[2024-04-01 13:41:32,086] [INFO] [Testing]: No Firewall to disable on redhat-8
[2024-04-01 13:41:34,386] [INFO] [Testing]: No Firewall to disable on redhat-9
[2024-04-01 13:41:36,741] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-01 13:42:12,836] [INFO] [Testing]: Installing Manager in redhat-7
[2024-04-01 13:43:26,721] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 13:43:51,501] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-01 13:44:38,043] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 13:44:46,191] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-01 13:44:46,192] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 13:44:48,364] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 13:45:02,259] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-01 13:45:26,807] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 13:45:35,662] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-01 13:45:35,662] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 13:45:37,997] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 13:45:53,834] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-01 13:46:21,932] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 13:46:31,970] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-01 13:46:31,970] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 13:46:39,239] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 13:46:41,385] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 13:46:43,741] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:47:39,554] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 13:47:41,800] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 13:47:44,070] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:48:33,778] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-01 13:48:41,500] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-01 13:48:49,485] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-01 13:48:58,914] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 13:49:00,402] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 13:49:02,042] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:49:37,615] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-01 13:49:41,202] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-01 13:49:43,755] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-01 13:49:46,730] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 13:49:51,441] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 13:49:56,662] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:50:01,989] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-01 13:50:08,624] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-01 13:50:16,016] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-01 13:50:46,738] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 13:50:58,847] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-01 13:51:27,205] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 13:51:37,122] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-01 13:51:37,122] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 13:51:39,473] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 13:51:51,147] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-01 13:52:08,472] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 13:52:17,356] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-01 13:52:17,357] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 13:52:19,613] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 13:52:32,312] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-01 13:52:53,817] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 13:53:03,550] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-01 13:53:03,550] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
VAGRANT 🟢[2024-04-01 13:13:46,219] [INFO] [Testing]: Firewall disabled on redhat-7
[2024-04-01 13:13:49,882] [INFO] [Testing]: Firewall disabled on redhat-8
[2024-04-01 13:13:51,627] [INFO] [Testing]: Firewall disabled on redhat-9
[2024-04-01 13:13:52,121] [INFO] [Testing]: No Firewall to disable on centos-7
[2024-04-01 13:14:07,511] [INFO] [Testing]: Installing Manager in redhat-7
[2024-04-01 13:16:35,942] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 13:16:39,318] [INFO] [Testing]: Installing Agent in redhat-8
[2024-04-01 13:17:39,384] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 13:17:42,252] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-01 13:17:42,253] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 13:17:42,955] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 13:17:47,767] [INFO] [Testing]: Installing Agent in redhat-9
[2024-04-01 13:18:11,590] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 13:18:14,221] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-01 13:18:14,221] [INFO] [Testing]: Pre and post install checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 13:18:14,824] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 13:18:18,765] [INFO] [Testing]: Installing Agent in centos-7
[2024-04-01 13:18:44,772] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 13:18:47,241] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-01 13:18:47,241] [INFO] [Testing]: Pre and post install checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 13:18:48,713] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 13:18:48,985] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 13:18:49,399] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:19:23,469] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 13:19:23,981] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 13:19:24,731] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:20:01,138] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-01 13:20:08,557] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-01 13:20:16,494] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-01 13:20:23,926] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 13:20:24,294] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 13:20:24,634] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:20:37,398] [INFO] [Testing]: Stopping wazuh-agent in redhat-8
[2024-04-01 13:20:39,398] [INFO] [Testing]: Stopping wazuh-agent in redhat-9
[2024-04-01 13:20:41,728] [INFO] [Testing]: Stopping wazuh-agent in centos-7
[2024-04-01 13:20:43,267] [INFO] [Testing]: Getting status of redhat-8
[2024-04-01 13:20:43,860] [INFO] [Testing]: Getting status of redhat-9
[2024-04-01 13:20:44,868] [INFO] [Testing]: Getting status of centos-7
[2024-04-01 13:20:46,149] [INFO] [Testing]: Restarting wazuh-agent in redhat-8
[2024-04-01 13:20:51,613] [INFO] [Testing]: Restarting wazuh-agent in redhat-9
[2024-04-01 13:21:00,224] [INFO] [Testing]: Restarting wazuh-agent in centos-7
[2024-04-01 13:21:17,341] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 13:21:20,289] [INFO] [Testing]: Uninstalling Agent in redhat-8
[2024-04-01 13:21:53,178] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-8
[2024-04-01 13:21:55,805] [INFO] [Testing]: Applying filters in checkfiles in redhat-8
[2024-04-01 13:21:55,805] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-8: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 13:21:56,417] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 13:21:59,409] [INFO] [Testing]: Uninstalling Agent in redhat-9
[2024-04-01 13:22:16,806] [INFO] [Testing]: Generating Snapshot for Checkfile in redhat-9
[2024-04-01 13:22:21,492] [INFO] [Testing]: Applying filters in checkfiles in redhat-9
[2024-04-01 13:22:21,492] [INFO] [Testing]: Pre and post uninstall checkfile comparison in redhat-9: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
[2024-04-01 13:22:27,457] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 13:22:36,220] [INFO] [Testing]: Uninstalling Agent in centos-7
[2024-04-01 13:22:55,749] [INFO] [Testing]: Generating Snapshot for Checkfile in centos-7
[2024-04-01 13:23:03,206] [INFO] [Testing]: Applying filters in checkfiles in centos-7
[2024-04-01 13:23:03,206] [INFO] [Testing]: Pre and post uninstall checkfile comparison in centos-7: {'/boot': {'added': [], 'removed': [], 'modified': []}, '/usr/bin': {'added': [], 'removed': [], 'modified': []}, '/root': {'added': [], 'removed': [], 'modified': []}, '/usr/sbin': {'added': [], 'removed': [], 'modified': []}}
Note 🔴RedHat-8 requires time to be accessed via SSH using AWS. If this time is not allowed, tests may fail.
Testing using workflow 🟢 Execution by workflow
|
rauldpm
previously approved these changes
Apr 1, 2024
6 tasks
rauldpm
requested changes
Apr 1, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved but this PR needs changes from #5005
…-Test-module-documentation Adding test module documentation
rauldpm
approved these changes
Apr 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR applies all the different changes made in the test module to the main Epic branch.