GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — spanner.it.ITClosedSessionTest: testTransactionManager failed · Issue #2206 · googleapis/java-spanner

This repository was archived by the owner on Aug 30, 2026. It is now read-only.
This repository was archived by the owner on Aug 30, 2026. It is now read-only.

spanner.it.ITClosedSessionTest: testTransactionManager failed #2206

Copy link
Copy link
Closed
Closed
spanner.it.ITClosedSessionTest: testTransactionManager failed#2206
Copy link
Assignees
arpan14
Labels
api: spannerIssues related to the googleapis/java-spanner API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@flaky-bot
flaky-bot
bot
opened on Dec 22, 2022
Issue body actions

This test failed!

To configure my behavior, see the Flaky Bot documentation.

If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.


commit: 02973d3
buildURL: Build Status, Sponge
status: failed

Test output
java.lang.IllegalArgumentException: timeout value is negative
	at java.base/java.lang.Thread.sleep(Native Method)
	at com.google.cloud.spanner.it.ITClosedSessionTest.testTransactionManager(ITClosedSessionTest.java:254)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeLazy(JUnitCoreWrapper.java:119)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:87)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)

Activity

Next
  1. flaky-bot
    added
    flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Dec 22, 2022
  2. blunderbuss-gcf
    assigned
    ansh0l
    on Dec 22, 2022
  3. product-auto-label
    added
    api: spannerIssues related to the googleapis/java-spanner API.
    on Dec 22, 2022
  4. flaky-bot
    added
    flakybot: flakyTells the Flaky Bot not to close or comment on this issue.
    on Dec 23, 2022
  5. flaky-bot commented on Dec 23, 2022

    @flaky-bot
    flaky-botBot
    on Dec 23, 2022
    Author
    More actions

    Looks like this issue is flaky. 😟

    I'm going to leave this open and stop commenting.

    A human should fix and close this.


    When run at the same commit (02973d3), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).

  6. ansh0l
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    and removed
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    on Dec 29, 2022
  7. arpan14 commented on Feb 6, 2023

    @arpan14
    arpan14
    on Feb 6, 2023
    Contributor
    More actions

    Completed the root cause for this issue. The issue is flaky and happens only in scenarios where an AbortedException is thrown within unit test. AbortedException is a non-retryable exception and its retry delay is set as -1. For such cases when we are trying to perform Thread.sleep() , it is throwing IllegalArgumentException given -1 is not an acceptable timeout value.

    We can perform two fixes a) Remove the need to retry b) Retry only if the exception is marked as retryable.

  8. arpan14
    added 3 commits that reference this issue on Feb 8, 2023

    fix: prevent illegal negative timeout values into thread sleep() meth…

    edc5bbf

    fix: prevent illegal negative timeout values into thread sleep() meth…

    8588fe1

    fix: prevent illegal negative timeout values into thread sleep() meth…

    ce66098
  9. arpan14
    assigned
    arpan14
    and unassigned
    ansh0l
    on Feb 13, 2023
  10. 10 remaining items

  11. arpan14
    added 3 commits that reference this issue on Feb 23, 2024

    fix: flaky test issue due to AbortedException. (#2925)

    cd34c1d

    chore: replace client creation methods for all new samples with auto-…

    c6d82d4

    docs: update all public documents to use auto-generated admin clients. (

    ccb110a
  12. arpan14
    added a commit that references this issue on Mar 22, 2024

    chore: add session pool options for multiplexed session. (#2960)

    d970a2c
  13. tlhquynh
    added a commit that references this issue on Mar 25, 2024

    chore: add session pool options for multiplexed session. (googleapis#…

    eaa05da
  14. thiagotnunes
    added a commit that references this issue on Apr 5, 2024

    feat: add PG OID support (#2736)

    ba2a4af
  15. chingor13
    added 9 commits that reference this issue on Mar 24, 2026

    docs: samples and tests for auto-generated createDatabase and createI…

    36837a4

    feat: add support for Directed Read options (#2766)

    e97d4da

    feat: support public methods to use autogenerated admin clients. (#2878)

    3f71b23

    docs: samples and tests for backup Admin APIs and overall spanner Adm…

    7c024f2

    fix: flaky test issue due to AbortedException. (#2925)

    f9b8e03

    chore: replace client creation methods for all new samples with auto-…

    f347ad8

    docs: update all public documents to use auto-generated admin clients. (

    faf5a09

    chore: add session pool options for multiplexed session. (#2960)

    499c4e9

    feat: add PG OID support (#2736)

    3aba742
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @arpan14
    arpan14

Labels

api: spannerIssues related to the googleapis/java-spanner API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.