OCL API 2
Build: #1413 failed
Job: Run tests failed
Job result summary
- Completed
- Duration
- 3 minutes
- Revision
-
9a6588a61dbf5164aa8217b092103d5c761b6776
9a6588a61dbf5164aa8217b092103d5c761b6776 - Fixed in
- #1414 (Code changes detected)
Error summary
The build generated some errors. See the full build log for more details.
test_persist_new_version ... ok
test_public_can_edit ... ok
test_public_can_view ... ok
test_released_versions ... ok
test_resolve_reference_expression_existing ... ok
test_resolve_reference_expression_non_existing ... ok
test_resource_type ... ok
test_resource_version_type ... ok
test_source ... ok
test_source_active_inactive_should_affect_children ... ok
test_source_version_create_negative__same_version ... ok
test_source_version_create_positive ... ok
test_source_version_create_positive__same_version ... ok
test_source_version_delete ... ok
core.sources.tests.tests.TasksTest
test_index_source_concepts ... ok
test_index_source_mappings ... ok
test_seed_children_task ... ok
test_seed_children_task_with_export ... ok
test_update_source_active_concepts_count ... ok
test_update_source_active_mappings_count ... ok
test_update_validation_schema_failure ... ok
test_update_validation_schema_success ... ok
core.tasks.tests.TaskViewTest
test_get_200 ... ok
test_get_400 ... ok
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-08 13:15:31.434784) 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-08 13:15:31.447421) 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-08 13:15:32.427962) 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_monthly_usage_report (core.common.tests.TaskTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/unittest/mock.py"[39m, line [38;5;241m1370[39m, in patched
[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/common/tests.py"[39m, line [38;5;241m927[39m, in test_monthly_usage_report
[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: '[CI] Monthly usage report: 2022-10-01 to 2022-10-31' != '[DEVELOPMENT] Monthly usage report: 2022-10-01 to 2022-10-31'
- [CI] Monthly usage report: 2022-10-01 to 2022-10-31
? ^^
+ [DEVELOPMENT] Monthly usage report: 2022-10-01 to 2022-10-31
? ^^^^^^^^^^^
----------------------------------------------------------------------
Ran 700 tests in 165.021s
FAILED (failures=1, 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
test_public_can_edit ... ok
test_public_can_view ... ok
test_released_versions ... ok
test_resolve_reference_expression_existing ... ok
test_resolve_reference_expression_non_existing ... ok
test_resource_type ... ok
test_resource_version_type ... ok
test_source ... ok
test_source_active_inactive_should_affect_children ... ok
test_source_version_create_negative__same_version ... ok
test_source_version_create_positive ... ok
test_source_version_create_positive__same_version ... ok
test_source_version_delete ... ok
core.sources.tests.tests.TasksTest
test_index_source_concepts ... ok
test_index_source_mappings ... ok
test_seed_children_task ... ok
test_seed_children_task_with_export ... ok
test_update_source_active_concepts_count ... ok
test_update_source_active_mappings_count ... ok
test_update_validation_schema_failure ... ok
test_update_validation_schema_success ... ok
core.tasks.tests.TaskViewTest
test_get_200 ... ok
test_get_400 ... ok
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-08 13:15:31.434784) 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-08 13:15:31.447421) 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-08 13:15:32.427962) 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_monthly_usage_report (core.common.tests.TaskTest)
----------------------------------------------------------------------
[38;5;26mTraceback (most recent call last):[39m
File [38;5;28m"/usr/local/lib/python3.10/unittest/mock.py"[39m, line [38;5;241m1370[39m, in patched
[38;5;28;01mreturn[39;00m func([38;5;241m*[39mnewargs, [38;5;241m*[39m[38;5;241m*[39mnewkeywargs)
File [38;5;28m"/code/core/common/tests.py"[39m, line [38;5;241m927[39m, in test_monthly_usage_report
[38;5;28mself[39m[38;5;241m.[39massertEqual(
[38;5;160mAssertionError[39m: '[CI] Monthly usage report: 2022-10-01 to 2022-10-31' != '[DEVELOPMENT] Monthly usage report: 2022-10-01 to 2022-10-31'
- [CI] Monthly usage report: 2022-10-01 to 2022-10-31
? ^^
+ [DEVELOPMENT] Monthly usage report: 2022-10-01 to 2022-10-31
? ^^^^^^^^^^^
----------------------------------------------------------------------
Ran 700 tests in 165.021s
FAILED (failures=1, 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