Build: #109 failed

Job: Run unit tests failed

Stages & jobs

  1. Build

  2. Verify

  3. Deploy QA

Job result summary

Completed
Duration
58 seconds
Agent
yokobue.openmrs.org
Revision
b743de0f78520c087f9d69a3e22d6c8d4612d819 b743de0f78520c087f9d69a3e22d6c8d4612d819
Fixed in
#110 (Manual run by Rafal Korytkowski)
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

                JOIN information_schema.table_constraints AS c ON
                    kc.table_schema = c.table_schema AND
                    kc.table_name = c.table_name AND
                    kc.constraint_name = c.constraint_name
                WHERE
                    kc.table_schema = %s AND
                    kc.table_name = %s
            " with params "['public', 'socialaccount_socialtoken']"
DEBUG 2019/04/17 04:23:35 [generic generic.py:279 execute()] execute "
                SELECT kc.constraint_name, kc.column_name, c.constraint_type
                FROM information_schema.key_column_usage AS kc
                JOIN information_schema.table_constraints AS c ON
                    kc.table_schema = c.table_schema AND
                    kc.table_name = c.table_name AND
                    kc.constraint_name = c.constraint_name
                WHERE
                    kc.table_schema = %s AND
                    kc.table_name = %s
            " with params "['public', 'socialaccount_socialtoken']"
DEBUG 2019/04/17 04:23:35 [generic generic.py:279 execute()] execute "
                SELECT kc.constraint_name, kc.column_name, c.constraint_type
                FROM information_schema.constraint_column_usage AS kc
                JOIN information_schema.table_constraints AS c ON
                    kc.table_schema = c.table_schema AND
                    kc.table_name = c.table_name AND
                    kc.constraint_name = c.constraint_name
                WHERE
                    kc.table_schema = %s AND
                    kc.table_name = %s
            " with params "['public', 'socialaccount_socialtoken']"
DEBUG 2019/04/17 04:23:35 [generic generic.py:279 execute()] execute "
                SELECT kc.constraint_name, kc.column_name, c.constraint_type
                FROM information_schema.key_column_usage AS kc
                JOIN information_schema.table_constraints AS c ON
                    kc.table_schema = c.table_schema AND
                    kc.table_name = c.table_name AND
                    kc.constraint_name = c.constraint_name
                WHERE
                    kc.table_schema = %s AND
                    kc.table_name = %s
            " with params "['public', 'socialaccount_socialtoken']"
DEBUG 2019/04/17 04:23:35 [generic generic.py:279 execute()] execute "ALTER TABLE "socialaccount_socialtoken" ALTER COLUMN "token" TYPE varchar(255), ALTER COLUMN "token" SET NOT NULL, ALTER COLUMN "token" DROP DEFAULT;" with params "[]"
DEBUG 2019/04/17 04:23:35 [generic generic.py:279 execute()] execute "
                SELECT kc.constraint_name, kc.column_name, c.constraint_type
                FROM information_schema.constraint_column_usage AS kc
                JOIN information_schema.table_constraints AS c ON
                    kc.table_schema = c.table_schema AND
                    kc.table_name = c.table_name AND
                    kc.constraint_name = c.constraint_name
                WHERE
                    kc.table_schema = %s AND
                    kc.table_name = %s
            " with params "['public', 'socialaccount_socialtoken']"
DEBUG 2019/04/17 04:23:35 [generic generic.py:279 execute()] execute "
                SELECT kc.constraint_name, kc.column_name, c.constraint_type
                FROM information_schema.key_column_usage AS kc
                JOIN information_schema.table_constraints AS c ON
                    kc.table_schema = c.table_schema AND
                    kc.table_name = c.table_name AND
                    kc.constraint_name = c.constraint_name
                WHERE
                    kc.table_schema = %s AND
                    kc.table_name = %s
            " with params "['public', 'socialaccount_socialtoken']"
DEBUG 2019/04/17 04:23:35 [generic generic.py:279 execute()] execute "
                SELECT kc.constraint_name, kc.column_name, c.constraint_type
                FROM information_schema.constraint_column_usage AS kc
                JOIN information_schema.table_constraints AS c ON
                    kc.table_schema = c.table_schema AND
                    kc.table_name = c.table_name AND
                    kc.constraint_name = c.constraint_name
                WHERE
                    kc.table_schema = %s AND
                    kc.table_name = %s
            " with params "['public', 'socialaccount_socialtoken']"
DEBUG 2019/04/17 04:23:35 [generic generic.py:279 execute()] execute "
                SELECT kc.constraint_name, kc.column_name, c.constraint_type
                FROM information_schema.key_column_usage AS kc
                JOIN information_schema.table_constraints AS c ON
                    kc.table_schema = c.table_schema AND
                    kc.table_name = c.table_name AND
                    kc.constraint_name = c.constraint_name
                WHERE
                    kc.table_schema = %s AND
                    kc.table_name = %s
            " with params "['public', 'socialaccount_socialtoken']"
DEBUG 2019/04/17 04:23:35 [generic generic.py:279 execute()] execute "ALTER TABLE "socialaccount_socialtoken" ALTER COLUMN "token" TYPE text, ALTER COLUMN "token" SET NOT NULL, ALTER COLUMN "token" DROP DEFAULT;" with params "[]"
sssss.................................................................................................................................................F..
======================================================================
FAIL: test_add_wildcard_without_exact_match (ocl_web.apps.core.tests.SearchStringFormatterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/ocl_web/apps/core/tests.py", line 21, in test_add_wildcard_without_exact_match
    self.assertEquals(request.GET['q'], '*string*')
AssertionError: u'string*' != '*string*'

----------------------------------------------------------------------
Ran 153 tests in 0.489s

FAILED (failures=1, skipped=5)
+ export OCLWEB_IMAGE_ID=openconceptlab/oclweb@sha256:719838a819c2bd2eaf1aacae9210978e8b423dbcebacde73d144ad0dbab54993
+ OCLWEB_IMAGE_ID=openconceptlab/oclweb@sha256:719838a819c2bd2eaf1aacae9210978e8b423dbcebacde73d144ad0dbab54993
+ docker-compose -f docker-compose.yml -f docker-compose.ci.yml down -v
Stopping ocl-ow-rut_db_web_1 ...

Stopping ocl-ow-rut_db_web_1 ... done
Removing ocl-ow-rut_db_web_1 ...

Removing ocl-ow-rut_db_web_1 ... done
Removing network ocl-ow-rut_default
Removing volume ocl-ow-rut_db_web_data