Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db migration alembic version failing on travis-ci #165

Closed
fmigneault opened this issue Mar 28, 2019 · 0 comments
Closed

db migration alembic version failing on travis-ci #165

fmigneault opened this issue Mar 28, 2019 · 0 comments
Assignees
Labels
bug Problem, error, or invalid behaviour help wanted investigate Issue or new component that needs further exploration tests Test execution or additional use cases

Comments

@fmigneault
Copy link
Collaborator

fmigneault commented Mar 28, 2019

Alembic db version fetch is discarded on raised error since 6435886 to allow tests to pass because it fails to be retrieved on travis-ci.

Test Failing: https://travis-ci.com/Ouranosinc/Magpie/builds/106243123
Test Success: https://travis-ci.com/Ouranosinc/Magpie/builds/106247111
Reference: #156

Even when changing magpie.db_migration=True during tests, table alembic_version seems to be missing or queries to it fail.
Migration doesn't seem to fail when enabled, as it does not report any issue/warning/error at first glance.
Fetching of alembic_version works on local instance and deployed instance.

@fmigneault fmigneault added bug Problem, error, or invalid behaviour tests Test execution or additional use cases investigate Issue or new component that needs further exploration labels Mar 28, 2019
@fmigneault fmigneault added this to the 0.10.x milestone Mar 28, 2019
@fmigneault fmigneault self-assigned this Mar 28, 2019
@fmigneault fmigneault removed this from the 0.10.x milestone Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Problem, error, or invalid behaviour help wanted investigate Issue or new component that needs further exploration tests Test execution or additional use cases
Projects
None yet
Development

No branches or pull requests

1 participant