Skip to content

CI Job Fails: Test_Ingester_ModeHandler & Data Race in Memberlist Test #6230

Open
@CharlieTLe

Description

@CharlieTLe

Description:
The CI job failed during the execution of the tests. Specifically, two failures were encountered:

  1. Test Failure:

    • Test: Test_Ingester_ModeHandler
    • Trace: The test Test_Ingester_ModeHandler failed with the following error messages:
      • instance localhost:0 in state PENDING
      • this instance owns no tokens

    These errors suggest that the test could not correctly handle the state or token ownership for the ingester.

  2. Data Race Detected:

    • Test: TestRejoin in memberlist_client_test.go
    • Error: A data race was detected during the execution of the TestRejoin function in the KV memberlist implementation. This data race affects the dnsProviderMock.Resolve() and KV.discoverMembers() functions.

Logs:

Steps to Reproduce:

  1. Run the CI job using make BUILD_IN_CONTAINER=false test.
  2. Observe the failure during the execution of Test_Ingester_ModeHandler.
  3. A data race is observed in the TestRejoin test.

Expected Behavior:

  • The tests should pass without errors, and there should be no data race conditions during execution.

Actual Behavior:

  • Tests failed with errors related to the ingester mode handler and data race in the memberlist client tests.

Environment:

  • Docker container used in the build.
  • Go version: 1.22.7

job-log-fail.txt

Priority: High

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions