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_large_changes.py #5645

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

FIM Test Fails in Manager in test_large_changes.py #5645

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

Comments

@joaquinsgi
Copy link
Member

joaquinsgi commented Aug 7, 2024

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:

# Assert old content is shown in content_changes
17:54:43  >       assert '0' in event['data']['content_changes'], '"0" is the old value but it is not found within content_changes'
17:54:43  E       AssertionError: "0" is the old value but it is not found within content_changes
17:54:43  E       assert '0' in '1,1576c1,1576\n< 1\n< 
Pipeline Logs:
3          # Assert 'More changes' is shown when the command returns more than 'limit' characters
17:54:43          if metadata['has_more_changes']:
17:54:43              event = get_fim_event(timeout=T_20, callback=callback_detect_file_more_changes,
17:54:43                                    error_message='Did not find event with "More changes" within content_changes.')
17:54:43          else:
17:54:43              event = wazuh_log_monitor.start(timeout=T_20, callback=callback_detect_event,
17:54:43                                              error_message="Did not receive the expected FIM event").result()
17:54:43              assert 'More changes' not in event['data']['content_changes'], '"More changes" found within content_changes.'
17:54:43      
17:54:43          # Assert old content is shown in content_changes
17:54:43  >       assert '0' in event['data']['content_changes'], '"0" is the old value but it is not found within content_changes'
17:54:43  E       AssertionError: "0" is the old value but it is not found within content_changes
17:54:43  E       assert '0' in '1,1576c1,2\n< 1\n< 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111\nMore changes...'
17:54:43  
17:54:43  test_fim/test_files/test_report_changes/test_large_changes.py:191: AssertionError

More Information

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

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