fuel-stats master CI is broken: CommandError: No such revision '4da2da15ec42'

Bug #1416145 reported by Aleksandra Fedorova
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Aleksandra Fedorova

Bug Description

Empty test, which uses code from current master, fails.

https://fuel-jenkins.mirantis.com/job/verify-fuel-stats/121/

Traceback (most recent call last):
  File "/home/jenkins/workspace/verify-fuel-stats/collector/collector/test/base.py", line 85, in setUp
    flask_migrate.upgrade(directory=directory)
  File "/home/jenkins/workspace/verify-fuel-stats/collector/.tox/py27/local/lib/python2.7/site-packages/flask_migrate/__init__.py", line 98, in upgrade
    command.upgrade(config, revision, sql = sql, tag = tag)
  File "/home/jenkins/workspace/verify-fuel-stats/collector/.tox/py27/local/lib/python2.7/site-packages/alembic/command.py", line 129, in upgrade
    script.run_env()
  File "/home/jenkins/workspace/verify-fuel-stats/collector/.tox/py27/local/lib/python2.7/site-packages/alembic/script.py", line 208, in run_env
    util.load_python_file(self.dir, 'env.py')
  File "/home/jenkins/workspace/verify-fuel-stats/collector/.tox/py27/local/lib/python2.7/site-packages/alembic/util.py", line 230, in load_python_file
    module = load_module_py(module_id, path)
  File "/home/jenkins/workspace/verify-fuel-stats/collector/.tox/py27/local/lib/python2.7/site-packages/alembic/compat.py", line 63, in load_module_py
    mod = imp.load_source(module_id, path, fp)
  File "/home/jenkins/workspace/verify-fuel-stats/collector/collector/test/../api/db/migrations/env.py", line 89, in <module>
    run_migrations_online()
  File "/home/jenkins/workspace/verify-fuel-stats/collector/collector/test/../api/db/migrations/env.py", line 82, in run_migrations_online
    context.run_migrations()
  File "<string>", line 7, in run_migrations
  File "/home/jenkins/workspace/verify-fuel-stats/collector/.tox/py27/local/lib/python2.7/site-packages/alembic/environment.py", line 696, in run_migrations
    self.get_context().run_migrations(**kw)
  File "/home/jenkins/workspace/verify-fuel-stats/collector/.tox/py27/local/lib/python2.7/site-packages/alembic/migration.py", line 248, in run_migrations
    self):
  File "/home/jenkins/workspace/verify-fuel-stats/collector/.tox/py27/local/lib/python2.7/site-packages/alembic/command.py", line 118, in upgrade
    return script._upgrade_revs(revision, rev)
  File "/home/jenkins/workspace/verify-fuel-stats/collector/.tox/py27/local/lib/python2.7/site-packages/alembic/script.py", line 188, in _upgrade_revs
    for script in reversed(list(revs))
  File "/home/jenkins/workspace/verify-fuel-stats/collector/.tox/py27/local/lib/python2.7/site-packages/alembic/script.py", line 170, in _iterate_revisions
    lower = self.get_revision(lower)
  File "/home/jenkins/workspace/verify-fuel-stats/collector/.tox/py27/local/lib/python2.7/site-packages/alembic/script.py", line 111, in get_revision
    raise util.CommandError("No such revision '%s'" % id_)
CommandError: No such revision '4da2da15ec42'

Tags: devops fuel-ci
summary: - fuel-stats master doesn't pass fuel ci
+ fuel-stats master CI is broken: CommandError: No such revision
+ '4da2da15ec42'
description: updated
Changed in fuel:
assignee: Fuel DevOps (fuel-devops) → Fuel Python Team (fuel-python)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Alexander Kislitsky (akislitsky)
Revision history for this message
Alexander Kislitsky (akislitsky) wrote :

When DB schema change is pushed to review, other tests are broken, until change is not merged into muster.

Changed in fuel:
status: New → Triaged
status: Triaged → Fix Committed
Revision history for this message
Alexander Kislitsky (akislitsky) wrote :

We can't drop and create DB from the tests. Let's make some workaround on the CI for this case.

Changed in fuel:
status: Fix Committed → In Progress
assignee: Alexander Kislitsky (akislitsky) → Aleksandra Fedorova (afedorova)
Igor Shishkin (teran)
tags: added: devops
Changed in fuel:
importance: Critical → High
Revision history for this message
Igor Shishkin (teran) wrote :

How it's going?
Why this bug is in progress still?

Revision history for this message
Aleksandra Fedorova (bookwar) wrote :

The problem described in this bug was fixed. I'll create new bug for general task of refactoring our postgres workflow

Changed in fuel:
status: In Progress → Confirmed
importance: High → Medium
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.