[java-spanner] Broken test case ITBuiltInMetricsTest.testBuiltinMetricsWithDefaultOTEL

Open
#14,975 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@sakthivelmanii is already working on this.

Since Nov 14, 2026.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
google-cloud, java

Research direction

Start with ITBuiltInMetricsTest.testBuiltinMetricsWithDefaultOTEL at ITBuiltInMetricsTest.java:133 and trace how the test generates and collects the attempt_count metric. Run that integration test and inspect its OpenTelemetry setup to determine why no data is returned. Done means the test passes consistently in the required CI check.

Written by the indexing model from the issue text.

Description

Test case has been failing consistently in required CI check:

20:40:28:247 [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 187.7 s <<< FAILURE! -- in com.google.cloud.spanner.it.ITBuiltInMetricsTest
20:40:28:248 [ERROR] com.google.cloud.spanner.it.ITBuiltInMetricsTest.testBuiltinMetricsWithDefaultOTEL -- Time elapsed: 184.0 s <<< FAILURE!
Metric attempt_count didn't return any data.
expected to be greater than: 0
but was                    : 0
	at com.google.cloud.spanner.it.ITBuiltInMetricsTest.testBuiltinMetricsWithDefaultOTEL(ITBuiltInMetricsTest.java:133)
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
192

Getting set up

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.

More from googleapis/google-cloud-java

All issues in googleapis/google-cloud-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.