← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1358904] [NEW] Warning for image_locations.id being empty while running tests

 

Public bug reported:

sqlalchemy/sql/default_comparator.py:35: SAWarning: The IN-predicate on "image_locations.id" was invoked with an empty sequence. This results in a contradiction, which nonetheless can be expensive to evaluate.  Consider alternative strategies for improved performance.
  return o[0](self, self.expr, op, *(other + o[1:]), **kwargs)

warning is shown.

Not sure if this is a bug, need some confirmation.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1358904

Title:
  Warning for image_locations.id being empty while running tests

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  sqlalchemy/sql/default_comparator.py:35: SAWarning: The IN-predicate on "image_locations.id" was invoked with an empty sequence. This results in a contradiction, which nonetheless can be expensive to evaluate.  Consider alternative strategies for improved performance.
    return o[0](self, self.expr, op, *(other + o[1:]), **kwargs)

  warning is shown.

  Not sure if this is a bug, need some confirmation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1358904/+subscriptions


Follow ups

References