Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] JdkDownloadPluginFuncTest transforms of type UnzipTransform are kept across builds failing #89285

Closed
iverase opened this issue Aug 11, 2022 · 5 comments
Assignees
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI

Comments

@iverase
Copy link
Contributor

iverase commented Aug 11, 2022

Build scan:
https://gradle-enterprise.elastic.co/s/ernsozqztszym/tests/:integTest/org.elasticsearch.gradle.internal.JdkDownloadPluginFuncTest/transforms%20of%20type%20UnzipTransform%20are%20kept%20across%20builds

Reproduction line:
null

Applicable branches:
main

Reproduces locally?:
Didn't try

Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.gradle.internal.JdkDownloadPluginFuncTest&tests.test=transforms%20of%20type%20UnzipTransform%20are%20kept%20across%20builds

Failure excerpt:

java.io.IOException: Failed to copy full contents from '/tmp/junit1699766051303869009/junit4162579748942594183/caches/journal-1/journal-1.lock' to 'build/test-debug/junit1699766051303869009/junit4162579748942594183/caches/journal-1/journal-1.lock'

  at org.apache.commons.io.FileUtils.doCopyFile(FileUtils.java:1087)
  at org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1358)
  at org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1356)
  at org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1356)
  at org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1356)
  at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1319)
  at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1191)
  at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1160)
  at org.elasticsearch.gradle.fixtures.AbstractGradleFuncTest.cleanup(AbstractGradleFuncTest.groovy:51)

@iverase iverase added :Delivery/Build Build or test infrastructure >test-failure Triaged test failures from CI labels Aug 11, 2022
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

@elasticsearchmachine elasticsearchmachine added the Team:Delivery Meta label for Delivery team label Aug 11, 2022
@mark-vieira
Copy link
Contributor

@breskeby did we want to keep the bits here commented out? Or perhaps could we be smarter here and only keep the temporary directory contents when the test failed?

@breskeby breskeby self-assigned this Aug 11, 2022
@breskeby
Copy link
Contributor

the passing down of the sys prop was borked somehow that's why I have that on my list. I check if there's a convenient way to make this smarter

@breskeby
Copy link
Contributor

@mark-vieira #89296

@breskeby
Copy link
Contributor

This issue should be mitigated by #89296 and #89304

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

4 participants