OCL API 2

Build: #1421 failed

Job: Run tests failed

Stages & jobs

  1. Build

  2. Test

  3. Deploy for testing

    Requires a user to start manually
  4. Release

    Requires a user to start manually

Job result summary

Completed
Duration
4 minutes
Revision
51add12e90f839af0d8f399488d84128acd3e1d9 51add12e90f839af0d8f399488d84128acd3e1d9
Fixed in
#1422 (Manual run from the stage: Deploy for testing by Sunny Aggarwal.)
No failed test found. A possible compilation error occurred.

Error summary

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

    test_get_404 ... ok
core.users.tests.tests.TasksTest
    test_send_user_reset_password_email ... ok
    test_send_user_verification_email ... ok
core.users.tests.tests.TokenAuthenticationViewTest
    test_login ... ok
core.users.tests.tests.UserLogoViewTest
    test_post_200 ... ok
core.users.tests.tests.UserProfileTest
    test_auth_groups ... ok
    test_create_userprofile_positive ... ok
    test_deactivate ... /usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField UserProfile.deactivated_at received a naive datetime (2022-11-22 14:53:32.693511) while time zone support is active.
  warnings.warn(
ok
    test_delete ... /usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField UserProfile.deactivated_at received a naive datetime (2022-11-22 14:53:32.704998) while time zone support is active.
  warnings.warn(
ok
    test_email_verification_url ... ok
    test_full_name ... ok
    test_get_search_document ... ok
    test_get_token ... ok
    test_is_valid_auth_group ... ok
    test_mark_verified ... ok
    test_mnemonic ... ok
    test_name ... ok
    test_public_sources ... ok
    test_reset_password_url ... ok
    test_resource_type ... ok
    test_send_reset_password_email ... ok
    test_send_verification_email ... ok
    test_set_token ... ok
    test_status ... ok
    test_update_password ... ok
    test_user ... ok
    test_user_active_inactive_should_affect_children ... ok
    test_verify ... /usr/local/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1564: RuntimeWarning: DateTimeField UserProfile.deactivated_at received a naive datetime (2022-11-22 14:53:33.666499) while time zone support is active.
  warnings.warn(
ok
core.value_sets.tests.ValueSetTest
    test_can_create_empty ... ok
    test_can_create_with_compose ... ok
    test_can_update_empty ... ok
    test_create_with_filter_and_concept ... ok
    test_create_with_filter_and_system ... ok
    test_expand ... ok
    test_public_can_find_globally ... ok
    test_public_can_find_globally_without_compose ... ok
    test_public_can_view ... ok
    test_update_with_compose ... ok
    test_validate_code ... ok
    test_validate_code_globally ... ok
    test_validate_code_globally_negative ... ok
    test_validate_code_negative ... ok

======================================================================
FAIL: test_lookup_for_code_system (core.code_systems.tests.CodeSystemTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/code_systems/tests.py", line 164, in test_lookup_for_code_system
    self.assertEqual(response.status_code, 200)
AssertionError: 301 != 200

======================================================================
FAIL: test_validate_code_for_code_system (core.code_systems.tests.CodeSystemTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/code_systems/tests.py", line 121, in test_validate_code_for_code_system
    self.assertEqual(response.status_code, 200)
AssertionError: 301 != 200

======================================================================
FAIL: test_validate_code_for_code_system_negative (core.code_systems.tests.CodeSystemTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/code_systems/tests.py", line 129, in test_validate_code_for_code_system_negative
    self.assertEqual(response.status_code, 200)
AssertionError: 301 != 200

======================================================================
FAIL: test_validate_code_with_display_for_code_system (core.code_systems.tests.CodeSystemTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/code_systems/tests.py", line 142, in test_validate_code_with_display_for_code_system
    self.assertEqual(response.status_code, 200)
AssertionError: 301 != 200

======================================================================
FAIL: test_validate_code_with_display_for_code_system_negative (core.code_systems.tests.CodeSystemTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/code_systems/tests.py", line 152, in test_validate_code_with_display_for_code_system_negative
    self.assertEqual(response.status_code, 200)
AssertionError: 301 != 200

----------------------------------------------------------------------
Ran 701 tests in 156.491s

FAILED (failures=5, skipped=3)
Preserving test database for alias 'default' ('test_postgres')...
1
Stopping ocl-oclapi2-rt_db_1 ...
Stopping ocl-oclapi2-rt_es_1 ...
Stopping ocl-oclapi2-rt_db_1 ... done
Stopping ocl-oclapi2-rt_es_1 ... done
Removing ocl-oclapi2-rt_db_1 ...
Removing ocl-oclapi2-rt_es_1 ...
Removing ocl-oclapi2-rt_es_1 ... done
Removing ocl-oclapi2-rt_db_1 ... done
Removing network ocl-oclapi2-rt_default
Removing volume ocl-oclapi2-rt_postgres-data
Removing volume ocl-oclapi2-rt_es-data