← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1105284] Re: mysql CI tests fail when run from run_tests.sh

 

Not able to reproduce the error with the latest tree.

** Changed in: nova
       Status: In Progress => Invalid

** Changed in: nova
     Assignee: Kurt Taylor (krtaylor) => (unassigned)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1105284

Title:
  mysql CI tests fail when run from run_tests.sh

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  CI tests for mysql fail when running from run_tests.sh

  Running './run_tests.sh test_mysql_opportunistically' on a setup with
  both postgres and mysql CI testing configured fails.

  krtaylor:~/test/nova$ cat /etc/issue
  Ubuntu 12.10 \n \l

  krtaylor:~/test/nova$ git log -1
  commit 3ddd1aeda69b1d8d0bc689fea8d4c2c530d55fc0
  Merge: 1cad17a 78ebb44
  Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
  Date:   Tue Jan 29 12:22:20 2013 +0000

      Merge "Merge LibvirtBridgeDriver class into LibvirtGenericVIFDriver"
  krtaylor:~/test/nova$ sudo ./run_tests.sh test_mysql_opportunistically
  Running `tools/with_venv.sh python setup.py testr  --slowest --testr-args='test_mysql_opportunistically'`
  running testr
  running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --list 
  running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list /tmp/tmpOVMbTQ
  2013-01-29 07:53:12.701 23007 WARNING nova.virt.libvirt.firewall [-] Libvirt module could not be loaded. NWFilterFirewall will not work correctly.
  ======================================================================
  ERROR: nova.tests.test_migrations.TestMigrations.test_mysql_opportunistically
  tags: worker-0
  ----------------------------------------------------------------------
  Empty attachments:
    stdout

  pythonlogging:'nova': {{{
  Loading network driver 'nova.network.linux_net'
  This shouldn't be getting called except during testing.
  This shouldn't be getting called except during testing.
  }}}

  stderr: {{{
  /home/krtaylor/test/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/dialects/sqlite/base.py:723: SAWarning: Did not recognize type 'BIGINT' of column 'bw_in'
    default, primary_key))
  /home/krtaylor/test/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/dialects/sqlite/base.py:723: SAWarning: Did not recognize type 'BIGINT' of column 'bw_out'
    default, primary_key))
  /home/krtaylor/test/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/dialects/sqlite/base.py:723: SAWarning: Did not recognize type 'BIGINT' of column 'last_ctr_in'
    default, primary_key))
  /home/krtaylor/test/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/dialects/sqlite/base.py:723: SAWarning: Did not recognize type 'BIGINT' of column 'last_ctr_out'
    default, primary_key))
  /home/krtaylor/test/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/dialects/sqlite/base.py:723: SAWarning: Did not recognize type 'BIGINT' of column 'tot_reads'
    default, primary_key))
  /home/krtaylor/test/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/dialects/sqlite/base.py:723: SAWarning: Did not recognize type 'BIGINT' of column 'tot_read_bytes'
    default, primary_key))
  /home/krtaylor/test/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/dialects/sqlite/base.py:723: SAWarning: Did not recognize type 'BIGINT' of column 'tot_writes'
    default, primary_key))
  /home/krtaylor/test/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/dialects/sqlite/base.py:723: SAWarning: Did not recognize type 'BIGINT' of column 'tot_write_bytes'
    default, primary_key))
  /home/krtaylor/test/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/dialects/sqlite/base.py:723: SAWarning: Did not recognize type 'BIGINT' of column 'curr_reads'
    default, primary_key))
  /home/krtaylor/test/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/dialects/sqlite/base.py:723: SAWarning: Did not recognize type 'BIGINT' of column 'curr_read_bytes'
    default, primary_key))
  /home/krtaylor/test/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/dialects/sqlite/base.py:723: SAWarning: Did not recognize type 'BIGINT' of column 'curr_writes'
    default, primary_key))
  /home/krtaylor/test/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/dialects/sqlite/base.py:723: SAWarning: Did not recognize type 'BIGINT' of column 'curr_write_bytes'
    default, primary_key))
  }}}

  Traceback (most recent call last):
    File "/home/krtaylor/test/nova/nova/tests/test_migrations.py", line 233, in test_mysql_opportunistically
      self._check_mysql_migration_149(engine)
    File "/home/krtaylor/test/nova/nova/tests/test_migrations.py", line 303, in _check_mysql_migration_149
      self._reset_databases()
    File "/home/krtaylor/test/nova/nova/tests/test_migrations.py", line 175, in _reset_databases
      execute_cmd(cmd)
    File "/home/krtaylor/test/nova/nova/tests/test_migrations.py", line 143, in execute_cmd
      status, output = commands.getstatusoutput(cmd)
    File "/usr/lib/python2.7/commands.py", line 60, in getstatusoutput
      text = pipe.read()
    File "/home/krtaylor/test/nova/.venv/local/lib/python2.7/site-packages/fixtures/_fixtures/timeout.py", line 52, in signal_handler
      raise TimeoutException()
  TimeoutException
  Ran 1 tests in 60.202s (-0.150s)
  FAILED (id=5, failures=1)
  error: testr failed (1)

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