Running '. ./init-build-env; ${SCRIPTSDIR}/run-patchtest-selftest /srv/pokybuild/yocto-worker/patchtest-selftest/build/build/..' with output to /srv/pokybuild/yocto-worker/patchtest-selftest/build/build/command-1-cmds.log in /srv/pokybuild/yocto-worker/patchtest-selftest/build/build
Poky - The Yocto Project testing distribution
++ realpath /srv/pokybuild/yocto-worker/patchtest-selftest/build/build/..
+ oecoredir=/srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core/
+ python3 -m venv venv --without-pip --system-site-packages
+ source venv/bin/activate
++ deactivate nondestructive
++ '[' -n '' ']'
++ '[' -n '' ']'
++ '[' -n /bin/bash -o -n '' ']'
++ hash -r
++ '[' -n '' ']'
++ unset VIRTUAL_ENV
++ unset VIRTUAL_ENV_PROMPT
++ '[' '!' nondestructive = nondestructive ']'
++ VIRTUAL_ENV=/srv/pokybuild/yocto-worker/patchtest-selftest/build/build/venv
++ export VIRTUAL_ENV
++ _OLD_VIRTUAL_PATH=/srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core/scripts:/srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/bitbake/bin:/srv/pokybuild/buildbot-venv/bin:/srv/pokybuild/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin
++ PATH=/srv/pokybuild/yocto-worker/patchtest-selftest/build/build/venv/bin:/srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core/scripts:/srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/bitbake/bin:/srv/pokybuild/buildbot-venv/bin:/srv/pokybuild/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin
++ export PATH
++ '[' -n '' ']'
++ '[' -z '' ']'
++ _OLD_VIRTUAL_PS1=
++ PS1='(venv) '
++ export PS1
++ VIRTUAL_ENV_PROMPT='(venv) '
++ export VIRTUAL_ENV_PROMPT
++ '[' -n /bin/bash -o -n '' ']'
++ hash -r
+ python3 -m pip install -r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt
Collecting boto3
  Downloading boto3-1.42.6-py3-none-any.whl (140 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 kB 7.5 MB/s eta 0:00:00
Collecting git-pw>=2.5.0
  Using cached git_pw-2.7.1-py3-none-any.whl (22 kB)
Requirement already satisfied: GitPython in /usr/lib/python3/dist-packages (from -r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 3)) (3.1.30)
Requirement already satisfied: jinja2 in /usr/lib/python3/dist-packages (from -r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 4)) (3.1.2)
Requirement already satisfied: pylint in /usr/lib/python3/dist-packages (from -r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 5)) (2.16.2)
Requirement already satisfied: pyparsing>=3.0.9 in /usr/lib/python3/dist-packages (from -r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 6)) (3.0.9)
Collecting unidiff
  Using cached unidiff-0.7.5-py2.py3-none-any.whl (14 kB)
Collecting botocore<1.43.0,>=1.42.6
  Downloading botocore-1.42.6-py3-none-any.whl (14.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.5/14.5 MB 94.2 MB/s eta 0:00:00
Collecting jmespath<2.0.0,>=0.7.1
  Using cached jmespath-1.0.1-py3-none-any.whl (20 kB)
Collecting s3transfer<0.17.0,>=0.16.0
  Downloading s3transfer-0.16.0-py3-none-any.whl (86 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.8/86.8 kB 63.3 MB/s eta 0:00:00
Requirement already satisfied: click>=6.0 in /usr/lib/python3/dist-packages (from git-pw>=2.5.0->-r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 2)) (8.1.3)
Requirement already satisfied: requests>=2.0 in /usr/lib/python3/dist-packages (from git-pw>=2.5.0->-r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 2)) (2.28.1)
Collecting tabulate>=0.8
  Using cached tabulate-0.9.0-py3-none-any.whl (35 kB)
Collecting arrow>=0.10
  Using cached arrow-1.4.0-py3-none-any.whl (68 kB)
Collecting PyYAML>=5.1
  Using cached pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (806 kB)
Requirement already satisfied: gitdb<5,>=4.0.1 in /usr/lib/python3/dist-packages (from GitPython->-r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 3)) (4.0.9)
Requirement already satisfied: astroid<=2.16.0-dev0,>=2.14.2 in /usr/lib/python3/dist-packages (from pylint->-r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 5)) (2.14.2)
Requirement already satisfied: isort<6,>=4.2.5 in /usr/lib/python3/dist-packages (from pylint->-r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 5)) (5.6.4)
Requirement already satisfied: mccabe<0.8,>=0.6 in /usr/lib/python3/dist-packages (from pylint->-r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 5)) (0.7.0)
Requirement already satisfied: platformdirs>=2.2.0 in /usr/lib/python3/dist-packages (from pylint->-r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 5)) (2.6.0)
Requirement already satisfied: tomlkit>=0.10.1 in /usr/lib/python3/dist-packages (from pylint->-r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 5)) (0.11.7)
Requirement already satisfied: dill>=0.3.6 in /usr/lib/python3/dist-packages (from pylint->-r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 5)) (0.3.6)
Collecting python-dateutil>=2.7.0
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Collecting tzdata
  Using cached tzdata-2025.2-py2.py3-none-any.whl (347 kB)
Requirement already satisfied: lazy-object-proxy>=1.4.0 in /usr/lib/python3/dist-packages (from astroid<=2.16.0-dev0,>=2.14.2->pylint->-r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 5)) (1.9.0)
Requirement already satisfied: wrapt<2,>=1.14 in /usr/lib/python3/dist-packages (from astroid<=2.16.0-dev0,>=2.14.2->pylint->-r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 5)) (1.14.1)
Requirement already satisfied: urllib3!=2.2.0,<3,>=1.25.4 in /usr/lib/python3/dist-packages (from botocore<1.43.0,>=1.42.6->boto3->-r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 1)) (1.26.12)
Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.7.0->arrow>=0.10->git-pw>=2.5.0->-r /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/requirements.txt (line 2)) (1.16.0)
Installing collected packages: unidiff, tzdata, tabulate, PyYAML, python-dateutil, jmespath, botocore, arrow, s3transfer, git-pw, boto3
Successfully installed PyYAML-6.0.3 arrow-1.4.0 boto3-1.42.6 botocore-1.42.6 git-pw-2.7.1 jmespath-1.0.1 python-dateutil-2.9.0.post0 s3transfer-0.16.0 tabulate-0.9.0 tzdata-2025.2 unidiff-0.7.5
+ /srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/selftest/selftest
Not a Git repository
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/selftest/selftest", line 198, in <module>
    counts = run_tests(patches, counts)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/pokybuild/yocto-worker/patchtest-selftest/build/layers/openembedded-core//meta/lib/patchtest/selftest/selftest", line 173, in run_tests
    assert git_state['branch'] != temp_branch, f"Cannot run patchtest selftest while on branch '{temp_branch}'"
           ~~~~~~~~~^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable

Error details

Submitted on:
10/12/25 08:39
Error type:
Core
Command:
.
Machine:
qemux86-64
Distro:
poky
Build system:
unknown
Target system:
unknown
Host distro:
unknown
Branch:
mathieu/master-next
Commit:
unknown
Build:
#222102
Submitter:
yp-ab-debian12-vk-1
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/71/builds/2830
Similar errors:
0
Open a bug