Report generated on 13-Jan-2022 at 16:23:26 by pytest-html v3.1.1
Packages | {"pluggy": "0.13.1", "py": "1.10.0", "pytest": "6.2.2"} |
Platform | Linux-5.10.0-1051-oem-x86_64-with-glibc2.29 |
Plugins | {"html": "3.1.1", "metadata": "1.11.0", "testinfra": "5.0.0"} |
Python | 3.8.10 |
9 tests ran in 223.10 seconds.
(Un)check the boxes to filter the results.
9 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passesResult | Test | Duration | Links |
---|---|---|---|
No results found. Try to check the filters | |||
Passed | test_fim_synchronization.py::test_Synchronization_add_file[testdir1] | 28.68 | |
------------------------------Captured stderr call------------------------------ 2022-01-13 16:20:02,903 - wazuh_testing - DEBUG - Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:02,905 - wazuh_testing - DEBUG - Starting file composer for wazuh-agent1 and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-agent1_ossec.log.tmp 2022-01-13 16:20:02,905 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:02,907 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*File integrity monitoring scan ended.$ 2022-01-13 16:20:04,414 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*File integrity monitoring scan ended.$ 2022-01-13 16:20:05,428 - wazuh_testing - DEBUG - Cleaning temporal files... 2022-01-13 16:20:05,428 - wazuh_testing - DEBUG - Checking results... 2022-01-13 16:20:05,429 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: 2022/01/13 20:19:58 wazuh-syscheckd[88159] create_db.c:224 at fim_scan(): INFO: (6009): File integrity monitoring scan ended. 2022-01-13 16:20:08,280 - wazuh_testing - DEBUG - Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:08,282 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:08,282 - wazuh_testing - DEBUG - Starting file composer for wazuh-agent1 and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-agent1_ossec.log.tmp 2022-01-13 16:20:08,283 - wazuh_testing - DEBUG - Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:08,284 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:20:08,285 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:08,285 - wazuh_testing - DEBUG - Starting file composer for wazuh-manager and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-manager_ossec.log.tmp 2022-01-13 16:20:08,287 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:20:09,796 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:20:09,804 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:20:10,790 - wazuh_testing - DEBUG - Cleaning temporal files... 2022-01-13 16:20:10,790 - wazuh_testing - DEBUG - Checking results... 2022-01-13 16:20:10,791 - wazuh_testing - DEBUG - Received from wazuh-manager the expected message: 2022/01/13 20:20:02 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir1/testdir1.txt","timestamp":1642101597,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101591,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"ba64d47d6341950542bf54fffa22c4ac2eecac4e"}} 2022-01-13 16:20:10,791 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: 2022/01/13 20:19:58 wazuh-syscheckd[88159] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101598,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"8549c1d573cbb34ef43686f92f7093e9d0c7a91c"}} -------------------------------Captured log call-------------------------------- DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:995 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:984 Checking results... DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-agent1 the expected message: 2022/01/13 20:19:58 wazuh-syscheckd[88159] create_db.c:224 at fim_scan(): INFO: (6009): File integrity monitoring scan ended. DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:995 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:984 Checking results... DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-manager the expected message: 2022/01/13 20:20:02 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir1/testdir1.txt","timestamp":1642101597,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101591,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"ba64d47d6341950542bf54fffa22c4ac2eecac4e"}} DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-agent1 the expected message: 2022/01/13 20:19:58 wazuh-syscheckd[88159] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101598,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"8549c1d573cbb34ef43686f92f7093e9d0c7a91c"}} | |||
Passed | test_fim_synchronization.py::test_Synchronization_add_file[testdir2] | 20.73 | |
------------------------------Captured stderr call------------------------------ 2022-01-13 16:20:29,312 - wazuh_testing - DEBUG - Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:29,314 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:29,314 - wazuh_testing - DEBUG - Starting file composer for wazuh-agent1 and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-agent1_ossec.log.tmp 2022-01-13 16:20:29,315 - wazuh_testing - DEBUG - Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:29,316 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:20:29,317 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:29,318 - wazuh_testing - DEBUG - Starting file composer for wazuh-manager and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-manager_ossec.log.tmp 2022-01-13 16:20:29,319 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:20:30,831 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:20:30,837 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:20:31,821 - wazuh_testing - DEBUG - Cleaning temporal files... 2022-01-13 16:20:31,822 - wazuh_testing - DEBUG - Checking results... 2022-01-13 16:20:31,822 - wazuh_testing - DEBUG - Received from wazuh-manager the expected message: 2022/01/13 20:20:29 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir2/testdir2.txt","timestamp":1642101625,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101619,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"cc04dacaeff5ded01bf2eeabc167943d130d4227"}} 2022-01-13 16:20:31,822 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: 2022/01/13 20:20:25 wazuh-syscheckd[88852] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101625,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"2fafcb532bcc7d6f541a02231b8c7d1fb2b3df54"}} -------------------------------Captured log call-------------------------------- DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:995 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:984 Checking results... DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-manager the expected message: 2022/01/13 20:20:29 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir2/testdir2.txt","timestamp":1642101625,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101619,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"cc04dacaeff5ded01bf2eeabc167943d130d4227"}} DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-agent1 the expected message: 2022/01/13 20:20:25 wazuh-syscheckd[88852] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101625,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"2fafcb532bcc7d6f541a02231b8c7d1fb2b3df54"}} | |||
Passed | test_fim_synchronization.py::test_Synchronization_add_file[testdir3] | 21.96 | |
------------------------------Captured stderr call------------------------------ 2022-01-13 16:20:51,235 - wazuh_testing - DEBUG - Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:51,237 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:51,237 - wazuh_testing - DEBUG - Starting file composer for wazuh-agent1 and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-agent1_ossec.log.tmp 2022-01-13 16:20:51,238 - wazuh_testing - DEBUG - Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:51,238 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:20:51,239 - wazuh_testing - DEBUG - Starting file composer for wazuh-manager and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-manager_ossec.log.tmp 2022-01-13 16:20:51,239 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:20:51,241 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:20:52,745 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:20:52,748 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:20:53,745 - wazuh_testing - DEBUG - Cleaning temporal files... 2022-01-13 16:20:53,746 - wazuh_testing - DEBUG - Checking results... 2022-01-13 16:20:53,747 - wazuh_testing - DEBUG - Received from wazuh-manager the expected message: 2022/01/13 20:20:51 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir3/testdir3.txt","timestamp":1642101646,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101640,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"e04d2369fd7b42fdb2d0059569f7bb576beda2be"}} 2022-01-13 16:20:53,747 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: 2022/01/13 20:20:46 wazuh-syscheckd[89441] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101646,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"d013f1c806c74af083b613a91634667eb6b975a3"}} -------------------------------Captured log call-------------------------------- DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:995 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:984 Checking results... DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-manager the expected message: 2022/01/13 20:20:51 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir3/testdir3.txt","timestamp":1642101646,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101640,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"e04d2369fd7b42fdb2d0059569f7bb576beda2be"}} DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-agent1 the expected message: 2022/01/13 20:20:46 wazuh-syscheckd[89441] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101646,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"d013f1c806c74af083b613a91634667eb6b975a3"}} | |||
Passed | test_fim_synchronization.py::test_Synchronization_modify_file[testdir1] | 27.07 | |
------------------------------Captured stderr call------------------------------ 2022-01-13 16:21:11,952 - wazuh_testing - DEBUG - Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:21:11,954 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:21:11,954 - wazuh_testing - DEBUG - Starting file composer for wazuh-agent1 and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-agent1_ossec.log.tmp 2022-01-13 16:21:11,956 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*File integrity monitoring scan ended.$ 2022-01-13 16:21:13,474 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*File integrity monitoring scan ended.$ 2022-01-13 16:21:14,459 - wazuh_testing - DEBUG - Cleaning temporal files... 2022-01-13 16:21:14,459 - wazuh_testing - DEBUG - Checking results... 2022-01-13 16:21:14,460 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: 2022/01/13 20:21:07 wazuh-syscheckd[90044] create_db.c:224 at fim_scan(): INFO: (6009): File integrity monitoring scan ended. 2022-01-13 16:21:18,346 - wazuh_testing - DEBUG - Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:21:18,348 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:21:18,348 - wazuh_testing - DEBUG - Starting file composer for wazuh-agent1 and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-agent1_ossec.log.tmp 2022-01-13 16:21:18,350 - wazuh_testing - DEBUG - Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:21:18,350 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:21:18,351 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:21:18,351 - wazuh_testing - DEBUG - Starting file composer for wazuh-manager and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-manager_ossec.log.tmp 2022-01-13 16:21:18,353 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:21:19,861 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:21:19,895 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:21:20,857 - wazuh_testing - DEBUG - Cleaning temporal files... 2022-01-13 16:21:20,857 - wazuh_testing - DEBUG - Checking results... 2022-01-13 16:21:20,857 - wazuh_testing - DEBUG - Received from wazuh-manager the expected message: 2022/01/13 20:21:11 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir1/testdir1.txt","timestamp":1642101666,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101662,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"bc9ff4ab1407dc49360aafb0eca77b0826201d25"}} 2022-01-13 16:21:20,858 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: 2022/01/13 20:21:07 wazuh-syscheckd[90044] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101667,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"32b6af80e7d94aad32d831e4cfcbbf5f052e98c5"}} -------------------------------Captured log call-------------------------------- DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:995 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:984 Checking results... DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-agent1 the expected message: 2022/01/13 20:21:07 wazuh-syscheckd[90044] create_db.c:224 at fim_scan(): INFO: (6009): File integrity monitoring scan ended. DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:995 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:984 Checking results... DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-manager the expected message: 2022/01/13 20:21:11 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir1/testdir1.txt","timestamp":1642101666,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101662,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"bc9ff4ab1407dc49360aafb0eca77b0826201d25"}} DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-agent1 the expected message: 2022/01/13 20:21:07 wazuh-syscheckd[90044] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101667,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"32b6af80e7d94aad32d831e4cfcbbf5f052e98c5"}} | |||
Passed | test_fim_synchronization.py::test_Synchronization_modify_file[testdir2] | 24.45 | |
------------------------------Captured stderr call------------------------------ 2022-01-13 16:21:42,377 - wazuh_testing - DEBUG - Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:21:42,379 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:21:42,379 - wazuh_testing - DEBUG - Starting file composer for wazuh-agent1 and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-agent1_ossec.log.tmp 2022-01-13 16:21:42,380 - wazuh_testing - DEBUG - Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:21:42,381 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:21:42,381 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:21:42,381 - wazuh_testing - DEBUG - Starting file composer for wazuh-manager and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-manager_ossec.log.tmp 2022-01-13 16:21:42,383 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:21:43,888 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:21:44,391 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:21:45,387 - wazuh_testing - DEBUG - Cleaning temporal files... 2022-01-13 16:21:45,387 - wazuh_testing - DEBUG - Checking results... 2022-01-13 16:21:45,388 - wazuh_testing - DEBUG - Received from wazuh-manager the expected message: 2022/01/13 20:21:39 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir2/testdir2.txt","timestamp":1642101694,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101689,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"ee9c98833e4371b772f532cec1682eedc34570e1"}} 2022-01-13 16:21:45,388 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: 2022/01/13 20:21:35 wazuh-syscheckd[90826] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101695,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"c22f2732f169c8e2941c9d56f420b63e1f37ddaa"}} -------------------------------Captured log call-------------------------------- DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:995 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:984 Checking results... DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-manager the expected message: 2022/01/13 20:21:39 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir2/testdir2.txt","timestamp":1642101694,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101689,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"ee9c98833e4371b772f532cec1682eedc34570e1"}} DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-agent1 the expected message: 2022/01/13 20:21:35 wazuh-syscheckd[90826] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101695,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"c22f2732f169c8e2941c9d56f420b63e1f37ddaa"}} | |||
Passed | test_fim_synchronization.py::test_Synchronization_modify_file[testdir3] | 24.06 | |
------------------------------Captured stderr call------------------------------ 2022-01-13 16:22:06,968 - wazuh_testing - DEBUG - Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:06,970 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:06,970 - wazuh_testing - DEBUG - Starting file composer for wazuh-agent1 and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-agent1_ossec.log.tmp 2022-01-13 16:22:06,971 - wazuh_testing - DEBUG - Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:06,971 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:22:06,972 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:06,972 - wazuh_testing - DEBUG - Starting file composer for wazuh-manager and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-manager_ossec.log.tmp 2022-01-13 16:22:06,974 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:22:08,478 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:22:08,482 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:22:09,479 - wazuh_testing - DEBUG - Cleaning temporal files... 2022-01-13 16:22:09,480 - wazuh_testing - DEBUG - Checking results... 2022-01-13 16:22:09,480 - wazuh_testing - DEBUG - Received from wazuh-manager the expected message: 2022/01/13 20:22:04 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir3/testdir3.txt","timestamp":1642101719,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101714,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"4235ea995898f56c6f366bdfeae90a30b1307665"}} 2022-01-13 16:22:09,480 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: 2022/01/13 20:21:59 wazuh-syscheckd[91554] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101719,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"7cde5be5b49ffc841898c220ff222c163091fdfa"}} -------------------------------Captured log call-------------------------------- DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:995 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:984 Checking results... DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-manager the expected message: 2022/01/13 20:22:04 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir3/testdir3.txt","timestamp":1642101719,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101714,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"4235ea995898f56c6f366bdfeae90a30b1307665"}} DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-agent1 the expected message: 2022/01/13 20:21:59 wazuh-syscheckd[91554] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101719,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"7cde5be5b49ffc841898c220ff222c163091fdfa"}} | |||
Passed | test_fim_synchronization.py::test_Synchronization_delete_file[testdir1] | 27.99 | |
------------------------------Captured stderr call------------------------------ 2022-01-13 16:22:28,270 - wazuh_testing - DEBUG - Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:28,271 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:28,271 - wazuh_testing - DEBUG - Starting file composer for wazuh-agent1 and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-agent1_ossec.log.tmp 2022-01-13 16:22:28,273 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*File integrity monitoring scan ended.$ 2022-01-13 16:22:29,780 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*File integrity monitoring scan ended.$ 2022-01-13 16:22:30,775 - wazuh_testing - DEBUG - Cleaning temporal files... 2022-01-13 16:22:30,776 - wazuh_testing - DEBUG - Checking results... 2022-01-13 16:22:30,776 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: 2022/01/13 20:22:23 wazuh-syscheckd[92271] create_db.c:224 at fim_scan(): INFO: (6009): File integrity monitoring scan ended. 2022-01-13 16:22:34,907 - wazuh_testing - DEBUG - Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:34,908 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:34,908 - wazuh_testing - DEBUG - Starting file composer for wazuh-agent1 and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-agent1_ossec.log.tmp 2022-01-13 16:22:34,909 - wazuh_testing - DEBUG - Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:34,910 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:22:34,911 - wazuh_testing - DEBUG - Starting file composer for wazuh-manager and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-manager_ossec.log.tmp 2022-01-13 16:22:34,911 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:34,913 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:22:36,420 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:22:36,424 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:22:37,432 - wazuh_testing - DEBUG - Cleaning temporal files... 2022-01-13 16:22:37,432 - wazuh_testing - DEBUG - Checking results... 2022-01-13 16:22:37,433 - wazuh_testing - DEBUG - Received from wazuh-manager the expected message: 2022/01/13 20:22:28 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir1/testdir1.txt","timestamp":1642101743,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101737,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"9e3ad795dae85d673df241feb57e47b11ebc2489"}} 2022-01-13 16:22:37,433 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: 2022/01/13 20:22:23 wazuh-syscheckd[92271] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101743,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"b9b8bf2cb939dbba17ee1162b4e060352997c407"}} -------------------------------Captured log call-------------------------------- DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:995 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:984 Checking results... DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-agent1 the expected message: 2022/01/13 20:22:23 wazuh-syscheckd[92271] create_db.c:224 at fim_scan(): INFO: (6009): File integrity monitoring scan ended. DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:995 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:984 Checking results... DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-manager the expected message: 2022/01/13 20:22:28 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir1/testdir1.txt","timestamp":1642101743,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101737,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"9e3ad795dae85d673df241feb57e47b11ebc2489"}} DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-agent1 the expected message: 2022/01/13 20:22:23 wazuh-syscheckd[92271] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101743,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"b9b8bf2cb939dbba17ee1162b4e060352997c407"}} | |||
Passed | test_fim_synchronization.py::test_Synchronization_delete_file[testdir2] | 24.72 | |
------------------------------Captured stderr call------------------------------ 2022-01-13 16:22:58,725 - wazuh_testing - DEBUG - Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:58,726 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:58,727 - wazuh_testing - DEBUG - Starting file composer for wazuh-agent1 and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-agent1_ossec.log.tmp 2022-01-13 16:22:58,728 - wazuh_testing - DEBUG - Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:58,730 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:22:58,731 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:22:58,731 - wazuh_testing - DEBUG - Starting file composer for wazuh-manager and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-manager_ossec.log.tmp 2022-01-13 16:22:58,734 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:23:00,744 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:23:00,747 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:23:01,750 - wazuh_testing - DEBUG - Cleaning temporal files... 2022-01-13 16:23:01,751 - wazuh_testing - DEBUG - Checking results... 2022-01-13 16:23:01,754 - wazuh_testing - DEBUG - Received from wazuh-manager the expected message: 2022/01/13 20:22:56 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir2/testdir2.txt","timestamp":1642101771,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101766,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"0b8b51176d0b9ef053a26bfbbf5f28527428a04a"}} 2022-01-13 16:23:01,754 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: 2022/01/13 20:22:52 wazuh-syscheckd[93027] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101772,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"767b828e6663cb52fa555b8249b81421481ddd4f"}} -------------------------------Captured log call-------------------------------- DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:995 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:984 Checking results... DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-manager the expected message: 2022/01/13 20:22:56 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir2/testdir2.txt","timestamp":1642101771,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101766,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"0b8b51176d0b9ef053a26bfbbf5f28527428a04a"}} DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-agent1 the expected message: 2022/01/13 20:22:52 wazuh-syscheckd[93027] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101772,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"767b828e6663cb52fa555b8249b81421481ddd4f"}} | |||
Passed | test_fim_synchronization.py::test_Synchronization_delete_file[testdir3] | 23.23 | |
------------------------------Captured stderr call------------------------------ 2022-01-13 16:23:22,815 - wazuh_testing - DEBUG - Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:23:22,816 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2022-01-13 16:23:22,816 - wazuh_testing - DEBUG - Starting file composer for wazuh-agent1 and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-agent1_ossec.log.tmp 2022-01-13 16:23:22,817 - wazuh_testing - DEBUG - Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:23:22,818 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:23:22,819 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log 2022-01-13 16:23:22,819 - wazuh_testing - DEBUG - Starting file composer for wazuh-manager and path: /var/ossec/logs/ossec.log. Composite file in /home/camila/Escritorio/repo/wazuh-qa/tests/system/test_fim/test_fim_synchronization/tmp/wazuh-manager_ossec.log.tmp 2022-01-13 16:23:22,820 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:23:24,324 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-manager and message: .*Agent 001 query: (.+) save2 2022-01-13 16:23:24,327 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Sending integrity control message: (.+)$ 2022-01-13 16:23:25,324 - wazuh_testing - DEBUG - Cleaning temporal files... 2022-01-13 16:23:25,324 - wazuh_testing - DEBUG - Checking results... 2022-01-13 16:23:25,324 - wazuh_testing - DEBUG - Received from wazuh-manager the expected message: 2022/01/13 20:23:21 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir3/testdir3.txt","timestamp":1642101796,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101790,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"d559ca34aeda06ac6f2c689333060a57ea97ba14"}} 2022-01-13 16:23:25,325 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: 2022/01/13 20:23:16 wazuh-syscheckd[93697] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101796,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"6c37fa1229508bccd1245403db2cf7a8ad48a97d"}} -------------------------------Captured log call-------------------------------- DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:888 Add new file composer process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:892 Add new file monitor process for wazuh-manager and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:995 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:984 Checking results... DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-manager the expected message: 2022/01/13 20:23:21 wazuh-db[7553] wdb_parser.c:246 at wdb_parse(): DEBUG: Agent 001 query: fim_file save2 {"path":"/testdir3/testdir3.txt","timestamp":1642101796,"version":2,"attributes":{"type":"file","size":0,"perm":"rw-r--r--","uid":"0","gid":"0","user_name":"root","group_name":"root","inode":15074701,"mtime":1642101790,"hash_md5":"d41d8cd98f00b204e9800998ecf8427e","hash_sha1":"da39a3ee5e6b4b0d3255bfef95601890afd80709","hash_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","checksum":"d559ca34aeda06ac6f2c689333060a57ea97ba14"}} DEBUG wazuh_testing:monitoring.py:990 Received from wazuh-agent1 the expected message: 2022/01/13 20:23:16 wazuh-syscheckd[93697] run_check.c:82 at fim_send_sync_msg(): DEBUG: (6317): Sending integrity control message: {"component":"fim_file","type":"integrity_check_global","data":{"id":1642101796,"version":2,"begin":"/bin/bash","end":"/usr/sbin/zic","checksum":"6c37fa1229508bccd1245403db2cf7a8ad48a97d"}} |