Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept the empty string as a falsy value for build_number in list_releases #1531

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Accept the empty string as a falsy value for build_number in list_rel…

6a382bb
Select commit
Loading
Failed to load commit list.
Open

Accept the empty string as a falsy value for build_number in list_releases #1531

Accept the empty string as a falsy value for build_number in list_rel…
6a382bb
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / tests-api-python-39 failed Jul 23, 2024 in 3m 44s

FirefoxCI (pull_request)

api-python tox-py39

Details

View task in Taskcluster
View logs in Taskcluster


[task 2024-07-23T02:40:24.539Z]                     'operationId': 'shipit_api.public.api.get_disabled_products',
[task 2024-07-23T02:40:24.539Z]                     'responses': {
[task 2024-07-23T02:40:24.539Z]                         '200': {
[task 2024-07-23T02:40:24.539Z]                             'content': {
[task 2024-07-23T02:40:24.539Z]                                 'application/json': {
[task 2024-07-23T02:40:24.539Z]                                     'schema': {
[task 2024-07-23T02:40:24.539Z]                                         'type': 'object',
[task 2024-07-23T02:40:24.539Z]                                     },
[task 2024-07-23T02:40:24.539Z]                                 },
[task 2024-07-23T02:40:24.539Z]                             },
[task 2024-07-23T02:40:24.540Z]                             'description': 'Disabled product/branches',
[task 2024-07-23T02:40:24.540Z]                         },
[task 2024-07-23T02:40:24.540Z]                     },
[task 2024-07-23T02:40:24.540Z]                     'summary': 'Get the list of product/branches which are currently '
[task 2024-07-23T02:40:24.540Z]                     'disabled. Disabled products/branches will not have automated '
[task 2024-07-23T02:40:24.540Z]                     'releases created',
[task 2024-07-23T02:40:24.540Z]                 },
[task 2024-07-23T02:40:24.540Z]             },
[task 2024-07-23T02:40:24.540Z]             '/releases': {
[task 2024-07-23T02:40:24.540Z]                 'get': {
[task 2024-07-23T02:40:24.540Z]                     'operationId': 'shipit_api.public.api.list_releases',
[task 2024-07-23T02:40:24.540Z]                     'parameters': [
[task 2024-07-23T02:40:24.540Z]                         {
[task 2024-07-23T02:40:24.540Z]                             'in': 'query',
[task 2024-07-23T02:40:24.540Z]                             'name': 'product',
[task 2024-07-23T02:40:24.540Z]                             'schema': {
[task 2024-07-23T02:40:24.540Z]                                 'type': 'string',
[task 2024-07-23T02:40:24.540Z]                             },
[task 2024-07-23T02:40:24.540Z]                         },
[task 2024-07-23T02:40:24.540Z]                         {
[task 2024-07-23T02:40:24.540Z]                             'in': 'query',
[task 2024-07-23T02:40:24.540Z]                             'name': 'branch',
[task 2024-07-23T02:40:24.540Z]                             'schema': {
[task 2024-07-23T02:40:24.540Z]                                 'type': 'string',
[task 2024-07-23T02:40:24.540Z]                             },
[task 2024-07-23T02:40:24.540Z]                         },
[task 2024-07-23T02:40:24.540Z]                         {
[task 2024-07-23T02:40:24.540Z]                             'in': 'query',
[task 2024-07-23T02:40:24.540Z]                             'name': 'version',
[task 2024-07-23T02:40:24.540Z]                             'schema': {
[task 2024-07-23T02:40:24.540Z]                                 'type': 'string',
[task 2024-07-23T02:40:24.540Z]                             },
[task 2024-07-23T02:40:24.540Z]                         },
[task 2024-07-23T02:40:24.540Z]                         {
[task 2024-07-23T02:40:24.540Z]                             'in': 'query',
[task 2024-07-23T02:40:24.540Z]                             'name': 'build_number',
[task 2024-07-23T02:40:24.540Z]                             'schema': {
[task 2024-07-23T02:40:24.540Z]   -                             'type': 'string',
[task 2024-07-23T02:40:24.540Z]   ?                                      ---
[task 2024-07-23T02:40:24.540Z]   +                             'type': 'integer',
[task 2024-07-23T02:40:24.540Z]   ?                                        ++ ++
[task 2024-07-23T02:40:24.540Z]                             },
[task 2024-07-23T02:40:24.540Z]                         },
[task 2024-07-23T02:40:24.540Z]                         {
[task 2024-07-23T02:40:24.540Z]                             'description': 'Defaults to listing only "scheduled" releases. '
[task 2024-07-23T02:40:24.540Z]                             'Currently supported values are "scheduled", '
[task 2024-07-23T02:40:24.540Z]                             '"shipped", and "aborted".\n',
[task 2024-07-23T02:40:24.540Z]                             'explode': False,
[task 2024-07-23T02:40:24.540Z]                             'in': 'query',
[task 2024-07-23T02:40:24.540Z]                             'name': 'status',
[task 2024-07-23T02:40:24.540Z]                             'schema': {
[task 2024-07-23T02:40:24.540Z]                                 'items': {
[task 2024-07-23T02:40:24.540Z]                                     'type': 'string',
[task 2024-07-23T02:40:24.540Z]                                 },
[task 2024-07-23T02:40:24.540Z]                                 'type': 'array',
[task 2024-07-23T02:40:24.540Z]                             },
[task 2024-07-23T02:40:24.540Z]                             'style': 'form',
[task 2024-07-23T02:40:24.540Z]                         },
[task 2024-07-23T02:40:24.540Z]                     ],
[task 2024-07-23T02:40:24.540Z]                     'responses': {
[task 2024-07-23T02:40:24.540Z]                         '200': {
[task 2024-07-23T02:40:24.540Z]                             'content': {
[task 2024-07-23T02:40:24.540Z]                                 'application/json': {
[task 2024-07-23T02:40:24.540Z]                                     'schema': {
[task 2024-07-23T02:40:24.540Z]                                         'items': {
[task 2024-07-23T02:40:24.540Z]                                             '$ref': '#/components/schemas/Release',
[task 2024-07-23T02:40:24.540Z]                                         },
[task 2024-07-23T02:40:24.540Z]                                         'type': 'array',
[task 2024-07-23T02:40:24.540Z]                                     },
[task 2024-07-23T02:40:24.540Z]                                 },
[task 2024-07-23T02:40:24.540Z]                             },
[task 2024-07-23T02:40:24.540Z]                             'description': 'A list of releases',
[task 2024-07-23T02:40:24.540Z]                         },
[task 2024-07-23T02:40:24.540Z]                     },
[task 2024-07-23T02:40:24.540Z]                     'summary': 'List releases',
[task 2024-07-23T02:40:24.540Z]                 },
[task 2024-07-23T02:40:24.540Z]             },
[task 2024-07-23T02:40:24.540Z]             '/releases/{name}': {
[task 2024-07-23T02:40:24.540Z]                 'get': {
[task 2024-07-23T02:40:24.540Z]                     'operationId': 'shipit_api.public.api.get_release',
[task 2024-07-23T02:40:24.540Z]                     'parameters': [
[task 2024-07-23T02:40:24.540Z]                         {
[task 2024-07-23T02:40:24.540Z]                             'description': 'release name',
[task 2024-07-23T02:40:24.540Z]                             'in': 'path',
[task 2024-07-23T02:40:24.540Z]                             'name': 'name',
[task 2024-07-23T02:40:24.540Z]                             'required': True,
[task 2024-07-23T02:40:24.540Z]                             'schema': {
[task 2024-07-23T02:40:24.540Z]                                 'type': 'string',
[task 2024-07-23T02:40:24.540Z]                             },
[task 2024-07-23T02:40:24.541Z]                         },
[task 2024-07-23T02:40:24.541Z]                     ],
[task 2024-07-23T02:40:24.541Z]                     'responses': {
[task 2024-07-23T02:40:24.541Z]                         '200': {
[task 2024-07-23T02:40:24.541Z]                             'content': {
[task 2024-07-23T02:40:24.541Z]                                 'application/json': {
[task 2024-07-23T02:40:24.541Z]                                     'schema': {
[task 2024-07-23T02:40:24.541Z]                                         'anyOf': [
[task 2024-07-23T02:40:24.541Z]                                             {
[task 2024-07-23T02:40:24.541Z]                                                 '$ref': '#/components/schemas/Release',
[task 2024-07-23T02:40:24.541Z]                                             },
[task 2024-07-23T02:40:24.541Z]                                             {
[task 2024-07-23T02:40:24.541Z]                                                 '$ref': '#/components/schemas/XPIRelease',
[task 2024-07-23T02:40:24.541Z]                                             },
[task 2024-07-23T02:40:24.541Z]                                         ],
[task 2024-07-23T02:40:24.541Z]                                     },
[task 2024-07-23T02:40:24.541Z]                                 },
[task 2024-07-23T02:40:24.541Z]                             },
[task 2024-07-23T02:40:24.541Z]                             'description': 'Returns release representation',
[task 2024-07-23T02:40:24.541Z]                         },
[task 2024-07-23T02:40:24.541Z]                     },
[task 2024-07-23T02:40:24.541Z]                     'summary': 'Release info',
[task 2024-07-23T02:40:24.541Z]                 },
[task 2024-07-23T02:40:24.541Z]             },
[task 2024-07-23T02:40:24.541Z]             '/releases/{name}/{phase}': {
[task 2024-07-23T02:40:24.541Z]                 'get': {
[task 2024-07-23T02:40:24.541Z]                     'operationId': 'shipit_api.public.api.get_phase',
[task 2024-07-23T02:40:24.541Z]                     'parameters': [
[task 2024-07-23T02:40:24.541Z]                         {
[task 2024-07-23T02:40:24.541Z]                             'description': 'release name',
[task 2024-07-23T02:40:24.541Z]                             'in': 'path',
[task 2024-07-23T02:40:24.541Z]                             'name': 'name',
[task 2024-07-23T02:40:24.541Z]                             'required': True,
[task 2024-07-23T02:40:24.541Z]                             'schema': {
[task 2024-07-23T02:40:24.541Z]                                 'type': 'string',
[task 2024-07-23T02:40:24.541Z]                             },
[task 2024-07-23T02:40:24.541Z]                         },
[task 2024-07-23T02:40:24.541Z]                         {
[task 2024-07-23T02:40:24.541Z]                             'in': 'path',
[task 2024-07-23T02:40:24.541Z]                             'name': 'phase',
[task 2024-07-23T02:40:24.541Z]                             'required': True,
[task 2024-07-23T02:40:24.541Z]                             'schema': {
[task 2024-07-23T02:40:24.541Z]                                 'type': 'string',
[task 2024-07-23T02:40:24.541Z]                             },
[task 2024-07-23T02:40:24.541Z]                         },
[task 2024-07-23T02:40:24.541Z]                     ],
[task 2024-07-23T02:40:24.541Z]                     'responses': {
[task 2024-07-23T02:40:24.541Z]                         '200': {
[task 2024-07-23T02:40:24.541Z]                             'content': {
[task 2024-07-23T02:40:24.541Z]                                 'application/json': {
[task 2024-07-23T02:40:24.541Z]                                     'schema': {
[task 2024-07-23T02:40:24.541Z]                                         '$ref': '#/components/schemas/Phase',
[task 2024-07-23T02:40:24.541Z]                                     },
[task 2024-07-23T02:40:24.541Z]                                 },
[task 2024-07-23T02:40:24.541Z]                             },
[task 2024-07-23T02:40:24.541Z]                             'description': 'Retruns phase representation',
[task 2024-07-23T02:40:24.541Z]                         },
[task 2024-07-23T02:40:24.541Z]                     },
[task 2024-07-23T02:40:24.541Z]                     'summary': 'Release info',
[task 2024-07-23T02:40:24.541Z]                 },
[task 2024-07-23T02:40:24.541Z]             },
[task 2024-07-23T02:40:24.541Z]         },
[task 2024-07-23T02:40:24.541Z]         'servers': [
[task 2024-07-23T02:40:24.541Z]             {
[task 2024-07-23T02:40:24.541Z]                 'url': '/',
[task 2024-07-23T02:40:24.541Z]             },
[task 2024-07-23T02:40:24.541Z]         ],
[task 2024-07-23T02:40:24.541Z]     }
[task 2024-07-23T02:40:24.541Z] ================== 1 failed, 113 passed, 55 warnings in 4.64s ==================
[task 2024-07-23T02:40:24.541Z] py39: exit 1 (7.96 seconds) /builds/worker/checkouts/vcs/api> poetry run pytest -vv --cov-config=tox.ini --cov-append --cov=src --cov-report term-missing tests pid=720
[task 2024-07-23T02:40:29.397Z] All done! ✨ 🍰 ✨
[task 2024-07-23T02:40:29.397Z] 47 files would be left unchanged.
[task 2024-07-23T02:40:29.397Z] /builds/worker/checkouts/vcs/api/.tox/check/lib/python3.9/site-packages/isort/main.py:1276: UserWarning: W0501: The following deprecated CLI flags were used and ignored: --recursive!
[task 2024-07-23T02:40:29.397Z]   warn(
[task 2024-07-23T02:40:29.398Z] /builds/worker/checkouts/vcs/api/.tox/check/lib/python3.9/site-packages/isort/main.py:1280: UserWarning: W0500: Please see the 5.0.0 Upgrade guide: https://pycqa.github.io/isort/docs/upgrade_guides/5.0.0.html
[task 2024-07-23T02:40:29.398Z]   warn(
[task 2024-07-23T02:40:29.398Z] report: commands[0]> poetry install --only test
[task 2024-07-23T02:40:29.398Z] Installing dependencies from lock file
[task 2024-07-23T02:40:29.398Z] 
[task 2024-07-23T02:40:29.398Z] Package operations: 54 installs, 1 update, 0 removals
[task 2024-07-23T02:40:29.398Z] 
[task 2024-07-23T02:40:29.398Z]   • Installing attrs (23.2.0)
[task 2024-07-23T02:40:29.398Z]   • Installing rpds-py (0.18.0)
[task 2024-07-23T02:40:29.398Z]   • Installing referencing (0.31.1)
[task 2024-07-23T02:40:29.398Z]   • Installing certifi (2024.7.4)
[task 2024-07-23T02:40:29.398Z]   • Installing charset-normalizer (3.3.2)
[task 2024-07-23T02:40:29.398Z]   • Installing frozenlist (1.4.1)
[task 2024-07-23T02:40:29.398Z]   • Installing idna (3.7)
[task 2024-07-23T02:40:29.398Z]   • Installing jsonschema-specifications (2023.12.1)
[task 2024-07-23T02:40:29.398Z]   • Installing multidict (6.0.5)
[task 2024-07-23T02:40:29.398Z]   • Installing six (1.16.0)
[task 2024-07-23T02:40:29.398Z]   • Installing tomli (2.0.1)
[task 2024-07-23T02:40:29.398Z]   • Installing urllib3 (2.2.2)
[task 2024-07-23T02:40:29.398Z]   • Installing zipp (3.19.1)
[task 2024-07-23T02:40:29.398Z]   • Installing aiosignal (1.3.1)
[task 2024-07-23T02:40:29.398Z]   • Installing async-timeout (4.0.3)
[task 2024-07-23T02:40:29.398Z]   • Installing exceptiongroup (1.2.1)
[task 2024-07-23T02:40:29.398Z]   • Installing importlib-metadata (7.1.0)
[task 2024-07-23T02:40:29.398Z]   • Installing jsonschema (4.21.1)
[task 2024-07-23T02:40:29.398Z]   • Installing packaging (24.1)
[task 2024-07-23T02:40:29.398Z]   • Installing iniconfig (2.0.0)
[task 2024-07-23T02:40:29.398Z]   • Installing pathable (0.4.3)
[task 2024-07-23T02:40:29.398Z]   • Installing pluggy (1.5.0)
[task 2024-07-23T02:40:29.398Z]   • Installing pyproject-hooks (1.0.0)
[task 2024-07-23T02:40:29.398Z]   • Installing pyyaml (6.0.1)
[task 2024-07-23T02:40:29.398Z]   • Installing requests (2.32.3)
[task 2024-07-23T02:40:29.398Z]   • Installing rfc3339-validator (0.1.4)
[task 2024-07-23T02:40:29.398Z]   • Installing yarl (1.9.4)
[task 2024-07-23T02:40:29.398Z]   • Installing aiohttp (3.9.5)
[task 2024-07-23T02:40:29.398Z]   • Installing build (1.2.1)
[task 2024-07-23T02:40:29.398Z]   • Installing click (8.1.7)
[task 2024-07-23T02:40:29.398Z]   • Installing jsonschema-path (0.3.2)
[task 2024-07-23T02:40:29.398Z]   • Installing lazy-object-proxy (1.10.0)
[task 2024-07-23T02:40:29.398Z]   • Installing mccabe (0.7.0)
[task 2024-07-23T02:40:29.398Z]   • Installing mypy-extensions (1.0.0)
[task 2024-07-23T02:40:29.398Z]   • Installing coverage (7.6.0)
[task 2024-07-23T02:40:29.398Z]   • Installing openapi-schema-validator (0.6.2)
[task 2024-07-23T02:40:29.398Z]   • Installing pathspec (0.12.1)
[task 2024-07-23T02:40:29.398Z]   • Installing platformdirs (4.2.2)
[task 2024-07-23T02:40:29.398Z]   • Installing pycodestyle (2.12.0)
[task 2024-07-23T02:40:29.398Z]   • Installing pyflakes (3.2.0)
[task 2024-07-23T02:40:29.398Z]   • Installing pytest (8.2.2)
[task 2024-07-23T02:40:29.398Z]   • Downgrading setuptools (70.1.0 -> 70.0.0)
[task 2024-07-23T02:40:29.398Z]   • Installing typing-extensions (4.11.0)
[task 2024-07-23T02:40:29.398Z]   • Installing aioresponses (0.7.6)
[task 2024-07-23T02:40:29.398Z]   • Installing black (24.4.2)
[task 2024-07-23T02:40:29.398Z]   • Installing check-manifest (0.49)
[task 2024-07-23T02:40:29.398Z]   • Installing flake8 (7.1.0)
[task 2024-07-23T02:40:29.398Z]   • Installing isort (5.13.2)
[task 2024-07-23T02:40:29.398Z]   • Installing openapi-spec-validator (0.7.1)
[task 2024-07-23T02:40:29.398Z]   • Installing dpath (2.2.0)
[task 2024-07-23T02:40:29.398Z]   • Installing oyaml (1.0)
[task 2024-07-23T02:40:29.398Z]   • Installing pytest-asyncio (0.23.8)
[task 2024-07-23T02:40:29.398Z]   • Installing pytest-cov (5.0.0)
[task 2024-07-23T02:40:29.398Z]   • Installing pytest-mock (3.14.0)
[task 2024-07-23T02:40:29.398Z]   • Installing responses (0.25.3)
[task 2024-07-23T02:40:29.398Z] 
[task 2024-07-23T02:40:29.398Z] Installing the current project: shipit-api (1.0.0)
[task 2024-07-23T02:40:29.398Z] report: commands[1]> poetry run coverage xml '--omit=*test*' -o /builds/worker/artifacts/coverage.xml
[task 2024-07-23T02:40:29.398Z] Wrote XML report to /builds/worker/artifacts/coverage.xml
[task 2024-07-23T02:40:29.398Z] clean: OK ✔ in 5.56 seconds
[task 2024-07-23T02:40:29.398Z] check: OK ✔ in 8.84 seconds
[task 2024-07-23T02:40:29.398Z] py39: FAIL ✖ in 23 seconds
[task 2024-07-23T02:40:29.398Z]   clean: OK (5.56=setup[0.42]+cmd[4.29,0.85] seconds)
[task 2024-07-23T02:40:29.398Z]   check: OK (8.84=setup[0.40]+cmd[3.84,1.72,1.20,1.68] seconds)
[task 2024-07-23T02:40:29.398Z]   py39: FAIL code 1 (23.00=setup[0.40]+cmd[14.65,7.96] seconds)
[task 2024-07-23T02:40:29.398Z]   report: OK (4.86=setup[0.14]+cmd[3.36,1.37] seconds)
[task 2024-07-23T02:40:29.398Z]   evaluation failed :( (33.76 seconds)
[taskcluster 2024-07-23 02:40:30.624Z] === Task Finished ===
[taskcluster 2024-07-23 02:40:30.836Z] Unsuccessful task run with exit code: 255 completed in 70.547 seconds