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

build(deps): bump sqlparse from 0.5.2 to 0.5.3 in /backend #2579

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

build(deps): bump sqlparse from 0.5.2 to 0.5.3 in /backend

44db81f
Select commit
Loading
Failed to load commit list.
Open

build(deps): bump sqlparse from 0.5.2 to 0.5.3 in /backend #2579

build(deps): bump sqlparse from 0.5.2 to 0.5.3 in /backend
44db81f
Select commit
Loading
Failed to load commit list.
Community-TC Integration / Code Review Events checks: unit tests succeeded Dec 16, 2024 in 3m 20s

Community-TC (pull_request)

Check python code with pytest

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2024-12-16T14:48:02.934Z
Resolved: 2024-12-16T14:49:10.487Z
Task Execution Time: 1 minute, 7 seconds, 553 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2024-12-16T14:48:02.994Z] Worker Type (proj-relman/generic-worker-ubuntu-24-04) settings:
[taskcluster 2024-12-16T14:48:02.994Z]   {
[taskcluster 2024-12-16T14:48:02.994Z]     "config": {
[taskcluster 2024-12-16T14:48:02.994Z]       "deploymentId": "601b89ce4ec2e922"
[taskcluster 2024-12-16T14:48:02.994Z]     },
[taskcluster 2024-12-16T14:48:02.994Z]     "generic-worker": {
[taskcluster 2024-12-16T14:48:02.994Z]       "config": {
[taskcluster 2024-12-16T14:48:02.994Z]         "headlessTasks": false,
[taskcluster 2024-12-16T14:48:02.994Z]         "runTasksAsCurrentUser": false
[taskcluster 2024-12-16T14:48:02.994Z]       },
[taskcluster 2024-12-16T14:48:02.994Z]       "engine": "multiuser",
[taskcluster 2024-12-16T14:48:02.994Z]       "go-arch": "amd64",
[taskcluster 2024-12-16T14:48:02.994Z]       "go-os": "linux",
[taskcluster 2024-12-16T14:48:02.994Z]       "go-version": "go1.23.2",
[taskcluster 2024-12-16T14:48:02.994Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v74.0.0",
[taskcluster 2024-12-16T14:48:02.994Z]       "revision": "fc2ffecedd4c0364ab0a98ae5cc895b94ee8a709",
[taskcluster 2024-12-16T14:48:02.994Z]       "source": "https://github.com/taskcluster/taskcluster/commits/fc2ffecedd4c0364ab0a98ae5cc895b94ee8a709",
[taskcluster 2024-12-16T14:48:02.994Z]       "version": "74.0.0"
[taskcluster 2024-12-16T14:48:02.994Z]     },
[taskcluster 2024-12-16T14:48:02.994Z]     "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-ddqyjsebv0cix9iqxo98",

...(42 lines hidden)...

[taskcluster:warn 2024-12-16T14:48:02.999Z]       - docker run -t --rm --memory-swap -1 --pids-limit -1 -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE
[taskcluster:warn 2024-12-16T14:48:02.999Z]         -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID
[taskcluster:warn 2024-12-16T14:48:02.999Z]         'python:3.12' sh -lxce 'apt-get -qq update && apt-get -qq install -y redis-server
[taskcluster:warn 2024-12-16T14:48:02.999Z]         && git clone --quiet https://github.com/mozilla/code-review /src && cd /src
[taskcluster:warn 2024-12-16T14:48:02.999Z]         && git checkout 44db81fc414c53d808bd39bd55fe5bfd97180564 -b checks && cd /src/tools
[taskcluster:warn 2024-12-16T14:48:02.999Z]         && pip install --disable-pip-version-check --no-cache-dir --quiet . && cd /src/events
[taskcluster:warn 2024-12-16T14:48:02.999Z]         && pip install --disable-pip-version-check --no-cache-dir --quiet . && pip install
[taskcluster:warn 2024-12-16T14:48:02.999Z]         --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt &&
[taskcluster:warn 2024-12-16T14:48:02.999Z]         export REDIS_URL='\''redis://localhost:6379/'\'' && redis-server --daemonize
[taskcluster:warn 2024-12-16T14:48:02.999Z]         yes && pytest -v'
[taskcluster:warn 2024-12-16T14:48:02.999Z]     features:
[taskcluster:warn 2024-12-16T14:48:02.999Z]       backingLog: true
[taskcluster:warn 2024-12-16T14:48:02.999Z]       liveLog: true
[taskcluster:warn 2024-12-16T14:48:02.999Z]     logs:
[taskcluster:warn 2024-12-16T14:48:02.999Z]       backing: public/logs/live_backing.log
[taskcluster:warn 2024-12-16T14:48:02.999Z]       live: public/logs/live.log
[taskcluster:warn 2024-12-16T14:48:02.999Z]     maxRunTime: 3600
[taskcluster:warn 2024-12-16T14:48:02.999Z]     onExitStatus:
[taskcluster:warn 2024-12-16T14:48:02.999Z]       retry:
[taskcluster:warn 2024-12-16T14:48:02.999Z]       - 125
[taskcluster:warn 2024-12-16T14:48:02.999Z]       - 128
[taskcluster:warn 2024-12-16T14:48:02.999Z]     osGroups:
[taskcluster:warn 2024-12-16T14:48:02.999Z]     - docker
[taskcluster:warn 2024-12-16T14:48:02.999Z]   priority: lowest
[taskcluster:warn 2024-12-16T14:48:02.999Z]   projectId: none
[taskcluster:warn 2024-12-16T14:48:02.999Z]   provisionerId: proj-relman
[taskcluster:warn 2024-12-16T14:48:02.999Z]   requires: all-completed
[taskcluster:warn 2024-12-16T14:48:02.999Z]   retries: 5
[taskcluster:warn 2024-12-16T14:48:02.999Z]   routes:
[taskcluster:warn 2024-12-16T14:48:02.999Z]   - checks
[taskcluster:warn 2024-12-16T14:48:02.999Z]   schedulerId: taskcluster-github
[taskcluster:warn 2024-12-16T14:48:02.999Z]   scopes:
[taskcluster:warn 2024-12-16T14:48:02.999Z]   - generic-worker:os-group:proj-relman/generic-worker-ubuntu-24-04/docker
[taskcluster:warn 2024-12-16T14:48:02.999Z]   tags: {}
[taskcluster:warn 2024-12-16T14:48:02.999Z]   taskGroupId: Ib-HKQyER3KkSCQNgEmugw
[taskcluster:warn 2024-12-16T14:48:02.999Z]   taskQueueId: proj-relman/generic-worker-ubuntu-24-04
[taskcluster:warn 2024-12-16T14:48:02.999Z]   workerType: generic-worker-ubuntu-24-04
[taskcluster:warn 2024-12-16T14:48:02.999Z] 
[taskcluster 2024-12-16T14:48:04.303Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east1-d.8830656628610925553.60099/log/F9mp4Ho3QCylEMVirNIk-g with mime type "text/plain; charset=utf-8" and expiry 2024-12-16T16:03:04.219Z
[taskcluster 2024-12-16T14:48:04.831Z] Executing command 0: bash -cx 'docker run -t --rm --memory-swap -1 --pids-limit -1 -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID '\''python:3.12'\'' sh -lxce '\''apt-get -qq update && apt-get -qq install -y redis-server && git clone --quiet https://github.com/mozilla/code-review /src && cd /src && git checkout 44db81fc414c53d808bd39bd55fe5bfd97180564 -b checks && cd /src/tools && pip install --disable-pip-version-check --no-cache-dir --quiet . && cd /src/events && pip install --disable-pip-version-check --no-cache-dir --quiet . && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && export REDIS_URL='\''\'\'\''redis://localhost:6379/'\''\'\'\'' && redis-server --daemonize yes && pytest -v'\'
+ docker run -t --rm --memory-swap -1 --pids-limit -1 -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID python:3.12 sh -lxce 'apt-get -qq update && apt-get -qq install -y redis-server && git clone --quiet https://github.com/mozilla/code-review /src && cd /src && git checkout 44db81fc414c53d808bd39bd55fe5bfd97180564 -b checks && cd /src/tools && pip install --disable-pip-version-check --no-cache-dir --quiet . && cd /src/events && pip install --disable-pip-version-check --no-cache-dir --quiet . && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && export REDIS_URL='\''redis://localhost:6379/'\'' && redis-server --daemonize yes && pytest -v'
Unable to find image 'python:3.12' locally
3.12: Pulling from library/python
fdf894e782a2: Pulling fs layer
5bd71677db44: Pulling fs layer
551df7f94f9c: Pulling fs layer
ce82e98d553d: Pulling fs layer
53dbba7cf7ca: Pulling fs layer
b167200c1204: Pulling fs layer
8871a2ca0dba: Pulling fs layer
ce82e98d553d: Waiting
53dbba7cf7ca: Waiting
b167200c1204: Waiting
8871a2ca0dba: Waiting
5bd71677db44: Verifying Checksum
5bd71677db44: Download complete
551df7f94f9c: Verifying Checksum
551df7f94f9c: Download complete
53dbba7cf7ca: Verifying Checksum
53dbba7cf7ca: Download complete
fdf894e782a2: Verifying Checksum
fdf894e782a2: Download complete
8871a2ca0dba: Verifying Checksum
8871a2ca0dba: Download complete
b167200c1204: Verifying Checksum
b167200c1204: Download complete
fdf894e782a2: Pull complete
ce82e98d553d: Verifying Checksum
ce82e98d553d: Download complete
5bd71677db44: Pull complete
551df7f94f9c: Pull complete
ce82e98d553d: Pull complete
53dbba7cf7ca: Pull complete
b167200c1204: Pull complete
8871a2ca0dba: Pull complete
Digest: sha256:752ce4a954589eb94d32849db7ede17ce120945cb71f6feabab3697550932ff9
Status: Downloaded newer image for python:3.12
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=# 
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/*.sh ]
+ unset i
+ [  ]
+ mesg n
+ true
+ apt-get -qq update
+ apt-get -qq install -y redis-server
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libjemalloc2:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23969 files and directories currently installed.)
Preparing to unpack .../libjemalloc2_5.3.0-1_amd64.deb ...
Unpacking libjemalloc2:amd64 (5.3.0-1) ...
Selecting previously unselected package liblzf1:amd64.
Preparing to unpack .../liblzf1_3.6-3_amd64.deb ...
Unpacking liblzf1:amd64 (3.6-3) ...
Selecting previously unselected package redis-tools.
Preparing to unpack .../redis-tools_5%3a7.0.15-1~deb12u1_amd64.deb ...
Unpacking redis-tools (5:7.0.15-1~deb12u1) ...
Selecting previously unselected package redis-server.
Preparing to unpack .../redis-server_5%3a7.0.15-1~deb12u1_amd64.deb ...
Unpacking redis-server (5:7.0.15-1~deb12u1) ...
Setting up libjemalloc2:amd64 (5.3.0-1) ...
Setting up liblzf1:amd64 (3.6-3) ...
Setting up redis-tools (5:7.0.15-1~deb12u1) ...
Setting up redis-server (5:7.0.15-1~deb12u1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for libc-bin (2.36-9+deb12u9) ...
+ git clone --quiet https://github.com/mozilla/code-review /src
+ cd /src
+ git checkout 44db81fc414c53d808bd39bd55fe5bfd97180564 -b checks
Switched to a new branch 'checks'
+ cd /src/tools
+ pip install --disable-pip-version-check --no-cache-dir --quiet .
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ cd /src/events
+ pip install --disable-pip-version-check --no-cache-dir --quiet .
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ export REDIS_URL=redis://localhost:6379/
+ redis-server --daemonize yes
+ pytest -v
/usr/local/lib/python3.12/site-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 -- /usr/local/bin/python3.12
cachedir: .pytest_cache
rootdir: /src
configfile: pyproject.toml
plugins: asyncio-0.25.0, aiohttp-1.0.5
asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None
collecting ... 
collected 19 items                                                             

tests/test_bugbug_utils.py::test_risk_analysis_should_trigger PASSED     [  5%]
tests/test_bugbug_utils.py::test_risk_analysis_shouldnt_trigger PASSED   [ 10%]
tests/test_bugbug_utils.py::test_should_run_test_selection PASSED        [ 15%]
tests/test_bugbug_utils.py::test_start_test_selection PASSED             [ 21%]
tests/test_bugbug_utils.py::test_process_push PASSED                     [ 26%]
tests/test_bugbug_utils.py::test_got_bugbug_test_select_end PASSED       [ 31%]
tests/test_bugbug_utils.py::test_got_try_task_end PASSED                 [ 36%]
tests/test_dockerflow.py::test_get_version_error SKIPPED (async def ...) [ 42%]
tests/test_dockerflow.py::test_get_version SKIPPED (async def functi...) [ 47%]
tests/test_dockerflow.py::test_get_heartbeat SKIPPED (async def func...) [ 52%]
tests/test_dockerflow.py::test_get_lbheartbeat SKIPPED (async def fu...) [ 57%]
tests/test_workflow.py::test_blacklist PASSED                            [ 63%]
tests/test_workflow.py::test_publish_results_success_mode PASSED         [ 68%]
tests/test_workflow.py::test_publish_results_success_mode_missing_base_rev PASSED [ 73%]
tests/test_workflow.py::test_publish_results_test_result_mode PASSED     [ 78%]
tests/test_workflow.py::test_repositories PASSED                         [ 84%]
tests/test_workflow.py::test_publish_results_lando_success PASSED        [ 89%]
tests/test_workflow.py::test_publish_results_fail PASSED                 [ 94%]
tests/test_workflow.py::test_publish_results_lando_general_fail PASSED   [100%]

=============================== warnings summary ===============================
events/tests/test_bugbug_utils.py::test_got_bugbug_test_select_end
  /usr/local/lib/python3.12/site-packages/jsone/shared.py:97: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
    reference = datetime.datetime.utcnow()

events/tests/test_dockerflow.py::test_get_version_error
events/tests/test_dockerflow.py::test_get_version
events/tests/test_dockerflow.py::test_get_heartbeat
events/tests/test_dockerflow.py::test_get_lbheartbeat
  /usr/local/lib/python3.12/site-packages/_pytest/python.py:148: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped.
  You need to install a suitable plugin for your async framework, for example:
    - anyio
    - pytest-asyncio
    - pytest-tornasync
    - pytest-trio
    - pytest-twisted
    warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid)))

events/tests/test_workflow.py::test_publish_results_lando_success
events/tests/test_workflow.py::test_publish_results_fail
events/tests/test_workflow.py::test_publish_results_lando_general_fail
  /usr/local/lib/python3.12/site-packages/libmozdata/phabricator.py:187: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
    logger.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================== 15 passed, 4 skipped, 8 warnings in 3.11s ===================
2024-12-16 14:49:08 [info     ] Removed ssh key
2024-12-16 14:49:08 [info     ] Removed ssh key
[taskcluster 2024-12-16T14:49:09.986Z]    Exit Code: 0
[taskcluster 2024-12-16T14:49:09.986Z]    User Time: 39.71ms
[taskcluster 2024-12-16T14:49:09.986Z]  Kernel Time: 49.295ms
[taskcluster 2024-12-16T14:49:09.986Z]    Wall Time: 1m5.154083726s
[taskcluster 2024-12-16T14:49:09.986Z]       Result: SUCCEEDED
[taskcluster 2024-12-16T14:49:09.986Z] === Task Finished ===
[taskcluster 2024-12-16T14:49:09.986Z] Task Duration: 1m5.154584611s
[taskcluster 2024-12-16T14:49:10.148Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-12-16T15:45:49.877Z