#34036·yugabyte-db

[YSQL] `TestYbAsh#testPreparedStatements` fails on master: Expected N to be greater than N |...

Author: yb-agentk-dev[bot]Created Sep 18, 2026Updated Sep 18, 2026
Labelskind/enhancementarea/ysqlkind/failing-testpriority/mediumgrissom_filed

Jira Link: DB-23643 Filed automatically by Grissom (internal docs), which watches YugabyteDB's scheduled builds on master and the supported release branches for tests that fail more than they used to, or never passed. Everything below is measured from those builds; how it decides, and how to stop it, is at the end.

Summary

org.yb.pgsql.TestYbAsh#testPreparedStatements fails on master (alma8-clang21-release) at a rate above its own history: 3 of 24 (12%, flaky) recent runs against 0 of 234 (0%, healthy) over the previous 83 days.

  • Failing build types: release

Urgency

S4 flake (priority/medium): 3 of 24 (12%, flaky) recent runs on 1 lane(s).

What is being tested

org.yb.pgsql.TestYbAsh#testPreparedStatements (find the test source).

What is the failure

Failure class java; the failure signature is

java | java.lang.AssertionError | Expected N to be greater than N | org.yb.pgsql.TestYbAsh.testPreparedStatements

Failure reason

org.yb.pgsql.TestYbAsh.txt =====
-------------------------------------------------------------------------------
Test set: org.yb.pgsql.TestYbAsh
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.419 s <<< FAILURE! - in org.yb.pgsql.TestYbAsh
testPreparedStatements(org.yb.pgsql.TestYbAsh)  Time elapsed: 15.898 s  <<< FAILURE!
java.lang.AssertionError: Expected 0 to be greater than 0
	at org.yb.pgsql.TestYbAsh.testPreparedStatements(TestYbAsh.java:398)



TEST-org.yb.pgsql.TestYbAsh.xml (extracted) =====
Expected 0 to be greater than 0
java.lang.AssertionError: Expected 0 to be greater than 0

TEST-org.yb.pgsql.TestYbAsh.xml [TRUNCATED end of file] (full file attached) =====
  ...  alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/junit/junit/4.13/junit-4.13.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/com/yugabyte/cassandra-driver-core/3.10.3-yb-2/cassandra-driver-core-3.10.3-yb-2.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/io/netty/netty-handler/4.1.119.Final/netty-handler-4.1.119.Final.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/io/dropwizard/metrics/metrics-core/3.2.2/metrics-core-3.2.2.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/com/github/jnr/jnr-ffi/2.1.7/jnr-ffi-2.1.7.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/com/github/jnr/jffi/1.2.16/jffi-1.2.16.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/com/github/jnr/jffi/1.2.16/jffi-1.2.16-native.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/org/ow2/asm/asm-analysis/5.0.3/asm-analysis-5.0.3.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/org/ow2/asm/asm-util/5.0.3/asm-util-5.0.3.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/com/github/jnr/jnr-posix/3.0.44/jnr-posix-3.0.44.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/com/github/jnr/jnr-constants/0.9.9/jnr-constants-0.9.9.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninja/m2_repository/com/fasterxml/jackson/core/jackson-databind/<ip>/jackson-databind-<ip>.jar:/share/jenkins/workspace/github-yugabyte-db-alma8-master-clang21-release/yugabyte-db/build/release-clang21-full-lto-ninj... ... (line truncated)
... (truncated)

Frequency and origin

Recent: 3 of 24 (12%, flaky) first attempts failed with this signature between 2026-09-11 and 2026-09-18. History: 0 of 234 (0%, healthy) over the 83 days before. p = 0.0007 one-sided; verdict regressed.

Origin: first failing run 90ac7ac8 (CSI launch 167592) on lane arm-alma8-clang21-release, where this failure appeared first as far back as the record covers (the range is taken from that lane's history). The failure is intermittent (about 13% of runs after it began), so the run just before it proves little; the 23 passing run(s) (23 attempts) back to 4c8134c8 (CSI launch 163610) would have failed at least once with the culprit in, at 95% confidence. The change is in (4c8134c8, 90ac7ac8]: https://github.com/yugabyte/yugabyte-db/compare/4c8134c8...90ac7ac8.

Environment

Branch master, lane alma8-clang21-release (build type release); failing attempts were re-run under fail repetitions, the counts above are first attempts only.

Logs / rerun

Failing runs (most recent first):

Test details

Test source: https://github.com/search?q=repo:yugabyte/yugabyte-db+TestYbAsh&type=code.

Issue Type

kind/failing-test

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.

Grissom comments on this issue only when the failure's state changes: a new lane or branch, gone quiet, or back after a fix. Its rules are in ISSUES.md (internal docs). Add the label grissom_ignore to stop it here. /grissom reassign @someone or /grissom unassign in a comment changes the assignee. Wrong, unclear or missing something? Say so in the feedback thread.