OCL API 2

Build: #1830 failed Changes by Sunny Aggarwal.

Stages & jobs

  1. Build

  2. Test

  3. Deploy for testing

    Requires a user to start manually
  4. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
1 second
Duration
15 minutes
Labels
None
Revisions
OCL API 2
b484e4f8973f6d9a555f2c1f8c057f11ab25c3d4 b484e4f8973f6d9a555f2c1f8c057f11ab25c3d4
OCL CI
6544e7ed40ead274ba8b0995efe09bb9edfd8319 6544e7ed40ead274ba8b0995efe09bb9edfd8319
Fixed in
#1831 (Manual run from the stage: Release by Sunny Aggarwal.)
No failed test found. A possible compilation error occurred.

Responsible

Code commits

OCL API 2
Author Commit Message Commit date
Sunny Aggarwal. Sunny Aggarwal. b484e4f8973f6d9a555f2c1f8c057f11ab25c3d4 b484e4f8973f6d9a555f2c1f8c057f11ab25c3d4 Concepts/Mapping updated by dynamic string mapping for ES

Error summary for Run tests

The job generated some errors, drill down into the full build log for more details.

  File "/usr/local/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 291, in perform_request
    self._raise_error(response.status, raw_data)
  File "/usr/local/lib/python3.10/site-packages/elasticsearch/connection/base.py", line 328, in _raise_error
    raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
elasticsearch.exceptions.RequestError: RequestError(400, 'mapper_parsing_exception', 'unknown parameter [dynamic] on mapper [updated_by] of type [keyword]')

======================================================================
ERROR: test_get_200_verbose (core.integration_tests.tests_sources.SourceSummaryViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_sources.py", line 1183, in setUp
    self.index()
  File "/code/core/integration_tests/tests_sources.py", line 1164, in index
    rebuild_indexes(['concepts', 'mappings'])
  File "/usr/local/lib/python3.10/site-packages/celery/local.py", line 182, in __call__
    return self._get_current_object()(*a, **kw)
  File "/usr/local/lib/python3.10/site-packages/celery_once/tasks.py", line 75, in __call__
    return super(QueueOnce, self).__call__(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/celery/app/task.py", line 411, in __call__
    return self.run(*args, **kwargs)
  File "/code/core/common/tasks.py", line 224, in rebuild_indexes
    __run_search_index_command('--rebuild', app_names)
  File "/code/core/common/tasks.py", line 232, in __run_search_index_command
    call_command('search_index', f'{command}', '-f', '--models', *app_names, '--parallel')
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 194, in call_command
    return command.execute(*args, **defaults)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.10/site-packages/django_elasticsearch_dsl/management/commands/search_index.py", line 311, in handle
    self._rebuild(models, aliases, options)
  File "/usr/local/lib/python3.10/site-packages/django_elasticsearch_dsl/management/commands/search_index.py", line 276, in _rebuild
    self._create(models, aliases, options)
  File "/usr/local/lib/python3.10/site-packages/django_elasticsearch_dsl/management/commands/search_index.py", line 136, in _create
    index.create()
  File "/usr/local/lib/python3.10/site-packages/elasticsearch_dsl/index.py", line 287, in create
    return es.indices.create(index=self._name, **params)
  File "/usr/local/lib/python3.10/site-packages/elasticsearch/client/utils.py", line 347, in _wrapped
    return func(*args, params=params, headers=headers, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/elasticsearch/client/indices.py", line 145, in create
    return self.transport.perform_request(
  File "/usr/local/lib/python3.10/site-packages/elasticsearch/transport.py", line 466, in perform_request
    raise e
  File "/usr/local/lib/python3.10/site-packages/elasticsearch/transport.py", line 427, in perform_request
    status, headers_response, data = connection.perform_request(
  File "/usr/local/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 291, in perform_request
    self._raise_error(response.status, raw_data)
  File "/usr/local/lib/python3.10/site-packages/elasticsearch/connection/base.py", line 328, in _raise_error
    raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
elasticsearch.exceptions.RequestError: RequestError(400, 'mapper_parsing_exception', 'unknown parameter [dynamic] on mapper [updated_by] of type [keyword]')

======================================================================
ERROR: test_put_200 (core.integration_tests.tests_sources.SourceSummaryViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_sources.py", line 1183, in setUp
    self.index()
  File "/code/core/integration_tests/tests_sources.py", line 1164, in index
    rebuild_indexes(['concepts', 'mappings'])
  File "/usr/local/lib/python3.10/site-packages/celery/local.py", line 182, in __call__
    return self._get_current_object()(*a, **kw)
  File "/usr/local/lib/python3.10/site-packages/celery_once/tasks.py", line 75, in __call__
    return super(QueueOnce, self).__call__(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/celery/app/task.py", line 411, in __call__
    return self.run(*args, **kwargs)
  File "/code/core/common/tasks.py", line 224, in rebuild_indexes
    __run_search_index_command('--rebuild', app_names)
  File "/code/core/common/tasks.py", line 232, in __run_search_index_command
    call_command('search_index', f'{command}', '-f', '--models', *app_names, '--parallel')
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 194, in call_command
    return command.execute(*args, **defaults)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.10/site-packages/django_elasticsearch_dsl/management/commands/search_index.py", line 311, in handle
    self._rebuild(models, aliases, options)
  File "/usr/local/lib/python3.10/site-packages/django_elasticsearch_dsl/management/commands/search_index.py", line 276, in _rebuild
    self._create(models, aliases, options)
  File "/usr/local/lib/python3.10/site-packages/django_elasticsearch_dsl/management/commands/search_index.py", line 136, in _create
    index.create()
  File "/usr/local/lib/python3.10/site-packages/elasticsearch_dsl/index.py", line 287, in create
    return es.indices.create(index=self._name, **params)
  File "/usr/local/lib/python3.10/site-packages/elasticsearch/client/utils.py", line 347, in _wrapped
    return func(*args, params=params, headers=headers, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/elasticsearch/client/indices.py", line 145, in create
    return self.transport.perform_request(
  File "/usr/local/lib/python3.10/site-packages/elasticsearch/transport.py", line 466, in perform_request
    raise e
  File "/usr/local/lib/python3.10/site-packages/elasticsearch/transport.py", line 427, in perform_request
    status, headers_response, data = connection.perform_request(
  File "/usr/local/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 291, in perform_request
    self._raise_error(response.status, raw_data)
  File "/usr/local/lib/python3.10/site-packages/elasticsearch/connection/base.py", line 328, in _raise_error
    raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
elasticsearch.exceptions.RequestError: RequestError(400, 'mapper_parsing_exception', 'unknown parameter [dynamic] on mapper [updated_by] of type [keyword]')

----------------------------------------------------------------------
Ran 799 tests in 664.604s

FAILED (errors=4)
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
Removing volume ocl-oclapi2-rt_redis-data