Title: BUG - aaq_batch does not remove_from_jobqueue on inactive/failed/error job, leading to infinite loop · Issue #314 · automaticanalysis/automaticanalysis · GitHub
Open Graph Title: BUG - aaq_batch does not remove_from_jobqueue on inactive/failed/error job, leading to infinite loop · Issue #314 · automaticanalysis/automaticanalysis
X Title: BUG - aaq_batch does not remove_from_jobqueue on inactive/failed/error job, leading to infinite loop · Issue #314 · automaticanalysis/automaticanalysis
Description: For jobs with status 'failed', 'inactive' or 'error', there is a difference between the situation before and after aaworkermaximumretry is reached. Before the max retry is reached, remove_from_jobqueue() is called, with the retry input s...
Open Graph Description: For jobs with status 'failed', 'inactive' or 'error', there is a difference between the situation before and after aaworkermaximumretry is reached. Before the max retry is reached, remove_from_jobq...
X Description: For jobs with status 'failed', 'inactive' or 'error', there is a difference between the situation before and after aaworkermaximumretry is reached. Before the max retry is r...
Opengraph URL: https://github.com/automaticanalysis/automaticanalysis/issues/314
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BUG - aaq_batch does not remove_from_jobqueue on inactive/failed/error job, leading to infinite loop","articleBody":"For jobs with status 'failed', 'inactive' or 'error', there is a difference between the situation before and after aaworkermaximumretry is reached.\r\nBefore the max retry is reached, remove_from_jobqueue() is called, with the retry input set to true. This is ok behaviour.\r\nWhen the max number of retries is reached, aa throws an error (because it calls aas_log with the error input set to true), but does NOT call remove_from_jobqueue first.\r\n\r\nAt least when Parallel Server and MJS are used (instead of a parcluster('local')), since these are persistent, this means that these jobs stay in the pool forever, because they are never removed. They fill up the queue even, so if multiple times an aa script is run that leads to such a job, the nfreeworkers in runall() in aaq_batch becomes zero, without there being any obj.jobinfo, which leads to an infinite loop.\r\n\r\n","author":{"url":"https://github.com/AljenU","@type":"Person","name":"AljenU"},"datePublished":"2021-12-16T15:11:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/314/automaticanalysis/issues/314"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5fc6a1a6-7fa8-ccbd-9b7c-934f1d0cbec2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF14:3966C:261AB1:2F3A5E:697E5B4E |
| html-safe-nonce | c395ad9d6fe03f65992475fc59408d0b0d417c9800e20aa5d56c7311b03886e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjE0OjM5NjZDOjI2MUFCMToyRjNBNUU6Njk3RTVCNEUiLCJ2aXNpdG9yX2lkIjoiNDA1ODYxMDQxMTMzNzgzMzI5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ba8550b56df4514821e589321ca157c2898ec9f9a296bbd2a05b9043f6ed0d12 |
| hovercard-subject-tag | issue:1082309221 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/automaticanalysis/automaticanalysis/314/issue_layout |
| twitter:image | https://opengraph.githubassets.com/55d2ea5cc7a2a7d9512134e2282ebaa96b60c4cc83709b3bf85a47fef23ae79b/automaticanalysis/automaticanalysis/issues/314 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/55d2ea5cc7a2a7d9512134e2282ebaa96b60c4cc83709b3bf85a47fef23ae79b/automaticanalysis/automaticanalysis/issues/314 |
| og:image:alt | For jobs with status 'failed', 'inactive' or 'error', there is a difference between the situation before and after aaworkermaximumretry is reached. Before the max retry is reached, remove_from_jobq... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AljenU |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/automaticanalysis/automaticanalysis git https://github.com/automaticanalysis/automaticanalysis.git |
| octolytics-dimension-user_id | 44203535 |
| octolytics-dimension-user_login | automaticanalysis |
| octolytics-dimension-repository_id | 3820833 |
| octolytics-dimension-repository_nwo | automaticanalysis/automaticanalysis |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3820833 |
| octolytics-dimension-repository_network_root_nwo | automaticanalysis/automaticanalysis |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width