Skip to content

[JENKINS-72507] Jenkins log polluted with java.io.IOException: Stream Closed #514

@jenkins-infra-bot

Description

@jenkins-infra-bot

Jenkins log contains many entries as shown below. I believe these should be suppressed by isClosedChannelException() in 12f6b09 :

WARNING o.j.p.w.l.GCFlushedOutputStream$FlushRef#lambda$static$0
java.io.IOException: Stream Closed
    at java.base/java.io.FileOutputStream.writeBytes(Native Method)
    at java.base/java.io.FileOutputStream.write(FileOutputStream.java:354)
    at org.apache.commons.io.output.ProxyOutputStream.write(ProxyOutputStream.java:147)
    at org.jenkinsci.plugins.workflow.log.DelayBufferedOutputStream$FlushControlledOutputStream.write(DelayBufferedOutputStream.java:127)
    at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
    at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
    at org.jenkinsci.plugins.workflow.log.GCFlushedOutputStream$FlushRef.lambda$static$0(GCFlushedOutputStream.java:98)
    at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)


Originally reported by ckullabosch, imported from: Jenkins log polluted with java.io.IOException: Stream Closed
  • status: Open
  • priority: Minor
  • component(s): workflow-api-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 3
  • imported: 20260601-173816
Raw content of original issue

Jenkins log contains many entries as shown below. I believe these should be suppressed by isClosedChannelException() in 12f6b09 :

WARNING o.j.p.w.l.GCFlushedOutputStream$FlushRef#lambda$static$0 java.io.IOException: Stream Closed     at java.base/java.io.FileOutputStream.writeBytes(Native Method)     at java.base/java.io.FileOutputStream.write(FileOutputStream.java:354)     at org.apache.commons.io.output.ProxyOutputStream.write(ProxyOutputStream.java:147)     at org.jenkinsci.plugins.workflow.log.DelayBufferedOutputStream$FlushControlledOutputStream.write(DelayBufferedOutputStream.java:127)     at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)     at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)     at org.jenkinsci.plugins.workflow.log.GCFlushedOutputStream$FlushRef.lambda$static$0(GCFlushedOutputStream.java:98)     at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)     at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)     at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)     at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)     at java.base/java.lang.Thread.run(Thread.java:829)

  • environment: workflow-api, Version 1283.v99c10937efcb_

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions