OCL API 2

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
23 minutes
Labels
None
Revisions
OCL API 2
b2e4c61d0e76bfe09eb970825d89e367ebdb48a8 b2e4c61d0e76bfe09eb970825d89e367ebdb48a8
OCL CI
6544e7ed40ead274ba8b0995efe09bb9edfd8319 6544e7ed40ead274ba8b0995efe09bb9edfd8319
Failing since
#2135 (Changes by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>)
Fixed in
#2139 (Manual run from the stage: Release by Sunny Aggarwal.)
No failed test found. A possible compilation error occurred.

Responsible

This build has been failing since #2135
No one has taken responsibility

Code commits

OCL API 2
Author Commit Message Commit date
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b2e4c61d0e76bfe09eb970825d89e367ebdb48a8 b2e4c61d0e76bfe09eb970825d89e367ebdb48a8 Bump django from 4.2.11 to 4.2.16 (#736)
Bumps [django](https://github.com/django/django) from 4.2.11 to 4.2.16.
- [Commits](https://github.com/django/django/compare/4.2.11...4.2.16)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Error summary for Run tests

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

    self.assertEqual(response.status_code, 201)
AssertionError: 400 != 201

======================================================================
FAIL: test_post_201_with_autoexpand_head_false (core.integration_tests.tests_collections.CollectionListViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_collections.py", line 264, in test_post_201_with_autoexpand_head_false
    self.assertEqual(response.status_code, 201)
AssertionError: 400 != 201

======================================================================
FAIL: test_post_400 (core.integration_tests.tests_collections.CollectionListViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_collections.py", line 316, in test_post_400
    self.assertEqual(response.data, {'name': [ErrorDetail(string='This field is required.', code='required')]})
AssertionError: {'nam[63 chars]ed')], 'user': [ErrorDetail(string='This field[29 chars]d')]} != {'nam[63 chars]ed')]}

======================================================================
FAIL: test_post_201 (core.integration_tests.tests_collections.CollectionVersionListViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_collections.py", line 1984, in test_post_201
    self.assertEqual(response.status_code, 201)
AssertionError: 400 != 201

======================================================================
FAIL: test_post_201_autoexpand_false (core.integration_tests.tests_collections.CollectionVersionListViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_collections.py", line 2012, in test_post_201_autoexpand_false
    self.assertEqual(response.status_code, 201)
AssertionError: 400 != 201

======================================================================
FAIL: test_post_201 (core.integration_tests.tests_sources.SourceListViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_sources.py", line 138, in test_post_201
    self.assertEqual(response.status_code, 201)
AssertionError: 400 != 201

======================================================================
FAIL: test_post_400 (core.integration_tests.tests_sources.SourceListViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_sources.py", line 183, in test_post_400
    self.assertEqual(list(response.data.keys()), ['name'])
AssertionError: Lists differ: ['name', 'user'] != ['name']

First list contains 1 additional elements.
First extra element 1:
'user'

- ['name', 'user']
+ ['name']

======================================================================
FAIL: test_post_201 (core.integration_tests.tests_sources.SourceVersionListViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/mock/mock.py", line 1452, in patched
    return func(*newargs, **newkeywargs)
  File "/code/core/integration_tests/tests_sources.py", line 426, in test_post_201
    self.assertEqual(response.status_code, 201)
AssertionError: 400 != 201

======================================================================
FAIL: test_post_400 (core.integration_tests.tests_sources.SourceVersionListViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/mock/mock.py", line 1452, in patched
    return func(*newargs, **newkeywargs)
  File "/code/core/integration_tests/tests_sources.py", line 460, in test_post_400
    self.assertEqual(response.data, {'version': [ErrorDetail(string='This field may not be null.', code='null')]})
AssertionError: {'ver[66 chars]ll')], 'organization': [ErrorDetail(string='Th[111 chars]d')]} != {'ver[66 chars]ll')]}

======================================================================
FAIL: test_post_409 (core.integration_tests.tests_sources.SourceVersionListViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_sources.py", line 444, in test_post_409
    self.assertEqual(response.status_code, 409)
AssertionError: 400 != 409

======================================================================
FAIL: test_post_global_registry (core.integration_tests.tests_url_registries.URLRegistriesViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/code/core/integration_tests/tests_url_registries.py", line 43, in test_post_global_registry
    self.assertEqual(
AssertionError: {'url': [ErrorDetail(string='url registry w[42 chars]e')]} != {'non_fields_error': [ErrorDetail(string='T[40 chars]d')]}

----------------------------------------------------------------------
Ran 896 tests in 1141.143s

FAILED (failures=12)
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
Removing volume ocl-oclapi2-rt_upload-data