← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1227868] Re: Testing error if sqlite3 not installed

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-rc1

-- 
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/1227868

Title:
  Testing error if sqlite3 not installed

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  ======================================================================
  FAIL: nova.tests.db.test_sqlite.TestSqlite.test_big_int_mapping
  tags: worker-1
  ----------------------------------------------------------------------
  Empty attachments:
    pythonlogging:''
    stderr
    stdout

  Traceback (most recent call last):
    File "nova/tests/db/test_sqlite.py", line 51, in test_big_int_mapping
      output, _ = utils.execute(get_schema_cmd, shell=True)
    File "nova/utils.py", line 178, in execute
      return processutils.execute(*cmd, **kwargs)
    File "nova/openstack/common/processutils.py", line 178, in execute
      cmd=' '.join(cmd))
  ProcessExecutionError: Unexpected error while running command.
  Command: sqlite3 test_bigint.sqlite '.schema'
  Exit code: 127
  Stdout: ''
  Stderr: '/bin/sh: 1: sqlite3: not found\n'
  ======================================================================

  The test should handle the lack of sqlite3 gracefully, in the same
  manner as the mysql or postgresql tests.

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