opensearch-project / opensearch-project/data-prepper

[BUG] kinesis-source-integration-tests fails on every triggered

Open
#6,983 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
374
Forks
354
Avg merge
3d 18h
Merged PRs (30d)
8

Description

Describe the bug
The kinesis-source-integration-tests workflow is path-filtered (data-prepper-plugins/kinesis-source/** and root gradle files), so it only runs occasionally. Every run since at least late May has failed, across all Java matrix jobs, with:

KinesisSourceIT > ... FAILED
    org.mockito.exceptions.verification.WantedButNotInvoked at KinesisSourceIT.java:280

Recent failing runs on main:

It also fails the same way on PRs that trigger the path filter. On #6757 the workflow runs only because that PR registers a new module in the root settings.gradle, which matches the *gradle* path; the PR does not touch the kinesis source itself.

Expected behavior
The workflow should pass on main, or be fixed/disabled so it does not mask real failures on PRs.

Environment
GitHub Actions ubuntu runners, Java 11/17/21 matrix.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with KinesisSourceIT.java at line 280 and inspect the kinesis-source-integration-tests workflow configuration, including its path filter and Java 11/17/21 matrix. Reproduce the WantedButNotInvoked failure in a triggered workflow or local integration-test run, then verify that the workflow passes on main or is disabled without masking real PR failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java
Domain
ci-cd, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.