← Back to team overview

lp-scanner-team team mailing list archive

[Bug 1187481] [NEW] 503 Service Unavailable breaking security scanner

 

Private bug reported:

More often than not the security scanner will get a 503 when iterating
over branches and break execution causing an incomplete security scanner
run


File "./security-scanner.py", line 441, in <module>
    main()
  File "./security-scanner.py", line 437, in main
    security_scanner(lp, sharing, config)
  File "./security-scanner.py", line 270, in security_scanner
    for branch in project.getBranches():
  File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/resource.py", line 573, in __call__
    url, in_representation, http_method, extra_headers=extra_headers)
  File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/_browser.py", line 281, in _request
    raise error
lazr.restfulclient.errors.ServerError: HTTP Error 503: Service Unavailable

** Affects: lp-scanner
     Importance: High
     Assignee: CE Infrastructure (ce-infrastructure)
         Status: New

** Changed in: lp-scanner
   Importance: Undecided => High

** Changed in: lp-scanner
     Assignee: (unassigned) => CE Infrastructure (ce-infrastructure)

-- 
You received this bug notification because you are a member of The
Launchpad Security Scanner Dev Team, which is subscribed to lp-scanner.
https://bugs.launchpad.net/bugs/1187481

Title:
  503 Service Unavailable breaking security scanner

Status in The Launchpad Security Scanner Project:
  New

Bug description:
  More often than not the security scanner will get a 503 when iterating
  over branches and break execution causing an incomplete security
  scanner run

  
  File "./security-scanner.py", line 441, in <module>
      main()
    File "./security-scanner.py", line 437, in main
      security_scanner(lp, sharing, config)
    File "./security-scanner.py", line 270, in security_scanner
      for branch in project.getBranches():
    File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/resource.py", line 573, in __call__
      url, in_representation, http_method, extra_headers=extra_headers)
    File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/_browser.py", line 281, in _request
      raise error
  lazr.restfulclient.errors.ServerError: HTTP Error 503: Service Unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/lp-scanner/+bug/1187481/+subscriptions


Follow ups

References