Sudden build failure with `error: unexpected EOF` (OD-2085)
wojtek opened 1 year ago

We have a gradel build. I pushed one commit with a couple of changes to build.gradle.kts file (works locally) and to onedev buildspec (additional step) and build started to fail with:

21:44:41 Welcome to Gradle 8.4!
21:44:41 
21:44:41 Here are the highlights of this release:
21:44:41  - Compiling and testing with Java 21
21:44:41  - Faster Java compilation on Windows
21:44:41  - Role focused dependency configurations creation
21:44:41 
21:44:41 For more details see https://docs.gradle.org/8.4/release-notes.html
21:44:41 
21:44:43 Starting a Gradle Daemon (subsequent builds will be faster)
21:49:43 error: unexpected EOF

The change was trivial and is after the main gradle build that throws error: unexpected EOF:

  - !SetBuildVersionStep
    name: set build version
    buildVersion: '@file:desktop/build/version@'
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL

I checked 1dev logs and nothing is there… Build works just fine locally. Any hints how to troubleshoot it would be apprecaited.

  • Robin Shen commented 1 year ago

    Please run your build in same docker container as specified in the step to see if it works.

  • Robin Shen changed state to 'Closed' 1 year ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2085
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover