← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1745003] [NEW] functional test broken under py35

 

Public bug reported:

This started failing in the gate today:


 ==============================
 Failed 1 tests - output below:
 ==============================

 glance.tests.functional.db.migrations.test_ocata_migrate01.TestOcataMigrate01MySQL.test_walk_versions
 -----------------------------------------------------------------------------------------------------

 Captured traceback:
 ~~~~~~~~~~~~~~~~~~~
     b'Traceback (most recent call last):'
     b'  File "/home/zuul/src/git.openstack.org/openstack/glance/glance/tests/functional/db/test_migrations.py", line 63, in test_walk_versions'
     b'    with_data=True)'
     b'  File "/home/zuul/src/git.openstack.org/openstack/glance/glance/tests/functional/db/test_migrations.py", line 57, in _migrate_up'
     b'    check(engine, data)'
     b'  File "/home/zuul/src/git.openstack.org/openstack/glance/glance/tests/functional/db/migrations/test_ocata_migrate01.py", line 133, in _check_ocata_expand01'
     b"    self.assertEqual('private', rows[0]['visibility'])"
     b'  File "/home/zuul/src/git.openstack.org/openstack/glance/.tox/py35/lib/python3.5/site-packages/testtools/testcase.py", line 411, in assertEqual'
     b'    self.assertThat(observed, matcher, message)'
     b'  File "/home/zuul/src/git.openstack.org/openstack/glance/.tox/py35/lib/python3.5/site-packages/testtools/testcase.py", line 498, in assertThat'
     b'    raise mismatch_error'
     b"testtools.matchers._impl.MismatchError: 'private' != None"
     b''

I have not been able to reproduce locally (yet).  This is from the
zuul_info from a failing test:

Image Information
=================

/etc/dib-builddate.txt
----------------------
2018-01-22 21:42

/etc/image-hostname.txt
-----------------------
ubuntu-xenial

** Affects: glance
     Importance: Undecided
         Status: Triaged

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

Title:
  functional test broken under py35

Status in Glance:
  Triaged

Bug description:
  This started failing in the gate today:

  
   ==============================
   Failed 1 tests - output below:
   ==============================

   glance.tests.functional.db.migrations.test_ocata_migrate01.TestOcataMigrate01MySQL.test_walk_versions
   -----------------------------------------------------------------------------------------------------

   Captured traceback:
   ~~~~~~~~~~~~~~~~~~~
       b'Traceback (most recent call last):'
       b'  File "/home/zuul/src/git.openstack.org/openstack/glance/glance/tests/functional/db/test_migrations.py", line 63, in test_walk_versions'
       b'    with_data=True)'
       b'  File "/home/zuul/src/git.openstack.org/openstack/glance/glance/tests/functional/db/test_migrations.py", line 57, in _migrate_up'
       b'    check(engine, data)'
       b'  File "/home/zuul/src/git.openstack.org/openstack/glance/glance/tests/functional/db/migrations/test_ocata_migrate01.py", line 133, in _check_ocata_expand01'
       b"    self.assertEqual('private', rows[0]['visibility'])"
       b'  File "/home/zuul/src/git.openstack.org/openstack/glance/.tox/py35/lib/python3.5/site-packages/testtools/testcase.py", line 411, in assertEqual'
       b'    self.assertThat(observed, matcher, message)'
       b'  File "/home/zuul/src/git.openstack.org/openstack/glance/.tox/py35/lib/python3.5/site-packages/testtools/testcase.py", line 498, in assertThat'
       b'    raise mismatch_error'
       b"testtools.matchers._impl.MismatchError: 'private' != None"
       b''

  I have not been able to reproduce locally (yet).  This is from the
  zuul_info from a failing test:

  Image Information
  =================

  /etc/dib-builddate.txt
  ----------------------
  2018-01-22 21:42

  /etc/image-hostname.txt
  -----------------------
  ubuntu-xenial

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