grassrootseconomics / CIC-Docs

GNU General Public License v3.0
19 stars 6 forks source link

Deployment pipeline issue #94

Open BenSchZA opened 4 years ago

BenSchZA commented 4 years ago

After merging the latest Sempo updates into master, the staging pipeline no longer passes.

Re-running the pipeline and tests on a commit that previously passed, also doesn't pass... see https://app.circleci.com/pipelines/github/GrassrootsEconomics/SempoBlockchain/148/workflows/10a0e698-322b-4d14-ba9c-155405f284c4/jobs/444

The issue log being:

postgres_1              | 2020-05-04 15:14:45.515 UTC [102] ERROR:  "search_view" is not a materialized view
postgres_1              | 2020-05-04 15:14:45.515 UTC [102] HINT:  Use DROP TABLE to remove a table.
postgres_1              | 2020-05-04 15:14:45.515 UTC [102] STATEMENT:  DROP MATERIALIZED VIEW IF EXISTS search_view;
app_1                   | test/unit/app/utils/ussd/kenya/test_misc_state.py::test_kenya_state_machine[session_factory11-user_factory11-2-choose_language] FAILED

We really need to be able to run these tests locally, to be able to iterate quickly.