When set 1 second to Job Timeout, The server will execcute in a infinite loop (OD-2208)
alion opened 1 year ago

When set 1 second to Job Timeout, The server will execcute in a infinite loop. It could not cancel, and You can only avoid it by delete the build

  • Robin Shen commented 1 year ago

    It is not executing infinitely at my side. Please create a project at this site to demonstrate the issue.

  • alion commented 1 year ago

    I can reproduce now

    1. Fork your onedev/docs project
    2. Add new Job checkout, and It has only one step checkout code
    3. Add a text param sa, and It's value is "1"
    4. Edit the job timeout to 1 in more settings
    5. Edit the retry condition "sa" is "1" in more settings
    6. Run checkout job, and input sa param value with 1
    7. Watch, It's a infinite loop, you could not cancel it
  • alion commented 1 year ago

    This project is reproduced now, You can view , edit and run it directly

  • OneDev changed state to 'Closed' 1 year ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 1 year ago

    State changed as code fixing the issue is committed (175f7b7a)

  • OneDev changed state to 'Released' 1 year ago
    Previous Value Current Value
    Closed
    Released
  • OneDev commented 1 year ago

    State changed as build OD-5781 is successful

issue 1/1
Type
Bug
Priority
Minor
Assignee
Affected Versions
11.6.3
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2208
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover