Skip to content

[CI] LoggedExecFuncTest failed tasks output logged to console when spooling true failing #119509

@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

null

Applicable branches:
9.0

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

org.spockframework.runtime.ConditionNotSatisfiedError: Condition not satisfied:

normalized(givenOutput).contains(normalized(expected))
|          |            |        |          |
|          |            false    |          No such file or directory
|          |                     No such file or directory
|          Calculating task graph as no cached configuration is available for tasks: loggedExec
|          Could not read error output of command 'ls'.
|          java.io.IOException: Stream Closed
|          	at java.base/java.io.FileOutputStream.writeBytes(Native Method)
|          	at java.base/java.io.FileOutputStream.write(FileOutputStream.java:367)
|          	at org.elasticsearch.gradle.LazyFileOutputStream.write(LazyFileOutputStream.java:50)
|          	at org.gradle.process.internal.streams.ExecOutputHandleRunner.writeBuffer(ExecOutputHandleRunner.java:97)
|          	at org.gradle.process.internal.streams.ExecOutputHandleRunner.lambda$forwardContent$0(ExecOutputHandleRun
[truncated]

Issue Reasons:

  • [9.0] 2 failures in test failed tasks output logged to console when spooling true (33.3% fail rate in 6 executions)

Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.

Metadata

Metadata

Assignees

Labels

:Delivery/BuildBuild or test infrastructure>test-failureTriaged test failures from CITeam:DeliveryMeta label for Delivery teamneeds:riskRequires assignment of a risk label (low, medium, blocker)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions