Update Notification for escalation when use two or more groups notifications

13 jobs for !1782 with update/close_escalation_notification in 1 minute and 55 seconds (queued for 1 minute and 33 seconds)
detached
Status Job ID Name Coverage
  Lint
passed #67668
docker allowed to fail
bandit

00:00:12

failed #67664
docker
black

00:00:11

manual #67669
docker allowed to fail manual
caniusepython3
passed #67662
docker
check labels

00:00:13

passed #67663
docker
flake8

00:00:12

passed #67670
docker
futurize

00:00:12

failed #67671
docker allowed to fail
futurize stage2

00:00:16

passed #67666
docker
pylint

00:00:12

passed #67667
docker
pylint3k

00:00:12

failed #67665
docker allowed to fail
xenon

00:00:11

 
  Test
skipped #67673
shell
Test code
skipped #67672
shell
Test migrate
 
  Build Docs
skipped #67674
docker
Build docs
 
Name Stage Failure
failed
futurize stage2 Lint
 
RETRY_TIMEOUT = config.escalator.retry_timeout
# @fixme have to be checked
-RETRY_DELTA = 60 / max(config.escalator.tt_escalation_limit - 1, 1)
+RETRY_DELTA = old_div(60, max(config.escalator.tt_escalation_limit - 1, 1))

retry_lock = threading.Lock()
next_retry = datetime.datetime.now()
ERROR: Job failed: exit code 1
failed
xenon Lint
++ '[' '!' -z 'fm/models/activealarm.py
main/models/notificationgroup.py
services/escalator/escalation.py' ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B 'fm/models/activealarm.py
main/models/notificationgroup.py
services/escalator/escalation.py'
++ let x+=0
ERROR: Job failed: exit code 1
failed
black Lint
+ '[' '!' -z 'fm/models/activealarm.py
main/models/notificationgroup.py
services/escalator/escalation.py' ]
+ black --check fm/models/activealarm.py main/models/notificationgroup.py services/escalator/escalation.py
$ if [ ! -z "$FLIST" ]; then # collapsed multi-line command
would reformat /builds/noc/noc/main/models/notificationgroup.py
All done! 💥 💔 💥
1 file would be reformatted, 2 files would be left unchanged.
ERROR: Job failed: exit code 1