Skip to content

Conversation

LucioDonda
Copy link
Member

@LucioDonda LucioDonda commented Sep 22, 2025

Closes #31955

Description

During #31940 it was found that workers' ossec.log show several messages like the following one

2025/09/14 13:11:02 wazuh-db: ERROR: Failed to get old sync_status for agent '56'

Proposed Changes

Due to the analysis performed here it was decided to modify the log level.

Results and Evidence

Manual tests with their corresponding evidence

  • Compilation without warnings on every supported platform
    • Linux
    • Windows
    • MAC OS X
  • Log syntax and correct language review
  • Memory tests for Linux

    • Coverity
    • Valgrind (memcheck and descriptor leaks check)
    • AddressSanitizer
  • Memory tests for Windows

    • Coverity
    • UMDH
  • Memory tests for macOS

    • Leaks
    • AddressSanitizer
  • Decoder/Rule tests (Wazuh v4.x)

    • Added unit testing files ".ini"
    • runtests.py executed without errors
  • Engine (Wazuh v5.x and above)

    • Test run in parallel
    • ASAN for test (utest/ctest)
    • TSAN for test and wazuh-engine.

Artifacts Affected

Configuration Changes

Tests Introduced

Review Checklist

  • Code changes reviewed
  • Relevant evidence provided
  • Tests cover the new functionality
  • Configuration changes documented
  • Developer documentation reflects the changes
  • Meets requirements and/or definition of done
  • No unresolved dependencies with other issues
  • ...

@LucioDonda LucioDonda self-assigned this Sep 22, 2025
@LucioDonda LucioDonda force-pushed the 31955-wazuh-db-error-to-warning-on-sync-status branch from 9dd07cb to f06e8ba Compare September 23, 2025 16:37
Copy link
Member

@juliancnn juliancnn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@juliancnn juliancnn merged commit d3eecfa into 4.14.1 Sep 29, 2025
25 of 26 checks passed
@juliancnn juliancnn deleted the 31955-wazuh-db-error-to-warning-on-sync-status branch September 29, 2025 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error during sync status validation by wazuh-db on cluster environment

3 participants