Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIM Test Fails in Manager in test_report_changes_and_diff.py #5646

Closed
joaquinsgi opened this issue Aug 7, 2024 · 1 comment
Closed

FIM Test Fails in Manager in test_report_changes_and_diff.py #5646

joaquinsgi opened this issue Aug 7, 2024 · 1 comment
Labels

Comments

@joaquinsgi
Copy link
Member

Target version Related issue Related PR/dev branch
4.9.0 Beta 2 wazuh/wazuh#25078 4.9.0 Beta 1

Description

During the tests of: wazuh/wazuh#25078, in the build: https://ci.wazuh.info/job/Test_integration/47702/consoleFull, it has been detected an error in FIM Manager:

E AssertionError: content_changes is not truncated
E assert '<Diff truncated because nodiff option>' in "Diff truncated due to 'nodiff' configuration detected for this file."
E + where "Diff truncated due to 'nodiff' configuration detected for this file." = <built-in method get of dict object at 0x7f934ec72e80>('content_changes')
E + where <built-in method get of dict object at 0x7f934ec72e80> = {'attributes': {'checksum': '021f882e0e27e02a143072637fd1cc63337f5553', 'gid': '0', 'group_name': 'root', 'hash_md5': ...'], 'content_changes': "Diff truncated due to 'nodiff' configuration detected for this file.", 'mode': 'realtime', ...}.get

test_fim/test_files/test_report_changes/test_report_changes_and_diff.py:186: AssertionError

More Information

This build has another two failures: #5645 and #5644

Report Log:
manager_html_report_Test_integration_B47702.zip

This error and the issues from the same build have also been seen on the agent as well as the manager

@vikman90
Copy link
Member

vikman90 commented Aug 8, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants