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

AppVeyor: Timeout before deleting Gradle lock file #1231

Closed
wants to merge 1 commit into from

Conversation

3flex
Copy link
Member

@3flex 3flex commented Oct 11, 2018

And re-enable the Gradle daemon.

(Hopefully) fixes #1230 finally leading to reliable builds on AppVeyor.

I did manage to replicate this problem locally - seems that the process the daemon spawns when running a task is not cleaned up before the daemon itself shuts down. Whether that's a bug in Gradle or in one of the components used when the task runs is unclear, but hopefully this works around it.

If not we'll do option 3 and move on with our lives.

And re-enable the Gradle daemon.
@3flex
Copy link
Member Author

3flex commented Oct 11, 2018

This didn't work :/

And when I went digging I saw Artur had commented on a YouTrack issue so this has been happening intermittently for some time: https://youtrack.jetbrains.com/issue/KT-18300

Skipping deletion of the lock file entirely won't help either. The error happens before the caching occurs.

I'm wondering if the caching be left as is, this PR closed, and if someone knows how to avoid the error coming up they raise a PR to address it. Flaky builds are awful though.

@3flex 3flex closed this Oct 11, 2018
@3flex 3flex deleted the patch-2 branch October 11, 2018 04:00
@arturbosch arturbosch added this to the RC10 milestone Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AppVeyor: w: The '-d' option with a directory destination is ignored because '-Xbuild-file' is specified
2 participants