Long-running rq jobs (often scripts) do not "fail" #4369

Closed
opened 2025-12-29 18:35:19 +01:00 by adam · 5 comments
Owner

Originally created by @DanSheps on GitHub (Dec 16, 2020).

Environment

  • Python version: 3.6.6
  • NetBox version: 2.10.1

Steps to Reproduce

  1. Create a job that takes longer then specified timeout (300)
  2. Run job
  3. Wait

Expected Behavior

  • Job will be marked as failed

Observed Behavior

  • Execution will stop, job will not be marked as failed
Originally created by @DanSheps on GitHub (Dec 16, 2020). ### Environment * Python version: 3.6.6 * NetBox version: 2.10.1 ### Steps to Reproduce 1. Create a job that takes longer then specified timeout (300) 2. Run job 3. Wait ### Expected Behavior * Job will be marked as failed ### Observed Behavior * Execution will stop, job will not be marked as failed
adam added the pending closurestatus: under reviewtype: housekeeping labels 2025-12-29 18:35:19 +01:00
adam closed this issue 2025-12-29 18:35:19 +01:00
Author
Owner

@jeremystretch commented on GitHub (May 21, 2021):

@DanSheps is this still an issue? If so, it should probably be classified as a bug.

@jeremystretch commented on GitHub (May 21, 2021): @DanSheps is this still an issue? If so, it should probably be classified as a bug.
Author
Owner

@DanSheps commented on GitHub (May 21, 2021):

I will have to double check

@DanSheps commented on GitHub (May 21, 2021): I will have to double check
Author
Owner

@DanSheps commented on GitHub (Jun 3, 2021):

I think this isn't so much an issue with it long-running as it is with it hitting an exception somewhere and then the result isn't being saved. I need to dig more I think.

@DanSheps commented on GitHub (Jun 3, 2021): I think this isn't so much an issue with it long-running as it is with it hitting an exception somewhere and then the result isn't being saved. I need to dig more I think.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 2, 2021):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Aug 2, 2021): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Sep 2, 2021):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Sep 2, 2021): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4369