Skip to content

fix(inkless:systest): fix sigstop and slow consumer giving false negatives#659

Open
giuseppelillo wants to merge 2 commits into
mainfrom
glillo/fix-switch-systests
Open

fix(inkless:systest): fix sigstop and slow consumer giving false negatives#659
giuseppelillo wants to merge 2 commits into
mainfrom
glillo/fix-switch-systests

Conversation

@giuseppelillo

@giuseppelillo giuseppelillo commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Commit 1: avoid false negatives due to slow consumers

Commit 2: actually send SIGSTOP to the broker and verify that it really stops

The test passed KafkaService.java_class_name() (regex kafka\.Kafka)
to Trogdor's ProcessStopFaultSpec, but Trogdor's worker matches
the target JVM by literal substring against jcmd -l.
The escaped form never matched the real kafka.Kafka line,
so SIGSTOP/SIGCONT were sent to zero pids and the leader was never
actually frozen — the scenario passed without testing anything.

Fix by passing the literal main-class name (kafka.Kafka) so the
signal reaches the broker, and verify the fault actually took
effect: assert the broker JVM reaches ps state T (stopped) during
the pause and returns to running after SIGCONT, so any future
no-op fails loudly instead of silently exercising nothing.
@giuseppelillo giuseppelillo changed the title fix(inkless:systest): fix sigstop and fix(inkless:systest): fix sigstop and slow consumer giving false negatives Jun 17, 2026
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.

1 participant