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

[BUG] Execution failed for task ':test:fixtures:azure-fixture:composeDown' #1821

Closed
reta opened this issue Dec 28, 2021 · 0 comments · Fixed by #1824
Closed

[BUG] Execution failed for task ':test:fixtures:azure-fixture:composeDown' #1821

reta opened this issue Dec 28, 2021 · 0 comments · Fixed by #1824
Labels
bug Something isn't working untriaged

Comments

@reta
Copy link
Collaborator

reta commented Dec 28, 2021

Describe the bug
Running ./gradlew :plugins:repository-azure:check multiple times, one after another, fails with:

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':test:fixtures:azure-fixture:composeDown'.
> java.io.IOException: Unable to delete directory '/OpenSearch/test/fixtures/azure-fixture/testfixtures_shared'
    Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.
    - /OpenSearch/test/fixtures/azure-fixture/testfixtures_shared/shared

The issue and the cause is the same as #1675 but for different modules (reproducible on all repository plugins), some folders are created under root:

$ ll /OpenSearch/test/fixtures/azure-fixture
total 44K
drwxrwxr-x 4 user user 4.0K Dec 17 16:25 bin
drwxrwxr-x 6 user user 4.0K Dec 16 15:37 build
...
drwxr-xr-x 3 root         root         4.0K Dec 28 16:48 testfixtures_shared

To Reproduce
Run ./gradlew :plugins:repository-azure:check multiple times (same with ./gradlew :plugins:repository-s3:check, ./gradlew :plugins:repository-azure:gcs)

* What went wrong:
Execution failed for task ':test:fixtures:s3-fixture:composeDown'.
> java.io.IOException: Unable to delete directory '/OpenSearch/test/fixtures/s3-fixture/testfixtures_shared'
    Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.
    - /OpenSearch/test/fixtures/s3-fixture/testfixtures_shared/shared

Expected behavior
The runs should not fail

Plugins
N/A

Screenshots
N/A

Host/Environment (please complete the following information):

  • OS: Ubuntu 21.10
  • Version 2.0.0 / 1.x

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant